Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

If you are using the TIP Installer, then only the following 2 following 3 steps are needed:

  • Installing a JDK 1.6
  • Installing Maven 2.2.1
  • Setting up preferences

Java JDK

Minimum required Java JDK 1.6 (or SE 6.0 with new naming conventions)
The latest Java JDK's can be downloaded for *nix and Windows installation from Oracle at [Java SE downloads|http://www.oracle.com/technetwork/java/javase/downloads/index.html
]

...

(TODO - instructions for Linux)

Setting up preferences

The SID contains a number of duplicate attributes/ declarations that are not flagged in RSA.

To flag them in Tigerstripe, it is recommended to change some severity levels for some problems:

Go to Window-> Preferences->Java->Compiler->Error/Warnings

In Name shadowing and conflicts:

  • Mark “Field declaration hides another field or variable” to Error
  • Mark “Local variable declaration hides another field or variable” to Error

In Unnecessary code:

  • Mark “Local variable is never read” to Ignore as they are a number of them and they hide other warnings. Same for “Parameter is never read” and “Unused local or private member”

Old Setup

These steps should not longer be used if the TIP Installer is used. All the settings present here are already correctly done for you.

...

Note many developers report needing to increase Eclipse's working memory when working on large projects. This can be done by modifying the
<eclispe.home>/eclipse.ini file to increase -Xmx and -Xmx and -XX:MaxPermSize from the defaults. Exact values appear to be more of an art than a science however the following is a starting point. (Any further insights welcome).

eclipse.ini:

Code Block

-startup<BR>
plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar<BR>
--launcher.library<BR>
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519<BR>
-product<BR>
org.eclipse.epp.package.jee.product<BR>
--launcher.XXMaxPermSize<BR>
256M<BR>
-showsplash<BR>
org.eclipse.platform<BR>
--launcher.XXMaxPermSize<BR>
256m<BR>
-vmargs<BR>
-Dosgi.requiredJavaVersion=1.5<BR>
-Xms128m<BR>
-Xmx512m<BR>
-XX:MaxPermSize=256m<BR>

REVISED NOTE - you need to increase the memory from the above settings;

Code Block

-vmargs<BR>
-XX:MaxPermSize=500m<BR>
-Dfile.encoding=UTF-8<BR>
-Dosgi.requiredJavaVersion=1.5<BR>
-Xms500m<BR>
-Xmx768m<BR>

...