Building from within Eclipse

There are instructions for creating and deploying the web archive through Eclipse to Sun App Server. A more verbose version of these instructions can be found here. This assumes you already correctly setup the server permissions for your target domain1 as described here.

  1. Configure your etc/org.sharedrecords.properties file to point to your (existing) target location for a FileStoreRoot on your server. Depending on your permissions, this must be in a subdirectory of the domain (default is domain1) you are deploying to on Sun App Server (a default location is for the file store root is /opt/SUNWappserver/domains/domain1/applications/j2ee-modules/SRCStore/data_store).
  2. Right click on buildWAR-eclipse.xml and run the default ANT task. This will compile the WAR file to the root of your SVN checkout.
  3. Go to your server admin console (default is  http://www.yoururl.com:4848).
  4. Go to Applications -> Web Applications. Select Deploy, and find the WAR you created.
  5. If the WAR is already deployed, make sure to check redeploy.