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.
- Go to Window > Preferences > Java > Installed JREs and add 3 jdks. Click OK after you're done.
- 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:
- Choose the File > Import... menu item
- Select Existing Projects into Workspace item in the General section, and click Next
- Make sure Select root directory is selected and then click Browse...
- Choose the code/base directory from within your Terracotta source tree
- 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.