Actions
Setup Development Environment » History » Revision 8
« Previous |
Revision 8/9
(diff)
| Next »
chin-yeh, 12/01/2011 11:30 AM
- Table of contents
- Setup Development Environment
Setup Development Environment¶
This guides describes how to setup the Eclipse development environment.
Steps:- install the Apache Maven (Install Maven)
- copy the settings.xml to the folder:
- Windows Vista or Windows 7 -
C:\Users\[your windows account name]\.m2
- Windows XP -
C:\Documents and Settings\[your windows account name]\.m2
- Windows Vista or Windows 7 -
- download the Provisioned Eclipse
- unzip it to your local computer
- navigate to the extracted folder, e.g. eclipse3_5, and edit the eclipse.ini to append the following line:
-vm C:/Program Files/Java/[[you JDK version]]/jre/bin/client/jvm.dll
sample:--launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519 -startup plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -vm C:/Program Files/Java/jdk1.6.0_23/jre/bin/client/jvm.dll -product org.eclipse.epp.package.jee.product --launcher.XXMaxPermSize 256M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m -vmargs -Xss2m -XX:PermSize=128m -XX:MaxPermSize=256m -XX:MaxGCPauseMillis=10 -XX:MaxHeapFreeRatio=70 -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+CMSIncrementalPacing -XX:CompileThreshold=5 -Dosgi.requiredJavaVersion=1.5 -Xms128m -Xmx512m
- launch the eclipse.exe
- the select workspace dialog will be prompted up, either setup a new one or point it to your existing workspace
- after that, go to Window -> Preference
- select General -> Content Types -> Text -> JSP -> JSP Fragment
- press the Add button and enter
*.inc
in the Content type field - press OK to save the changes
- (not applicable to Maven project) for web application project, add the following libraries to the Java Build Path (Properties -> Java Build Path -> Libraries)
- (optional) (skip this step if do not want to replace your existing CVS & SVN repository settings)
- import the following eclipse preferences (File -> Import -> General -> Preferences)
- done
Updated by chin-yeh about 13 years ago · 8 revisions