|
Monday, 25 May 2009 04:42 |
|
- Installing JDK 1.6 (or later)
- Extract from j2sdk1.6.zip to C:\Program Files\Java
- Set JAVA_HOME to C:\Program Files\Java\jdk1.6.0_13
- Add %JAVA_HOME%\jre\bin to %PATH%
- Extract eclipse3.3.zip to C:\Program Files\eclipse-3.3
- Create shortcut of C:\Program Files\eclipse-3.3\eclipse-3.3\eclipse.exe
- Installing Maven 1.0.2
- Instal : maven-1.0.2.exe
- Test maven installation:
- Open cmd.exe from run
- Write : maven [ENTER]
- Until it shown like this
__ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 BUILD SUCCESSFUL Total time: 1 seconds Finished at: Wed May 13 11:54:52 GMT+07:00 2009 - Set MAVEN_HOME to C:\Program Files\Apache Software Foundation\Maven 1.0.2
- Add %MAVEN_HOME%\jre\bin to %PATH%
- Preparing Source Code
- Preparing Source Code :
- Create working folder : eproc\source and eproc\Design to your drive
- Click right to that folder, then > Checkout
- Write : http://10.1.16.201/svn/eproc/source in URL Repository
- Fill your svn username and password if required
- Also checkout http://10.1.16.201/svn/eproc/source into eproc\Design
- Preparing for Eclipse :
- Open cmd.exe then change directory to eproc\source\branches\epns-web
- Write : maven eclipse [ENTER] ( This statement must be called each time files project.properties & project.xml modified to download new jar )
- Open eclipse, click File > Import
- Choose Existing Projects into Workspace > click next
- Select root directory > Browse to eproc\source\branches\epns-web
- Click Finish
- Preparing Maven Repository
- Open eclipse.exe
- Click Window > Preferences
- Navigate to Java > Build Path > Class Variable
- Click New. Write Name : MAVEN_REPO
- Click Folder, browse to C:/Documents and Settings/ [YOUR_WINDOWS_USER]/.maven/repository
- Click OK
- Running LPSE Via Eclipse
- Open eclipse.exe
- Browse project
- Run project
- Open http://localhost:8080/ in your browser
 |
|
Last Updated ( Wednesday, 27 May 2009 03:15 )
|