NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The PATH and JAVA_HOME Windows environment variables must be set to the the installation path of the JDK binaries. The default path in Windows is:
Code Block

C:\Program Files\Java\jdk1.5.0_22\bin
  • The PATH and ANT_HOME Windows environment variables must be set to the installation path of the Ant binaries. The default path is:
Code Block

C:\ant
  • The PATH Windows environment variable must be set to the installation path of the SVN client binaries. The default path in Windows is:
Code Block

C:\Program Files\CollabNet Subversion Client
  • The ANT_OPTS environment variable must be set to the value "-Xmx256m"
  • The MySQL server must be configured with a secure password for the root user, and this password must be recorded for future reference

...

The caArray installation settings are mainly specified by a source file, install.properties, whose path is:

Code Block

$CAARRAY_HOME/software/master_build/install.properties

where $CAARRAY_HOME represents the root folder into which the caArray source was checked out (C:\source in this example).

A second file, local.properties, specifies additional settings. This file is not included in the repository -- you must manually create it yourself by opening a plain text editor and saving a blank file with the filename local.properties to the following path:

Code Block

$CAARRAY_HOME/software/build/local.properties

These files must be customized with the settings specific to your local environment before starting the build process. These settings include:

...

Now that you've checked out the source code, created the database schema, and configured the properties files, you're now ready to start the actual build process. First, open a command-line window and navigate to the following path:

Code Block

$CAARRAY_HOME/software/master_build

Then, enter the following command:

...

For example, if the path to the install.properties file is:

Code Block

C:\source\2.4.1.1\software\master_build\install.properties

Then the command is:

Code Block
ant -Dproperties.file=C:\source\2.4.1.1\software\master_build\install.properties deploy:local:install

...

To launch the caArray server, navigate to the following path:

Code Block

$INSTALLATION_HOME{*}*\jboss-4.0.5.GA\bin

where $INSTALLATION_HOME is the installation path you specified in install.properties, and run the file run.bat. A command line window will launch showing the progress of the launching of the caArray server. The launch process is not instant and may take anywhere from 20 to 120 seconds, after which the command line will display a message indicating that the JBoss MX Microkernel has started, as shown at the bottom of the screenshot below:

...