JDevLibsForAnt 11.4.0

The JDevLibsForAnt extension provides a way to automatically maintain an Ant build file with information about a JDeveloper project.
Included are the source code and an installable JDeveloper extension JDevLibsForAnt1140-install.zip .

How to install the JDevLibsForAnt JDeveloper extension.

(1) Select "Help" > "Check for Updates..." in JDeveloper.
(2) On the "Check for Updates" wizard panel "Step 2 of 5", "Source" select "Install From Local File" and click "Browse..."
(3) Select JDevLibsForAntApps\JDevLibsForAnt\JDevLibsForAnt\deploy\JDevLibsForAnt1140-install.zip and click "Open".
(4) Click "Next" in the "Check for Updates" wizard.
(5) On the "Summary" panel, click "Finish".
(6) On the "Confirm Exit" dialog, answer "Do you want to restart now?" with "Yes".
(7) After JDeveloper has restarted, answer "Would you like to migrate from a previous version of JDeveloper?" with "No".

How to use the JDevLibsForAnt JDeveloper extension.

(1) Open the "Project Properties" dialog for a JDeveloper project where you want to enable the JDevLibsForAnt JDeveloper extension.
(2) Select the "JDevLibsForAnt" configuration panel.
(3) Enter an Ant build file name for "Output File Location", e.g. "build-libs.xml".
(4) Click OK in the "Project Properties" dialog.
(5) Refresh the JDeveloper project and find the Ant build file "build-libs.xml" inside the "Resources" node.
(6) Use the resulting file in other Ant build files, e.g. like this <import file="build-libs.xml"/> .

How to build the JDevLibsForAnt JDeveloper extension.

(1) Make sure you have installed the JDeveloper Extension SDK.
see http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/index.html
(2) Open the JDevLibsForAntApps\JDevLibsForAnt\JDevLibsForAnt.jws application in JDeveloper.
(3) In the JDevLibsForAnt project right-click menu, select "Deploy" - "JDevLibsForAnt-DP" - "to JAR file".
(4) Run the "bundle-extension" Ant target in the build.xml Ant build file.


version history :
v11.4.0 : the same as v11.3.0 only configured for JDeveloper in bundle.xml (requested by John Stegeman)
v11.3.0 : - a first version for JDeveloper 11g, with only minor changes from v0.02
(requested by John Stegeman in this forum thread http://forums.oracle.com/forums/thread.jspa?threadID=839910)
v0.02 : - using the JavaProject.getOutputDirectory() method suggested by Brian Duff in http://forums.oracle.com/forums/message.jspa?messageID=1851738#1851738
- refactored LibrariesProjectChangeListener, introducing JLFAProjectChangeListener, JLFAOptionsProjectChangeListener and OutputFileMerger
- added a context menu on project nodes to explicitly "merge", see JDevLibsForAntMenuHelper
v0.01 : initial version, also posted in forum thread "JDeveloper extension : JDevLibsForAnt", see http://forums.oracle.com/forums/thread.jspa?threadID=509945