The following sections describe the requirements and actions that you need to build the JXTA Shell:
JXTA Shell has been built successfully on the following operating systems:
Linux
Solaris
Win32
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.
Build Requirements for Linux
Software Requirements |
Hardware Requirements |
---|---|
|
A PC with the following specifications:
|
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:
|
Build Requirements for Win32
Software Requirements |
Hardware Requirements |
---|---|
|
A PC with the following specifications:
|
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 |
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) |
pkg |
Compile and package Java Classes and selected docs into
jxtashell.zip for easy download |
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. |
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:
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.
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.
Change directory to
shell/binding/java
cd shell/binding/java
Build Shell project
with the prebuild version of the JXTA Core, using the (gnu)make
tool.
(gnu)make [build options]
Look for java classes in ./classes directory
jxtashell.zip, jxtashell.jar in ./pkg directory
Last
modified: Wed Feb 21 10:24:57 PST 2001