Sei sulla pagina 1di 10

1. Setup the development environment. o Java sdk 6 Download at http://www.java.com/en/download/manual.jsp Set JAVA_HOME in your environment. o Eclipse Download: 1.

1. Window (32bit): http://www.eclipse.org/downloads/download.php? file=/technology/epp/downloads/release/helios/R/eclipse-jee-helioswin32.zip


2. Mac: 1. 32bit: http://www.eclipse.org/downloads/download.php? file=/technology/epp/downloads/release/helios/R/ecli pse-java-helios-macosx-cocoa.tar.gz 2. 64bit:

http://www.eclipse.org/downloads/download.php? file=/technology/epp/downloads/release/helios/R/eclipsejava-helios-macosx-cocoa-x86_64.tar.gz Unzip to some folder such as "D:\ProgrameFiles". Open the folder above and run eclipse.exe Install Svn plug-in for eclipse: Choose Help/Install new software on the menu, then past the url http://subclipse.tigris.org/update_1.6.x into Work with. Next choose button Add, check all and finally choose Next to install the plug-in.

Close the current eclipse, then go to command line and move to eclipse folder D:\ProgrameFiles\eclipse. Type this command: eclipse -clean to make sure the svn plug-in work as well for the steps below. When the eclipse has started already, lets choose File/New then select Svn to create the project from the svns url.

Next choose "create a new repository location", and past this url "https://222.255.167.145:8443/svn/facilio/trunk/Facilio".

Then choose "Next, Next" as pictures below

Finally choose the project's location and click on button "Finish"

2. Install more plug-ins. o Install Vaadin plug-in: do the same way with Svn plugin which you did before with this url http://vaadin.com/eclipse o Install Maven plug-in with 2 urls: http://m2eclipse.sonatype.org/sites/m2e http://m2eclipse.sonatype.org/sites/m2e-extras o There are some extras if you want to see nice codes with Spring highlight and use Oracle in your eclipse (optional) Spring Source Tools: 1. http://dist.springsource.com/snapshot/TOOLS/composite/e3.6 2. http://dist.springsource.com/snapshot/TOOLS/nightly/e3.6 Oracle tools: 1. http://download.oracle.com/otn_software/oepe/helios o If you have any problems with plug-in, lets restart eclipse with command eclipse -clean as below step. 3. Build and run the project. o Update plug-in libraries for the project by Maven Right click on the project, then choose properties to make sure that Jre system library which base on Java sdk 1.6.

Right click on the project again, and then choose Maven/Update Dependencies

Wait for awhile, and then see the updated libs.

Build and run the project: Run Maven-install for the first-time. Right click on the project, and then choose Run As/Maven install

Run project on server. Right click on the project, and then choose Run As/Run on Server

Time of harvesting, open the Firefox and type http://localhost:8080/Facilio

Potrebbero piacerti anche