Versions Compared

Key

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

...

This is also a good time to go to Java - Installed JREs. Eclipse automatically adds whatever version of Java is the primary (generally the lastest) on this operating system. If you want to build for a different release (CAS is typically one release back from current) then after you have actually installed that version of Java on the machine add it to this list of Java versions Eclipse knows about and set the checkbox so it is the default.One last point. Eclipse has been known to go into a very long loop screwing up validation of the HTML and JSP pages. To avoid this, you may want to click Validation and click the "Suspend all validators" checkbox

An application is built with the latest version of Maven, but by convention at Yale the Installer project (that copies the application to JBoss or Tomcat using Ant) runs on an old Maven 2.2.1. To enable the same processing in the Sandbox, download that version of Maven, put it in some directory, and then in the Eclipse Preferences select Maven - Installations and add that directory to the list of Maven versions that Eclipse knows about. When you create a Run Configuration for the Installer, you will select this Maven 2.2.1.

The JBoss Tools need to locate the directory where JBoss is installed. You can do this manually, but Eclipse JBoss Tools can configure it for you. Go to Preferences - JBoss Tools - JBoss Runtime Detection (in Luna you may have to click it, click something else, then click it again). Click the Add button and then browse to the parent directory of the jboss server (if JBoss was installed as /opt/jboss/jboss-eap-6.1 then browse to /opt/jboss). If you click search, then JBoss will configure any JBoss or Tomcat servers found under the directory you just configured. If you have multiple versions of JBoss, put them all under the same directory and they will all be located.