ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "msew" <m...@mail.ev1.net>
Subject Re: fileset
Date Wed, 07 Mar 2001 19:22:54 GMT
LOL

man I think I need to change my font.  I could have sworn they were the correct {}  


not enough caffeine!


msew--

---------- Original Message ----------------------------------
From: Peter Davison <pdavison@channelwave.com>
Reply-To: ant-user@jakarta.apache.org
Date: Wed, 07 Mar 2001 08:41:44 -0500

><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
><html>
>Try this instead:
><p><tt>     <copy todir="${deploy.home}/classes"></tt>
><br><tt>       <fileset dir="build" /></tt>
><br><tt>     </copy></tt><tt></tt>
><p>and ...
><p><tt>     <copy todir="${deploy.home}/classes"></tt>
><br><tt>       <fileset dir="${build.home}"
>/></tt>
><br><tt>     </copy></tt>
><br><tt></tt> 
><p>Note the "{}" curly braces instead of the "()" parentheses.
><p>P.
><p>msew wrote:
><blockquote TYPE=CITE>so in fileset you can do:
><p>     <copy todir="${deploy.home)/classes">
><br>       <fileset dir="build" />
><br>     </copy>
><p>but you can not seemingly do:
><p>     <copy todir="${deploy.home)/classes">
><br>       <fileset dir="$(build.home)"
>/>
><br>     </copy>
><p>where:
><p>   <property name="deploy.home" value="../foo/bar/baz"
>/>
><br>   <property name="build.home" value="../../foo/bar/baz"
>/>
><p>instead of getting the value of the property you get:
><p>BUILD FAILED
><p><path>(build.home) not found
><p>this is a bug right?
><p>if the fileset can't take a variable as the value to the dir
><br>attribute  then you are hard coding locations in your buildfile. 
>BAD BAD BAD
><p>msew</blockquote>
></html>
>
>

Mime
View raw message