Saturday 30 June 2012

how to use if,equals in ANT Script




If you want to use Ant tags like <if>,<equals> then you should do the following:
  1. Add ancontrib.jar in ANT_HOME/Lib/
  2. <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="project.classpath" /> to init Target.
  3. For high features-use -
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>

No comments:

Post a Comment

Please comment here