Build Process 
(JXTA Shell )

The following sections describe the requirements and actions that you need to build the JXTA Shell:

Build Requirements

JXTA Shell 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 Shell 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 (jxtashell.jar)
Places classes and jar files under shell/binding/java/classes

pkg 

Compile and package Java Classes and selected docs into jxtashell.zip for easy download
Places zip files under shell/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 Shell Project

You can use a prebuild version of JXTA Core to build Shell project. Having a prebuild version is necessary because the Shell project has dependencies on the JXTA Core.  To build Shell 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 Shell project modules that you want to build from the Jxta.org CVS tree using
    cvs -d :pserver:@cvs.jxta.org:/cvs checkout shell for snapshot or, if you update an already existing copy
    cvs -d :pserver:@cvs.jxta.org:/cvs update shell.

  3. Change directory to shell/binding/java
    cd shell/binding/java

  4. Build Shell 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
    jxtashell.zip, jxtashell.jar in ./pkg directory


Kuldip Singh Pabla


Last modified: Wed Feb 21 10:24:57 PST 2001