mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
20.07.2013 ededb61c281dbdacf7e9e8fe5e24800ff9ce5a80
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Wednesday, March 20, 2013 09:07 +0100
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Wednesday, March 20, 2013 09:07 +0100
commitededb61c281dbdacf7e9e8fe5e24800ff9ce5a80
tree 8874ce65caf2b3a767986548a038fbf0614e7e18 tree | zip | gz
parent 9ffdbd2e693a9c6e1f3f9203295a490df03ad0cb view | diff
OPENDJ-808 (CR-1439) Implement a simple commons REST based HTTP connection handler

Added support for Ivy from the ant file build.xml.
"Apache Ivy™ is a popular dependency manager focusing on flexibility and simplicity."

As part of the build, Ivy gets downloaded and installed as ext/ivy.jar, if it was not already installed.
Ivy will then download all the dependencies and transitive dependencies from forgerock artifactory, maven central and oracle public maven repo as specified in ivy.xml and ivysettings.xml and put them under the lib/ directory. This step is similar to what maven does.
Finally, I removed je.jar and mail.jar as they also get downloaded by Ivy now.

Ivy uses a download cache under ~/.ivy/cache to prevent always downloading the jars from internet.
I made sure that after a successful build, rebuilding without the network works fine.
I also made sure the built zip contains only thebinary jars, and not sources jars or javadoc jars.

Here is now the content of the lib/ directory in the OpenDJ-2.5.0.zip file:
$ ls build/package/OpenDJ-2.5.0/lib/lib/
activation-1.1.jar
grizzly-framework-2.3-rc6.jar
grizzly-http-2.3-rc6.jar
grizzly-http-server-2.3-rc6.jar
grizzly-http-servlet-2.3-rc6.jar
grizzly-rcm-2.3-rc6.jar
javax.servlet-api-3.1-b05.jar
je-5.0.48.jar
launcher_administrator.exe
mail-1.4.1.jar
opendj_service.exe
winlauncher.exe


Please also have a look at the attached out.patch file since crucible does not allow me to upload it as a patch. It contains changes to SVN properties and removed files.
2 files deleted
2 files added
1 files modified
155 ■■■■■ changed files
opendj-sdk/opends/build.xml 66 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/ivy.xml 48 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/ivysettings.xml 41 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/lib/je.jar diff | view | raw | blame | history
opendj-sdk/opends/lib/mail.jar diff | view | raw | blame | history