I'm trying to pass the CCNetLabel property as an argument in an Exec task, but what's actually being passed is $(CCNetLabel}.
The relevant bits look like: <target name="build" description="Build the source (run VBuilder)"> <ifnot propertyexists="CCNetLabel"> <fail message="CCNetLabel property not set, so can't create labelled distribution files" /> </ifnot> <property name="build.number" value="${CCNetLabel}" /> <echo>Build number is ${build.number}</echo> <exec program="visbuild.exe" basedir="C:\Program Files\VisBuild\"> <arg value="/a" /> <arg value="/b" /> <arg value="BUILD_NUM=${build.number}" /> <arg> <path> <pathelement file="E:\projects\Main\muproject\Win\CM\AutomatedBuildProcess\myfile.bld" /> </path> </arg> </exec> </target> Echo correctly reports the build label ("1"), but what VBuild reads is "$(CCNetLabel}" (note the open is paren and close is bracket). The original code had the CCNetLabel being passed directly (no re-assignment) with the same result... What am I missing here? This is with Nant Build 0.85.1932.0; rc3; 4/16/2005 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users