NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

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

...

1. Use a SVN client such as Sliksvn or Subclipse plugin for Eclipse to check out the caArray codebase. You have to choose the trunk or a branch to a new and clean directory (<trunk home>: for example: c:\apps\caarray2).
2. Install IvyDE Eclipse plugin for Ivy classpath management and restart Eclipse.
3. Go to "Window" / "Preferences" / "Ivy" and set "Global settings" by navigating to <trunk home>/software/master_build/ivy-caarray-settings.xml and click "OK".
4. Open the <trunk home>/software/master_build/ivy-caarray-settings.xml file in a text editor and comment-out the filesystem resolver with name local-repo (this is only useful for developers at NCI), and save the file.
5. In Eclipse Navigator tab, right click in panel and select "Import", and then "Existing Projects into Workspace" and in "Select root directory" navigate to <trunk home> and click "Finish".
6. Make sure that you have Ant 1.7+ in your PATH.
7. Make sure that JAVA_HOME environment variable set to Java 1.5.x.
8. Make sure that your computer has network access to the MySQL database containing caArray schema (You should have the database up and running).
9. Make sure that the bin directory of your svn client such as sliksvn is in your PATH.
10. Make sure to have variable "ANT_OPTS" defined and "-Xmx1024m" as variable value. Your computer needs to have at least 1.5 GB of memory.
11. It was previously possible to deploy caArray to a non-caArray installer-provided JBoss server, but with 2.4.0 it is no longer the case. Developers should first install caArray using either the command line or GUI installer, and then should configure a deployment properties file to deploy caArray codebase to the installer-provided JBoss server. Actually, it is a good practice to do it for any version.
12. Make sure that the JBOSS_HOME points to the root directory of your JBoss 4.0.5.
13. Create a new file <trunk home>/software/build/local.properties (here is an example: local.zip\. A sample of a customized local.properties file is attached to this article for reference.) Save it as local.properties). Property values depend on your environment. Some of the properties that you most likely will need are:

Code Block
(1). database.system.user=<root>
     (2). database.system.password=<root user's password>
     (3). database.server=<MySQL server>
     (4). database.port=<MySQL port>
     (5). database.user=<caArray DB connection username>
     (6). database.password=<caArray DB connection password>
     (7). database.name=<caArray DB name>

...