Use curly brackets instead of parenthesis.  That should solve the problem.

-----Original Message-----
From: msew [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 6:24 AM
To: [EMAIL PROTECTED]
Subject: fileset


so in fileset you can do:


     <copy todir="${deploy.home)/classes">
       <fileset dir="build" />
     </copy>


but you can not seemingly do:

     <copy todir="${deploy.home)/classes">
       <fileset dir="$(build.home)" />
     </copy>


where:

   <property name="deploy.home" value="../foo/bar/baz" />
   <property name="build.home" value="../../foo/bar/baz" />



instead of getting the value of the property you get:

BUILD FAILED

<path>(build.home) not found



this is a bug right?


if the fileset can't take a variable as the value to the dir 
attribute  then you are hard coding locations in your buildfile.  BAD BAD
BAD



msew


Reply via email to