Difference between revisions of "Modeling Project Releng/Building/Using Ant-Contrib"

From Eclipsepedia

Jump to: navigation, search
 

Latest revision as of 17:24, 18 December 2008

To add ant-contrib to your buildAll.xml, use this:

...
<property file="${buildConfigFile}" />

<taskdef resource="net/sf/antcontrib/antlib.xml">
  <classpath>
    <pathelement path="${classpath}" />
    <pathelement location="${thirdPartyJarsDir}/ant-contrib.jar" />
    <fileset dir="/usr/share/java">
      <include name="**/ant-contrib*.jar" />
    </fileset>
  </classpath>
</taskdef>
...