Hi there,
Quick/stupid question:
Is property expansion supposed to work on all attributes yet? I'm
asking because it does not seem to work for me! The following will
simply create a directory called ${build.dir} in my current directory...
What I wanted is Build20020423.
------------------------------8<-----------------------------------
<?xml version="1.0"?>
<project name="WBA" default="all" basedir=".">
<sysinfo/>
<tstamp/>
<property name="build.dir" value="Build${tstamp.date}"/>
<target name="clean">
<echo message="TODO: clean up" />
</target>
<target name="all" depends="gamecode">
<echo message="Building to ${build.dir}"/>
<mkdir dir="$(build.dir}"/>
<mkdir dir="$(build.dir}\bin"/>
<mkdir dir="$(build.dir}\Game"/>
<copy todir="$(build.dir}\bin">
<fileset basedir="${sys.env.XOM2}/bin">
<includes name="Wba.exe"/>
<includes name="Physics.dll"/>
<includes name="X*.dll"/>
<excludes name="X*CLR*.dll"/>
<excludes name="X*_d.dll"/>
<excludes name="X*_rd.dll"/>
</fileset>
</copy>
</target>
<target name="gamecode">
</target>
</project>
------------------------------8<-----------------------------------
--
Stefan Boberg - R&D Manager, Team17 Software Ltd.
[EMAIL PROTECTED]
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers