- Download latest ANT from ant.apache.org web site and unzip it in directory
\jdev\lib\apache-ant- -bin.
So if your jdev dir is at C:\jdev10.1.2.3\jdev\lib, then and you downloaded ant 1.8.1, then you will have c:\jdev10.1.2.3\jdev\lib\apache-ant-1.8.1-bin - Edit
\jdev\bin\jdev.conf and comment line that loads ant.jar and load the new ant jar you downloaded. Example below:
#AddJavaLibFile ../lib/ant.jar AddJavaLibFile ../lib/apache-ant-1.8.1-bin/lib/ant.jar
- Open file
\jdev\lib\libraries.xml and change library "Apache Ant" to include jars in the new ant jar you downloaded. Example below:
<item class="oracle.jdeveloper.library.JLibrary"> <defaultlibrarydefinition> <jdkversion> <classpath> <entries> <item jar-entry="" path="apache-ant-1.8.1-bin\lib\ant.jar"/> <item jar-entry="" path="apache-ant-1.8.1-bin\lib\ant-launcher.jar/"> <item jar-entry="" path="apache-ant-1.8.1-bin\lib\ant-commons-net.jar/"> <item jar-entry="" path="apache-ant-1.8.1-bin\lib\ant-jsch.jar/"> <item jar-entry="" path="apache-ant-1.8.1-bin\lib\com.jcraft.jsch_0.1.31.jar"/> </entries> </classpath> <docpath> <entries class="[Ljava.net.URL;"> </docpath> <locked>false</locked> <sourcepath> <entries class="[Ljava.net.URL;"> </sourcepath> </defaultlibrarydefinition> <definitionlist class="java.util.ArrayList"> <locked>true</locked> <name>Apache Ant</name> </item>
various observations, solutions and frustrations on programming java and .net.
Monday, June 28, 2010
How to run the latest ANT with jdeveloper 10.1.2.3
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment