The Web Graph Database

wiki:Docs/CodeBase

CodeBase

The InfoGrid code base is organized as follows:

Note: This changed January 2010. (Go to an ‚Äčold version of this page for the old layout.)

All paths are relative to Subversion URL http://svn.infogrid.org/infogrid/<BRANCH>, where <BRANCH> is one of the Subversion Branches.

Project directories

Each InfoGrid Projects? has its own top-level directory:

Within each of those directories, the structure documented in the next section can be found. Additionally, the following directories exist:

  • ig-config: configuration files for the build
  • ig-tools: build tools
  • ig-vendors: vendor libraries

Project top-level directories

modules
Modules belonging to this Project?.
apps
Web applications belonging to this Projects?, if any.
tests
Test Modules to test the Modules in this Project?.
testapps
Test applications for this Module, often invoked by test Modules contained in the test directory.

Structure of a StandardModule

build
Temporary build artifacts
build.xml
Main build file. Most Modules just import the InfoGrid build library at ig-tools/infogrid-ant-library.xml.
dist
Build output, including the Module's JAR file, and the Module's ModuleAdvertisement in different formats.
infogrid-moduleads
Contains the Module's ModuleAdvertisement called module.adv.
nbproject
NetBeans project files
src
Java sources
web
Web files such as JSPs.

Structure of a ModelModule

build
Temporary build artifacts
build.xml
Main build file. Most Modules just import the InfoGrid build library at ig-tools/infogrid-ant-library.xml.
dist
Build output, including the Module's JAR file, and the Module's ModuleAdvertisement in different formats.
infogrid-moduleads
Contains the Module's Model file called model.xml from which the build will automatically derive the Module's ModuleAdvertisement.
nbproject
NetBeans project files
src
Java sources
web
Web files such as JSPs. When using the Viewlet Framework, the additional Viewlet Framework File System Structure conventions apply.

See also:

Last modified 4 years ago Last modified on 01/19/10 19:29:15