NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Scrollbar
iconsfalse

Question: How do I configure Eclipse for caArray?

Topic: caArray Installation and Upgrade

...

Date entered: 05/18/2009
Date modified: 09/25/2010

Answer

Please follow these instructions to get caArray trunk codebase configured inside Eclipse:

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', as this resolver is only useful for developers at NCI, then save the file. The portion of XML code to be commented out is shown below:

Ivy DEXML SettingsImage Modified

The modified XML file is attached below for reference:ivy-caarray-settings-modified.xml

...

14. Start a window command prompt, go to the <trunk home>/software/build directory, type "ant" to build caArray and to run all unit tests and code checks.
15. The build might fail with a single error during Unit testing, which is ok at this point. Please verify this by clicking <trunk home>/software/build/site/junit/unit/index.html.
16. Type "ant deploy" in <trunk home>/software/build to deploy caArray.
17. Go to the JBoss bin directory and start JBoss using the run.bat/sh script. The caArray.ear should be deployed.
18. Go to "http://yourcomputername:8080/caarray/" to see the web interface of the running caArray application installed on your computer.
19. If you are having problems with svn:getinfo target failing during builds, just pass in the following ant command-line property: -Dnosvn=true.
20. With this process, you should have the caArray project in Eclipse and be able to build and run caArray at the command line. We are testing to see if there are caveats with building from Eclipse.

Have a comment?

Please leave your comment in the caArray End User Forum.

...