Jump to: navigation, search

Modeling Project Releng/Building/Using Ant-Contrib

< Modeling Project Releng‎ | Building
Revision as of 16:24, 18 December 2008 by Nickboldt+bugzilla.gmail.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>
...