ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject RE: Flattening files in <jar> task
Date Mon, 24 Feb 2003 16:10:51 GMT
I apologize for having given bad advice, but as far as
something obvious goes, what about copying the files
to a new directory using a "flatten" FileMapper and
invoking <jar> against that?

-Matt

--- Alexei Betin <ABetin@futuretrade.com> wrote:
> 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
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

Mime
View raw message