> From: George Dibi [mailto:[EMAIL PROTECTED]
>
> Where the ${BUILDVIEW} ${IVC_VER} ${IVC_BLD} would past in from
command
> line.
>
> <target name="ivcommon_isoft">
> <echo>
> Building ivcommon...
> ${perl.bin.dir} ${ivc.perl.target} ${drive} ${BUILDVIEW}
> </echo>
> <exec executable="${ant.common.dir}/createProcess.exe">
> <arg line="${basedir} ${perl.bin.dir}
${ivc.perl.target}
> ${drive} ${BUILDVIEW} ${IVC_VER} ${IVC_BLD}"/>
> </exec>
> </target>
You can call your build with the properties on the command line:
ant -DBUILDVIEW=foo -DIVC_VER=bar -DIVC_BLD=baz ivcommon_isoft
If it's too cumbersome, you could also do:
ant ivcommon_isoft -- foo bar baz
if you had Ant code like below:
<exec executable="${ant.common.dir}/createProcess.exe">
<arg line="${basedir} ${perl.bin.dir} ${ivc.perl.target} ${drive}"
/>
<arg line="${$*}" />
</exec>
*and* my patch below ;-) You can vote for the patch too ;-))) --DD
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=30651
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]