ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Com Pegasus-CC-Hotline" <>
Subject AW: jar and isempty
Date Tue, 20 Dec 2005 10:48:36 GMT

probably you can set a property with the 

<available classpath=your_jarfile_ONLY 
           classname=one_of_the_classes_that should_be inside>


-----Urspr√ľngliche Nachricht-----
Von: Kamal Bhatt [] 
Gesendet: Dienstag, 20. Dezember 2005 02:23
An: Ant Users List
Betreff: jar and isempty

I am creating a jar file and I would like the script to fail if the jar 
file is not going to be composed of any significant files (I do not view 
the manifest files as significant in this case)

I used whenempty="fail" and instead of failure I get a stupid message 
telling me that a jar file is never empty (because of the manifest 
file). Is there a way of making it work the way I expect it to work (ie 
failing when there are no files in the file set) instead of this rather 
unhelpful way?



To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message