Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
How to change a property value

How to change a property value

2003-03-26       - By D Bamud
Reply:     1     2  

I have set   <property name="JAVAC_G" value="on"/>
and I am using it like <javac srcdir="xxx" destdir="yyy" debug="${JAVAC_G}">

I have made two targets one for development and one for release. What I want
is to make the "JAVAC_G"="off" and then call the target for the development
build. This way I need not to write the build logic separately. How to do this.

Please provide some code snippets. Thanks.


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.