Installation and configuration of Eclipse for JeeConfiguration64-bit Eclipse configuration
Configure the JDK for x64 as an environment variable, or add the following code to-vmargs in Eclipse.ini (it is recommended to use jdk1.7 as the boot JDK for Eclipse to improve some performance):
-vmd:/development/jdk1.7 (x64)/BIN/JAVAW
Installing plugins
Jrebel
Official http://zeroturnaround.com/
EGit
The latest version of Eclipse has already installed the plugin natively, so this step can skip
-
Install URL http://download.eclipse.org/egit/updates/
-
SSH2 configuration and key configuration, copy the. SSH directory from the original Cygwin to the system user directory
Subclipse
Official http://subclipse.tigris.org
M2eclipse
The latest version of Eclipse already has a MAVEN plugin installed natively, so this step can skip
Install URL http://download.eclipse.org/technology/m2e/releases/
Properties Editor
Install URL http://propedit.sourceforge.jp/eclipse/updates/
Working Space Configuration
Configure Tomcat
-
Server > Runtime environments Add tomcat to try to configure the latest JDK version for backwards compatibility
-
In the server panel, in the book configuration of Tomcat, configure timeouts for start 180, configure the deployment path in server locations
Configure the browser
Configure the Web browser,internal (internal) or external (external) browser and configure the default browser
Modify Font
Modify the default font, reference: enlarge one pixel, otherwise the Chinese font is very small (recommended settings Consolas, General, 11)
Add User Libraries
-
Java 1.4 J2ee1.4.rar
-
Java EE 5 Javaee5.rar
Import Code Format template
Code Template: Codetemplates.xml
Configure Maven
Locate the current user directory (such as Win7:c:\users\username; Winxp:c:\documents and Settings\username; Linux:/home/username), in which a. M2 directory is created, in which a settings.xml
Project configuration:
-
Activate MAVEN configuration, right-click Project Configure > Convert to Maven Project
-
User Libraries added to the Java EE 1.4 or 5
-
Go to property Configuration Project Facets
-
Dynamic Web Module Select version 2.5
-
Right runtimes Select Tomcat Service
-
Configure further configuration available ..., enter the correct content directory, such as Webroot, default WebContent
-
Integrate Maven Lib into release settings in deployment assembly, while adding dependent projects
Installation and configuration of Eclipse for Jee