ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Jar ...
Date Thu, 18 Dec 2003 08:04:52 GMT
<jar ... basedir="sellers" includes="Tom/**/" />


Jan

> -----Original Message-----
> From: Martín Mauri [mailto:mmauri@profesi.com.ar]
> Sent: Wednesday, December 17, 2003 8:46 PM
> To: user@ant.apache.org
> Subject: Jar ...
> 
> 
> 
> Hi users!
> 
> I'd like to generate a set of jars files and it turns out to 
> be that the
> build.xml file has the folowing as a sample:
> 
> <jar jarfile="${dist}/lib/MyProject-${DSTAMP}.jar" 
> basedir="${build}"/>
> 
> now suppose I have the following dir: "sellers" and the 
> following sellers:
> Tom, Paul and John, now the structure would be like:
> 
> sellers
>    |
>    ---- Tom
>    ---- Paul
>    ---- John
> 
> but the problem is that I want to generate a jar file for 
> each seller with
> the classes that are inside each directory ie: a Tom.jar for 
> Tom's classes,
> a Paul.jar for Paul's and so on...That can't be possible with 
> the jar tag as
> if I put something like
> 
> <jar jarfile="${dist}/lib/Tom.jar" basedir="${build}/Tom"/>
> 
> it will include all Tom's files but won't respect the path 
> for the classes,
> instead of including sellers/Tom/class1.class it will add 
> class1.class...is
> there any property for the jar tag that can do that?
> 
> thanks,
> 
> Martin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message