Jump to: navigation, search

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

(New page: To add ant-contrib to your buildAll.xml, use this: ... <!-- load up this build's build.cfg file --> <property file="${buildConfigFile}" /> <taskdef resource="net/sf/antcontrib/antli...)
 
Line 15: Line 15:
 
  </taskdef>
 
  </taskdef>
 
  ...
 
  ...
 +
 +
[[Category:Releng]] [[Category:Modeling]]

Revision as of 16:20, 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>
...