Failed on the same problem today. For those targets that we want to exclude in the default build, having a "exclude.xxx=true" in build.properties requires to modify this CVS-managed file to allow building "xxx", which obviously isn't good.


So I tried to go the other way and change to "include.xxx" properties along with <target name="xxx" if="include.xxx"> : this works just fine if I put "include.xxx=" in local.build.properties without changing build.properties.

fixed it for me introducing:
<property file="blocks.properties"/>
<condition property="unless.exclude.XXX">
 <istrue value="${exclude.XXX}"/>
</condition>

and using
<target ... unless="${unless.exclude.XXX}">

this way you can set exclude.XXX in your local.build.properties to true, or false as you like it.





Reply via email to