Dashboard > Terracotta Developer Documentation > ... > Development Process > Coding > Building Terracotta > Working with Eclipse
  Terracotta Developer Documentation Log In   View a printable version of the current page.  
  Working with Eclipse
Added by Jason Voegele, last edited by Hung Hung on Aug 21, 2008  (view change)
Labels: 
(None)

Working With Eclipse

First you need to set JDKs. Terracotta projects require all three jdk1.4, jdk1.5 and jdk1.6 to compile. Note that these have to be JDK, not JRE.

  1. Go to Window > Preferences > Java > Installed JREs and add 3 jdks. Click OK after you're done.
  2. Go to Window > Preferences > Java > Installed JREs > Execution Environments and set J2SE-1.4, J2SE-1.5 and JavaSE-1.6 to point to appropriate JDK.

To import all of the modules as Eclipse projects, use the following procuedure:

  1. Choose the File > Import... menu item
  2. Select Existing Projects into Workspace item in the General section, and click Next
  3. Make sure Select root directory is selected and then click Browse...
  4. Choose the code/base directory from within your Terracotta source tree
  5. Click Finish

There should now be an Eclipse project for each module within the Terracotta source tree.

Running Tests in Eclipse

You will need the TCDev Eclipse plugin to do this.

TCDev (Terracotta Developer Documentation)

Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.5 Build:#811 Jul 25, 2007) - Bug/feature request - Contact Administrators