ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Solofnenko <A.Solofne...@mdl.com>
Subject RE: Flattening files in <jar> task
Date Fri, 21 Feb 2003 23:24:45 GMT
Maybe filemapper should be part of fileset itself?

- Alexey.

-----Original Message-----
From: Alexei Betin [mailto:ABetin@futuretrade.com] 
Sent: Friday, February 21, 2003 3:23 PM
To: Ant Users List
Subject: RE: Flattening files in <jar> task

that's what I thought, too - but found that <jar>
task does not support filemapper element,

am I missing something obvious?

Thanks,
~Alexei

> -----Original Message-----
> From: Matt Benson [mailto:gudnabrsam@yahoo.com]
> Sent: Friday, February 21, 2003 2:33 PM
> To: Ant Users List
> Subject: Re: Flattening files in <jar> task
> 
> 
> I believe it can be done using a filemapper of type
> "flatten".
> 
> -Matt
> 
> --- Alexei Betin <ABetin@futuretrade.com> wrote:
> > is there a nice way to "flatten" all files in a
> > fileset
> > composed of several directories when "jaring" it?
> > 
> > that is to do it without the extra step of using
> > <copy>
> > with flatten="true" to create a temporary flat
> > folder
> > and then jar'ing files from that folder
> > (which, since the temp folder gets recreated every
> > time, 
> > kills the uptodate check and the jar gets updated
> > every time
> > even if the files did not change - that is really my
> > problem)
> > 
> > I looked at <mapper> element, but <jar> task does
> > not seem
> > to support it.
> > 
> > Thanks,
> > ~Alexei 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > user-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> > user-help@ant.apache.org
> > 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

Mime
View raw message