<copy todir="${deploy.home}/classes">
<fileset dir="build" />
</copy>
and ...
<copy todir="${deploy.home}/classes">
<fileset dir="${build.home}"
/>
</copy>
Note the "{}" curly braces instead of the "()" parentheses.
P.
msew wrote:
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 BADmsew
