ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Cohen" <>
Subject RE: jar task question
Date Thu, 20 Dec 2001 20:09:38 GMT
Yes, that worked.  Thanks.

Still, it's probably more confusing than it should be.  I would think
the <fileset> syntax should do the same thing as the <include> syntax
but it doesn't.  And then there is also the option of specifying
includes and excludes as attributes.  This could all be less confusingly

As far as "correct pathing", I meant that within the jar, the class
com.whatever.somepackage.AClass would be given a path of
com/whatever/somepackage/Aclass.class.  When I omitted the basedir
attribute this did not happen - I got Aclass.class in the root (which
does make sense).		

-----Original Message-----
From: Diane Holt []
Sent: Thursday, December 20, 2001 1:42 PM
To: Ant Users List
Subject: Re: jar task question


  <jar jarfile="${dist.dir}/lib/${}-lite.jar"
    <include name="com/whatever/somepackage/**/*.*"/>
    <include name="com/whatever/anotherpackage/**/*.*"/>

do what you need?  (I'm not sure what correct "pathing" you want.)



Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at
or bid at

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

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

View raw message