+1, I'vr got similar problem and adding location will
greatly help me

-
Henri Gomez                 ___[_]____
EMAIL : [EMAIL PROTECTED]        (. .)                     
PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 



>-----Original Message-----
>From: Ernst de Haan [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, June 11, 2002 1:23 PM
>To: [EMAIL PROTECTED]
>Subject: <fileset location="xxxx.jar" />
>
>
>I noticed that the <fileset /> task does not support the 
>location attribute. 
>Would it be a good idea if it would support this as well? This 
>is the problem 
>I'm facing:
>
>   <property name="mylib.jar"  location="${mylib.home}/mylib.jar" />
>   <path id="classpath">
>      <pathelement location="${mylib.jar}" />
>   </path>
>
>   <war webxml="src/webapp/web.xml" 
>warfile="build/${ant.project.name}.war">
>      <fileset dir="src/htdocs" />
>      <lib location="${mylib.jar}" />
>      <classes dir="build/classes" />
>   </war>
>
>I want the mylib.jar to be included in the <war /> task, but I 
>don't want to 
>do something like:
>
>   <lib dir="${mylib.home}" includes="mylib.jar" />
>
>because I already have the location in ${mylib.jar}...
>
>Any ideas or comments? Is a 'location' attribute for a fileset 
>a good idea?
>
>
>Ernst
>
>-- 
>Ernst de Haan
>EuroNet Internet B.V.
>
>    "Come to me all who are weary and burdened
>        and I will give you rest" -- Jesus Christ
>
>--
>To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


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

Reply via email to