Ant 1.7
<copy todir="tmp">
    <path refid=""/>
    <flattenmapper/>
</copy>
<ear basedir="tmp"/>


Jan 

>-----Ursprüngliche Nachricht-----
>Von: Eric Wood [mailto:[EMAIL PROTECTED] 
>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:[EMAIL PROTECTED] 
>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 <[EMAIL PROTECTED]>:
>
>> 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: [EMAIL PROTECTED] For additional
>commands, e-mail: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to