To build the TDS thredds.war file, you need the
common source code directories. They are available in our source code distribution
(see the "Source Code Distribution" section) and from our SVN
repository (see the "Source Code Repository" section).
Once you have a copy of the
common source code directories, 'cd' to the
directory and run '
ant clean makeWar' (see note).
This will generate a
tds/target directory which will contain
thredds.war file and a
Note: For TDS 4.2.5 and before, you must have
catalina-ant.jarin your Ant installations
lib/directory. It is not required after TDS 4.2.5. (See the related FAQ entry here.)
TDS source code distributions are available from the THREDDS FTP site.
The TDS source code distribution has the following directory structure:
Building the TDS thredds.war file as described above, requires checking out only three directories:
As mentioned above, the
intelliJ/threddsFull directory contains IntelliJ IDEA
project files with modules for GRIB, BUFR, OPeNDAP, Unidata Common, CDM/netCDF-Java,
ToolsUI, and TDS. You can modify this for the setup you have by simply removing the
module dependencies and replacing them with binary class jar file dependencies (all
the needed jar file are in the
For the full setup, your directory structure should look like this:
Thanks to Jon Blower (Univ of Reading) and the MyOcean project for writing up instructions for building the TDS with NetBeans.