Getting Eclipse Europa installed
- download and unpack eclipse-europa with "JEE" support
- do latest software updates
- "Help" >> "Software Updates" >> "Find and Install..."
- Search for new features to install
- New Remote Site
- Name: Subclipse (or whatever)
- Url: http://subclipse.tigris.org/update_1.2.x
- select both Subclipse and Europa Discovery Site search sites
- Check box to install "Subclipse" features
- on same dialog, choose "Select Required" button.
This will select all dependencies from the Europa Discovery Site. - "Next", then accept terms of aggreement, then "Next", then "Finish"
- Choose "Install All" on Feature Verification dialog.
- choose "yes" to restart now
- software update: find and install:
- Search for new features to install
- New Remote Site
- Name: Maven 2 (or whatever)
- Url: http://m2eclipse.codehaus.org/update/
- search Maven 2 plugin site with "Finish"
- Check box to install "Subclipse" features
- "Next", then accept terms of agreement, then "Next", then "Finish"
- Choose "Install All" on Feature Verification dialog.
- choose "yes" to restart now
Adding a Tomcat server to Eclipse
- Choose "File" >> "New" >> "Other..."
- Choose "Server" >> "Server", and click "Next"
- Fill out dialog "New Server:Define a New Server"
- Server's host name: localhost
- server type: "Apache" >> "Tomcat v5.5 Server", and click "Next"
- Fill out dialog "New Server:Tomcat Server"
- Name: Apache Tomcat v5.5
- Tomcat installation directory: (locate directory where you installed Tomcat 5.5)
Add WORKSPACE_ROOT classpath variable
- Choose "Window" >> "Preferences..."
- "General" >> "Workspace" >> "Linked Resources" >> "New..."
- Fill in "New Variable" dialog:
- Name: WORKSPACE_ROOT
- Location: (path to your workspace)
Checking out source from SVN
- Choose "File" >> "New" >> "Project..."
- Choose "SVN" >> "Checkout Projects from SVN"
- Choose "Create a new repository location", then "Next"
- Fill in SVN repository Url:
- Url: https://archive-access.svn.sourceforge.net/svnroot/archive-access/trunk/archive-access/projects/wayback
- select top directory, and click "Finish"
- wait for project to checkout and workspace to be rebuilt
Running and Debugging webapp on local Tomcat server:
- Choose "File" >> "Import..."
- Choose "General" >> "Existing Projects into Workspace", then "Next"
- Choose "Select root directory" then "Browse..."
- under wayback choose wayback-webapp directory, and click "OK"
- "Finish"
Configuring wayback-webapp to run on the Apache Tomcat 5.5 server
- On the Servers tab, right-click then choose "Add and Remove Projects..."
- add wayback-webapp, click "Finish"
- exit and restart Eclipse
- start server
Accessing ARC file content:
- place arc.gz files in /tmp/wayback/arcs/ (or whatever directory you've changed the store:arcDir property to)