ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
Subject Re: Flattening files in <jar> task
Date Sat, 22 Feb 2003 13:07:01 GMT
Alexei,
I think that you are right, the jar task does not support mappers from the
build file.
You can put this idea forward as an enhancement request for ant under
http://nagoya.apache.org/bugzilla
The next issue will be where will we want to have the mapper element (one
mapper per zip or jar task invocation or one mapper per fileset).
Antoine

----- Original Message -----
From: "Alexei Betin" <ABetin@futuretrade.com>
To: "Ant Users List" <user@ant.apache.org>
Sent: Saturday, February 22, 2003 12:37 AM
Subject: RE: Flattening files in <jar> task


fileset itself does not seem to support
nested <mapper> either

(that actually is not surprising since the FileSet class
is not the one that trasforms "sources" into "targets",
but I would have thought that any "transforming" task should)

~Alexei



> -----Original Message-----
> From: Alexey Solofnenko [mailto:A.Solofnenko@mdl.com]
> Sent: Friday, February 21, 2003 3:25 PM
> To: 'Ant Users List'
> Subject: RE: Flattening files in <jar> task
>
>
> 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
>
> ---------------------------------------------------------------------
> 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