Build Process
(Content Management System )

The following sections describe the requirements and actions that you need to build the Content Management System (CMS):

Build Requirements

JXTA Content Management System has been built successfully on the following operating systems:

Before you begin building, you must ensure that your system satisfies the recommended software and hardware requirements for the type of system you are working on.

Linux

Build Requirements for Linux
Software Requirements Hardware Requirements
A PC with the following specifications:
  • Intel Pentium II
  • 32/64 MB RAM
  • 5 MB free disk space

Solaris

Build Requirements for Solaris
Software Requirements Hardware Requirements
For Solaris/x86 same requirements as for Linux. For Solaris/Sparc a Sparc Ultra 2 with the following specifications:
  • 128 MB RAM
  • 5 MB free disk space

Win32

Build Requirements for Win32
Software Requirements Hardware Requirements
A PC with the following specifications:
  • Intel Pentium II
  • 64 MB RAM
  • 5 MB free disk space

Build Flags

Following build flags can be used to set customized values.
Build Flags
Flag Description Default Value
JAVA_HOME Path to JDK home to be used for compilation undefined - defaults to one in your PATH
JXTAXMLLIB Xerces.jar - XML lib to be used ../../../platform/binding/java/pkg/xerces.jar
JXTACORELIB JXTA Core lib to be used ../../../platform/binding/java/classes/jxta.jar
CLASSPATH Class Path to be used ./classes

Build Options

Following table specifies the build options for CMS project.
Build Options
Option Action
compile Compile all Java Classes
All Compile all Java Classes - same as compile
jar Compile and package Java Classes into a jar file (cms.jar)
Places classes and jar files under cms/binding/java/classes
pkg Compile and package Java Classes and selected docs into cms.zip for easy download
Places zip files under cms/binding/java/pkg
javadoc Generate JavaDocs for all the java classes
clean Delete classes, jar file and packages.
clobber Delete classes, jar file and packages - same as clean.

Building CMS Project

You can use a prebuild version of JXTA Core to build CMS project. Having a prebuild version is necessary because the CMS project has dependencies on the JXTA Core and xerces.jar. CMS builds all the modules required for Content Management Services. This includes "Sharing", "Searching" and "Indexing". To build CMS project, you must follow these steps:

  1. Download an appropriate build of JXTA core project from the Core Downloading Files page. Or Checkout an appropriate snapshot of JXTA Core tree from the Core Downloading sources page and follow the Core build instructions to build core.
  2. Check out the CMS project modules that you want to build from the Jxta.org CVS tree using
    cvs -d :pserver:@cvs.jxta.org:/cvs checkout cms for snapshot or, if you update an already existing copy
    cvs -d :pserver:@cvs.jxta.org:/cvs update cms.
  3. Change directory to cms/binding/java
    cd cms/binding/java
  4. Build CMS project with the prebuild version of the JXTA Core, using the (gnu)make tool.
    (gnu)make [build options]
  5. Look for java classes in ./classes directory
    cms.zip, cms.jar in ./pkg directory

Kuldip Singh Pabla
Last modified: Wed Feb 21 10:24:57 PST 2001