We adopted a new project format that is entirely self contained; DODS no
longer has to be part of the enhydra tree in order to build. In addition, the build
process is now 100% powered by Ant 1.4. This version of ant is contained in the project,
so you don't have to download anything.
The DODS build.xml contains the following tasks:
- clean - clean everything up
- taskdefs - build the DodsGenerator taskdef
- compile - compile DODS source
- discrack.generate - generate/compile DiscRack sample
- dist - jar everything up
- javadocs - create javadocs for the project
- test.all - run the test suite
We consolidated packages by moving com.lutris.dods -->
org.enhydra.dods
DODS 4.0 had some minor dependencies on Enhydra. We resolved these by
changing the DODS source which referred to org.enhydra.error --> com.lutris.util. We
also include a version of enhydra 3.1.1b1 to build against. In the future, this jar will
be replaced with a (much smaller) open source version of eaf.jar.
Made a modified version of enhydra.jar called
enhydra_3.1.1b1_mod.jar...this file has had the org.apache.xalan stuff stripped out since
it was conflicting with the Ant stuff during the build and those files are already a part
of xalan-1.0.jar anyway (which we can simply skip during the build)
Modified DODS classes so that DODS_HOME and ENHYDRA_DIR system variables
are no longer necessary; Now DODS will read dods.conf and the associated templates using
getResourceAsStream() (which loads it from the dods jar file). In addition, DODS will no
longer generate makefiles, since we're using a pure Ant build now.
We provide a new DodsGenerator taskdef which makes it easy to invoke
DODS from your Ant build files (search build.xml for DiscRack to see an example).
The Merlot GUI editor had some minor dependencies on Enhydra's
toolbox.jar. These were eliminated by removing references to org.enhydra.tool.* in
DomlPatch.java. Note that now the help screen that is loaded comes from the DODS site on
Enhydra.org, NOT from the local file system.