Eclipse
From Scantegrity Wiki
- Last updated for Eclipse Galileo.
This page explains HOW TO setup the Eclipse IDE to download and compile the Scantegrity source code. Before we begin, the reader should be aware of these useful links:
Using Eclipse is not required to compile the Scantegrity code. Most of the code is written and will compile in Maven 2, and the parts of the code that do not yet have maven configuration files will have to be compiled manually outside the build system.
Each subheading represents a step. Follow them in order.
Contents |
[edit] Install Eclipse
http://www.eclipse.org/downloads/ - Install "Eclipse IDE for Java EE Developers (188 MB)". It should be the first link on the page.
If you are on an OS that does not have a regular package (*cough* solaris *cough*), check your distributor or look at http://download.eclipse.org/eclipse/downloads/.
The links above are reasonably stable. We do not expect them to change.
[edit] Install Subversion
- "Help"->"Install New Software..."
- Select "Galileo - http://download.eclipse.org/releases/galileo"
- Type "subver" into the search box.
- Choose the Mylyn Integration and the Team Provider
- Install/Restart/Open the "Install New Software..." box again.
[edit] Install Polarion Connector
- Click the "Add" button, and add the polarion update site http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site/
- Select the side in the dropdown box.
- Choose the SVN Connectors and SVNKit 1.3.0 (or one of the other options that will work for your OS, SVNKit is the safe choice, however).
[edit] Install Maven2
Source Link: http://m2eclipse.sonatype.org/installing-m2eclipse.html
- Add the following sites: http://m2eclipse.sonatype.org/sites/m2e and http://m2eclipse.sonatype.org/sites/m2e-extras
- For the first site, add all (there should only be one).
- For the second site, Install everything except the Team/CVS and SVN providers (the subversive plugin uses the "SCM Integration" and yes, we are aware this is full of stupid).
[edit] Checkout The Code
- Go to import a project, and select Maven SCM as the import type. Then select svn from the drop down list and use https://scantegrity.org/svn/trunk as the address and click finish.
[edit] Install Geronimo
You can skip this if you don't want to work on the website. You will have to checkout the website first. This is not yet in maven so you will have to check it out separately.
- Download and install (unzip it somewhere -- that is how you install) http://geronimo.apache.org/
- Switch to the JavaEE view and open the website.
- On the tabs on th ebottom, select server. Right click in the box and "Add Server".
- At this point you'll see an add servers dialog box, in there should be "Download Additional Connectors", select it and choose the one appropriate for the version of geronimo you have installed.
- You may have to restart. Try adding a server again and point it at the servers install path.
