This document will provide the steps necessary to setup a developer's computer.
Download the latest maven 3 zip file from http://maven.apache.org/download.html
Follow the windows installation instructions at the bottom of the page.
Log in using the username and password provided.
After logging in you can download the software. I use the "All in One" download. After installing the software you will need to enter the license key info, which will be provided to you by an administrator.
Go to Help / Software Updates / Add/Remove Software / Add Button:
Enter "subclipse", choose to install the plugin. Take all options
Apply those changes.
For MyEclipse version 8.6:
Go to Help /MyEclipse Configuration Center
Click "Software" tab. In the "Browse Software" box, type in "subclipse", then press "Enter" key.
Choose "Subclipse 1.6.x(w/related)" in the search results, double click it. In the popup window that follows, choose all options, then click "OK".
The "Subclipse 1.6.x(w/related)" plug-in should appear in the "My Software/Personal Software" list on the right hand side of the screen
Warning: Do not install any of the Subversive plugins.
Once it installed, go to the "SVN" repository exploring" perspective and add a new subversion repository. Our repository is located at "https://actioncenters.svn.sourceforge.net/svnroot/actioncenters" Check out our project folder: It is /trunk/AC
Go to Help / Software Updates / Add/Remove Software / Add Button:
Enter "checkstyle", choose to install the plugin. Take all options.
Apply those changes.
For MyEclipse version 8.6:
Go to Help /MyEclipse Configuration Center
Click "Software" tab. In the "Browse Software" box, type in "checkstyle", then press "Enter" key.
Choose "Checkstyle Plug-in" in the search results, double click it.
In the "Pending Changes" box at the right bottom corner of the screen, click "Apply Changes".
The "Subclipse 1.6.x(w/related)" plug-in should appear in the "My Software/Personal Software" list on the right hand side of the screen
Following installation, in Eclipse go to Window/Preferences/CheckStyle
Click New button, choose Project Relative Configuration. Type ActionCenters in the name. Enter "/AC/actioncenters-documentation/CheckStyles.xml" in the Location. Make the new configuration the default configuration.
Select the new configuration and click Set as Default button. Click OK to exit.
http://community.versionone.com/downloads/documentation/eclipse.aspx
Use the instructions from the update site. Once installed, in MyEclipse, Under Window / Preferences. Scroll to the bottom and select "VersionOne" category. Check Enabled and enter:
https://www12.v1host.com/UNVNOM01/
username
password
Do not enable Effort Tracking
Download the code templates xml file found here to your local machine by right-clicking and choosing "Save Link As...":
ActionCenters_codetemplates.xml
In eclipse navigate to Windows/Preferences/Java/Code Style/Code Templates. Choose import and import the file you just downloaded.
Follow the instructions at http://www.interaktonline.com/Products/Eclipse/JSEclipse/Installation-Update/
Install MySQL Community Server 5.1 for free from the mysql.com website:
http://dev.mysql.com/downloads/mysql/5.1.html#downloads
Take the normal defaults. Remember to store and secure your root password. Also install the MySQL GUI Tools. This was originally for 5.0, but will also work for 5.1:
Once that is installed, go into the MySQL installation folder and edit the "my.ini" file. Add the "max_allowed_packet = 1G", seen below, into the "[mysqld]" section.
[mysqld] max_allowed_packet = 1G
http://dev.mysql.com/downloads/gui-tools/5.0.html
Once that is installed, go into the MySQL Administrator. Click on Catalogs. Right-click under the list of current Catalogs (schemata) in the white-space; Create New Schema. Enter "aclogging" as a new schema name.
Under User Administration, create a new user. Name it "acloguser" and assign a password of "aclogpassword".
For the user acloguser, then select the "Schema Privileges" tab, click on the aclogging schemata, click the double less-than sign to select all available privileges into Assigned Privileges.
Do the same to create another schema "actioncenters". Create another user "ActionCenterUser" with a password of "ActionCenterPassword", paying attention to case sensitivity. Then also assign all the privileges of the actioncenters schema to the ActionCenterUser user.
The various flavors of anti-virus software available may have setting to prevent unapproved, outgoing email. Most of these applications allow you to specify which applications are allowed to send out email. To allow our application to run correctly, you must find this setting and allow java.exe and javaw.exe.
http://java.sun.com/javase/downloads/index.jsp
Choose the Java SE Development Kit (JDK) to download and install.
Once that is complete, also add it as an installed jdk in MyEclipse by going to Windows / Preferences / Java / Installed JREs / Click "Add.." button. Choose Standard VM. Under "JRE home:" click the "Directory.." button to browse to "C:\Program Files\Java\jdk1.6.0_12" and click on this folder. Click OK.
http://dist.codehaus.org/jetty/jetty-hightide-7.1.6/
We are using Jetty 7.1.6 hightide installation. Remove everything from the webapps folder and all the xml files from the contexts folder.
To deploy the app to Jetty, configure Jetty server in Eclipse. Go to Window / Preferences / MyEclipse Enterprise / Workbench / Servers / Jetty 7.. Point the JDK for Jetty 7.x to a 1.6 JDK
Launch in Debug Mode
Click on the button to Deploy MyEclipse J2EE Project to Server
Click Add. Should take a little while to deploy. Click the arrow for Run/Stop/Resart MyEclipse Servers.
Choose Jetty 7.x Start. Your server should now be running. It should create the tables in the databases and create an Admin User with an Admin Password. You can view the index page at http://localhost:8080/ActionCenters/index.jsp.