ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lopez, William" <william.lo...@eds.com>
Subject Property and if question
Date Thu, 17 Apr 2003 21:27:02 GMT
Sorry if this is basic but I can not get the if to work. My cmd line looks
like this:
ant -verbose -Denvnt="Integration" -Dcopy_int="INT" -Dst_time="9 am CT" >>
backup_Test_debug.log 2>&1
Also tried:
ant -verbose -Denvnt="Integration" -Dcopy_int="true" -Dst_time="9 am CT" >>
backup_Test_debug.log 2>&1

...the target defined:
<target name="copyINT" if="env.copy_int">
 ...
</target>

...but the target I intended to run never does:

copyINT:
Skipped because property 'env.copy_int' not set.  <-- intended target

copySYS:
Skipped because property 'env.copy_sys' not set.

copyUAT:
Skipped because property 'env.copy_uat' not set.

Thanks,
-Will

Mime
View raw message