ant-user mailing list archives

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

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

not enough caffeine!


---------- Original Message ----------------------------------
From: Peter Davison <>
Date: Wed, 07 Mar 2001 08:41:44 -0500

><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
>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}"
><br><tt>     </copy></tt>
><p>Note the "{}" curly braces instead of the "()" parentheses.
><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>   <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><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. 

View raw message