ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Trying to convert a path reference to use as a fileset for packaging jars in an ear
Date Thu, 25 Jan 2007 08:04:55 GMT
Ant 1.7
<copy todir="tmp">
    <path refid=""/>
    <flattenmapper/>
</copy>
<ear basedir="tmp"/>


Jan 

>-----Urspr√ľngliche Nachricht-----
>Von: Eric Wood [mailto:EWood@llbean.com] 
>Gesendet: Mittwoch, 24. Januar 2007 22:26
>An: Ant Users List
>Betreff: RE: Trying to convert a path reference to use as a 
>fileset for packaging jars in an ear
>
>Thanks, I'll go the ant-contrib route first.
>
>Eric 
>
>-----Original Message-----
>From: Jacob Kjome [mailto:hoju@visi.com] 
>Sent: Wednesday, January 24, 2007 3:53 PM
>To: Ant Users List
>Subject: Re: Trying to convert a path reference to use as a fileset for
>packaging jars in an ear
>
>
>I think Ant-1.7 supports copying paths.  Otherwise, you can use
>Ant-Contrib's <ac:pathtofileset/>
>
>Jake
>
>Quoting Eric Wood <EWood@llbean.com>:
>
>> Folks:
>>
>> I use
>> <path id="projectSpecificLibs" >
>> ...
>> </path>
>> which is composed of various filelists and filesets referencing jars 
>> used to build my application. I use this refid (projectSpecificLibs) 
>> as part of my classpath.
>>
>> I want to be able to use this same list when packaging my EAR file 
>> using the <ear> task, but it does not accept a path 
>structure and when
>
>> I reference the refid as a fileset it tells me that it is not a
>fileset.
>> Is there a way to convert my path id so I can then use it to package 
>> the jar files in my EAR?
>>
>> Eric
>>
>
>
>
>
>---------------------------------------------------------------------
>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