This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
<param name="textColor" value="blue">
</object>
<h3>Using Ant with the IDE</h3>
<p>The IDE's project system is built directly on top of Ant version 1.8.0. All
<p>The IDE's project system is built directly on top of Ant version 1.8.1. All
of the project commands, like Build Project or Run File in Debugger, call
targets in the project's Ant script. You can therefore build and run your
project outside the IDE exactly as it is built and run inside the IDE.
<body>
<h2>Switching Ant Versions</h2>
<p> <small><a href="#seealso">See Also</a></small>
<p>The IDE comes bundled with Ant version 1.8.0 and uses this installation to
<p>The IDE comes bundled with Ant version 1.8.1 and uses this installation to
run Ant scripts. You can change the version of Ant that the IDE uses by switching
the Ant installation directory in Ant Settings. You can only switch between
versions 1.5.3 and higher of Ant.</p>
F9560E8F1187FD4471716E16B09B555506C9B361 Ant-1.8.0-binary-patch-72080.jar
39758F3E43AAA9C0D1A95EACAE44DEFF678F462A Ant-1.8.1-binary-patch-72080.jar
0027BC49CBF5E88B68CCD58BD1EEB2EA7188D069 junit-3.8.2-api.zip
07E4CDE26B53A9A0E3FE5B00D1DBBC7CC1D46060 junit-3.8.2.jar
8ED9640AE7E6C72E57D23DCF204637FA563C18B3 junit-4.5-api.zip
release.external/junit-3.8.2-api.zip=docs/junit-3.8.2-api.zip
release.external/junit-4.5-api.zip=docs/junit-4.5-api.zip
release.external/junit-4.5-src.jar=docs/junit-4.5-src.jar
release.external/Ant-1.8.0-binary-patch-72080.jar=ant/patches/72080.jar
release.external/Ant-1.8.1-binary-patch-72080.jar=ant/patches/72080.jar
# XXX AntBridge.createMainClassPath probably would not find this anyway:
jnlp.verify.excludes=ant/patches/72080.jar
id += "." + anchor;
}
String title = linktext != null ? linktext : "Ant 1.8.0 Manual";
String title = linktext != null ? linktext : "Ant 1.8.1 Manual";
String log = "";
for (int i = 0; i < depth; i++) {
log += "\t";
Name: Apache Ant
Version: 1.8.0
Version: 1.8.1
Files: ant-docs-1.8.0.zip
Files: ant-docs-1.8.1.zip
Description: Ant build tool.
License: Apache-2.0
Origin: http://www.apache.org/dist/ant/binaries/apache-ant-1.8.0-bin.tar.bz2
Origin: http://www.apache.org/dist/ant/binaries/apache-ant-1.8.1-bin.tar.bz2
Apache License
Version 2.0, January 2004
3EB5B5AC3ED2625F6FF4C32A6C5B06EAB31BB5CA ant-docs-1.8.0.zip
A81D38819CADDDA773EDF5D6FAA120AB964B38B6 ant-docs-1.8.1.zip
Manifest-Version: 1.0
OpenIDE-Module: org.apache.tools.ant.module.docs
OpenIDE-Module-Localizing-Bundle: org/apache/tools/ant/module/docs/Bundle.properties
OpenIDE-Module-Specification-Version: 2.24
OpenIDE-Module-Specification-Version: 2.25
OpenIDE-Module-Layer: org/apache/tools/ant/module/docs/layer.xml
OpenIDE-Module-Requires: org.netbeans.api.javahelp.Help
javahelp.base=org/apache/tools/ant/module/docs
javahelp.hs=HelpSet.hs
ant.cp=${ant.core.lib}:../javahelp/external/jh-2.0_05.jar
extra.license.files=external/ant-1.8.0-license.txt
extra.license.files=external/ant-1.8.1-license.txt
# Version 2 license, then the option applies only if the new code is
# made subject to such option by the copyright holder.
OpenIDE-Module-Name=Ant 1.8.0 Documentation
OpenIDE-Module-Name=Ant 1.8.1 Documentation
OpenIDE-Module-Display-Category=Java
OpenIDE-Module-Short-Description=Documentation for the Ant build tool.
OpenIDE-Module-Long-Description=\
<li>
<api group="java" name="Ant" type="import" category="third" url="http://ant.apache.org/">
Ant itself, of course.
1.5.3+ is required, 1.8.0 recommended (and currently bundled); some features may be limited to newer versions.
1.5.3+ is required, 1.8.1 recommended (and currently bundled); some features may be limited to newer versions.
</api>
</li>
</ol>
<fileset dir="${cluster}">
<include name="ant/lib/*.jar"/>
</fileset>
<mapper type="glob" from="ant${file.separator}lib${file.separator}*.jar" to="apache-*-1.8.0.jar"/>
<mapper type="glob" from="ant${file.separator}lib${file.separator}*.jar" to="apache-*-1.8.1.jar"/>
</copy>
<copy file="${cluster}/ant/nblib/bridge.jar" tofile="${dir}/org-apache-tools-ant-module-bridge.jar"/>
<!-- XXX ought to only do this in case jnlp.sign.jars=true -->
ant -f ${here}/../java.project/build.xml -Dtest-unit-sys-prop.ignore.random.failures=true clean test-unit
ant -f ${here}/../java.j2seproject/build.xml -Dtest-unit-sys-prop.ignore.random.failures=true clean test-unit
ant -f ${here}/../build.xml commit-validation
9. Submit a patch for https://svn.apache.org/repos/asf/ant/core/trunk/xdocs/external.xml
9. Submit a patch for https://svn.apache.org/repos/asf/ant/core/branches/ANT_SITE/xdocs/external.xml
mentioning that the bundled version in NB is now ${release.version}.
10. Edit these instructions in build.xml according to anything you had to do differently.
Files: ant-libs-1.8.0.zip ant-misc-1.8.0.zip
Files: ant-libs-1.8.1.zip ant-misc-1.8.1.zip
OSR: 7102
B91FAB9535E06A6B853F04C8CBB7ECB8DC892423 ant-libs-1.8.0.zip
1AEA391CB8BC9A7D8AD9C34E9CF709E129FAAE14 ant-libs-1.8.1.zip
DF624446C6C6F4E72547AAA199B90C625A9F380E ant-misc-1.8.0.zip
6C282A7DF2CDD43229B6BCFB516298E350E61FC0 ant-misc-1.8.1.zip
-->
<project name="o.apache.tools.ant.module/external" default="unzip" basedir=".">
<target name="unzip">
<unzip src="ant-libs-1.8.0.zip" dest="lib"/>
<unzip src="ant-libs-1.8.1.zip" dest="lib"/>
</target>
<target name="clean">
<delete dir="lib"/>
javac.compilerargs=-Xlint:unchecked
javac.source=1.6
spec.version.base=3.41.0
spec.version.base=3.42.0
compile.ant.jar=${ant.core.lib}
src-bridge.cp.extra=build/classes:${compile.ant.jar}
extra.module.files=\
ant/lib/,\
ant/bin/,\
ant/etc/
nbm.executable.files=\
ant/bin/ant,\
ant/bin/antRun,\