Is it possible to have a depends clause in a target that uses a property? In other words,
<target name="A"/> <target name="B"/> <property name="target" value="B"/> <target name="C" depends="${target}"/> Whenever I do this, any attempt to build results in an error saying the property ${target} had not been set. However, it's set to a default in the top level of the build file (other targets change it). The reason I want to do this is because I want a release and debug target to both depend on the same build target, but modify the build parameters slightly. The build target can't execute unless one of those has been run, and other targets depend on the build target. Right now I'm just putting a <call> at the beginning of the build target, but this is sort of a dirty hack, and messes with the order of output when nant runs. -- Stephen Touset <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part