DODS Project
About DODS
Project Mail Lists
FAQs




DODS FAQs -How do I build DODS from source?
dods.gif (11357 bytes)Since this version, DODS has become independent from Enhydra, which means that can be used without it. In this case, DODS home directory <dods_home> is the directory in which independent DODS is installed.

IIn Enhydra5.2 (6.0) 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:

Only 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 following options:

configure [-version version_number] [-release release_tag] [-jdkhome jdk_home_dir] [-debug on/off]
[-optimize on/off] [-instdir installdir] 

  • version sets version_number. Default: 0.5
  • release sets release_tag. Default: 1
  • jdkhome sets java jdk_home_dir. Default: Path to system registred (if eny) 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 scratch)

·         make help - displays all options

 

For all the latest information on DODS, please refer to http://dods.enhydra.org/
Questions, comments, feedback? Let us know...