Date: 2005-03-03T00:12:25 Editor: NicoEngelen Wiki: Ant Wiki Page: AntNewbies URL: http://wiki.apache.org/ant/AntNewbies
no comment Change Log: ------------------------------------------------------------------------------ @@ -167,7 +167,18 @@ BUILD SUCCESSFUL Total time: 1 second }}} +'''Answer#3''' +Just change your target definition from +{{{ + <target name="if_target" if="${p}"> +}}} +to +{{{ + <target name="if_target" if="p"> +}}} + +With your definition you referenced the value of p, not p itself. The if-statement just looks, if the given property exists anyway, not if the value is true. ---- ```Question#4``` How do i pass src and destfile to bzip2 from the command line? This is what i tried: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]