ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msew <m...@ev1.net>
Subject fileset
Date Wed, 07 Mar 2001 11:23:53 GMT
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




Mime
View raw message