In Enhydra5.3(1) is included binary version of DODS (without source). So, DODS can not be build out of source in Enhydra, only as independent project.
To build independent DODS, it is necessary to do the following actions:
Unix stile slashes (/) must always be used instead of DOS stile backslashes (\).
Start Command Promt and go to <DODS_SOURCE> directory.
To configure DODS you can call configure batch file with the following options:
configure [-version version_number] [-release release_tag] [-jdkhome jdk_home_dir] [-debug on/off] [-optimize on/off] [-instdir installdir]
where:
-version sets version_number. Default: 6.3
-release sets release_tag. Default: 1
-jdkhome sets java jdk_home_dir. Default: Path to system registred (if any) jdk.
-debug compiles source with debug information (on/off). Default: off
-optimize sets whether the source should be compiled with optimization or not (on/off). Default: on.
-instdir the path to your installation directory (see "Make Options" --> make install)
Configure without parameters sets configuration parameters to default values.
To build DODS start Command Promt and go to <DODS_SOURCE> directory.
DODS building is completely Ant based. You can give one of the following options to the make command:
make - builds and configures DODS with javadoc and docbook documentation
make buildAll - builds and configures DODS with javadoc and docbook documentation
make buildOptimize - builds, optimizes and configures DODS with javadoc and docbook documentation
make buildNoDoc - builds and configures DODS without documentation building
make install - copies and configures DODS without source compiling
make distributions - builds and configures DODS with javadoc and docbook documentation and creates distribution; nsis 2.0b should be included in DODS if doesn't exist (files makensis.exe and makensisw.exe in Dods/Install/Windows/install directory)
make optimizeDistributions - builds and configures DODS with javadoc and docbook documentation and creates optimized distribution; nsis 2.0b should be included in DODS if doesn't exist (files makensis.exe and makensisw.exe in Dods/Install/Windows/install directory)
make clean - removes the output folder (in order to start a new compilation from the scratch)
make help - displays all options
where <DODS_HOME> is directory in which DODS is built.
After DODS building, you MUST add <DODS_HOME>\bin directory to the begining of the system PATH.