Public CVS Repository

A public CVS repository is updated hourly from our development repository. The very latest versions (HEAD) of modules may contain code untested in integration.

The numbered versions published into the spiralcraft/depends repository subtree (the Ivy repository) have received more testing, and are the most stable releases we provide at this time.

We intend to move to a more automated build system in the future.

Point your CVS client to the following repository location:

:pserver:anon@cvspublic.spiralcraft.com:/cvs/spiralcraft

Command line

Check out the "boot" cvs module:

cvs -d :pserver:anon@cvspublic.spiralcraft.com:/cvs/spiralcraft co -P boot

This will create a "spiralcraft" subdirectory, and the following essential subdirectories:

  • spiralcraft/build
    • Contains ant scripts and jars that make up the common reusable build system.
  • spiralcraft/depends
    • The Ivy repository that contains current module dependencies
  • spiralcraft/modules/core
    • The module source for spiralcraft-core
    • This is not strictly necessary, but is useful as a source code reference
  • spiralcraft/modules/launcher
    • The module source for spiralcraft-launcher
    • This is not strictly necessary, but is useful as a source code reference

To Build

Change you working directory to the sub-project root directory (eg. spiralcraft/modules/core).

Run

java -jar ../../build/lib/ant-launcher.jar

or from the spiralcraft root directory

java -jar build/lib/ant-launcher.jar -f modules/core/build.xml


Eclipse (3.4 or greater)

Eclipse is available from http://www.eclipse.org/.

This procedure assumes a familiarity with Eclipse.

To Get Started

  • Use the CVS Repository Exploring perspective to create the above repository location.
    • Host: cvspublic.spiralcraft.com
    • User: anon
    • Path: /cvs/spiralcraft
  • In the location, find the "boot" module under "HEAD"
  • Right click on the "boot" module and select "check out"

A project named "spiralcraft" will be created. This is the "master" project, which creates the directory structure for working with modules. It is recommended that you keep this project closed unless you are using it to check out and import projects.

To check out additional subtrees

When you want to download additional modules, use the CVS Repository Exploring perspective to:

  • locate the appropriate repository directory
  • Right click and select "Check out as..."
  • Select "check out into existing project"
  • Select the local parent directory that matches the parent directory in the repository

To work with a sub-project (a module or other subtree):

You will import project from the master project into the workspace to work with them directly.

  • select File -> Import -> General -> Existing Projects into workspace
  • Select root directory. Browse to and select the root directory of the module or other subtree under the "spiralcraft" project
  • Do not copy the project- make sure "Copy projects into workspace" is not checked
  • Accept the project that comes up in the list and click finish. The project will be named appropriately in the workspace.

To build

In the Java perspective, right click the build.xml file and choose "Run as Ant Build".