Eclipse with myeclipse Configuration
Author: CAC
Redactor: valley_rain
Myeclipse plug-in is the most commonly used webapplication development plug-in eclipse.
Fill in the WTP and workshop plug-in configuration with the actual use of the brothers.
It is recommended that you use myeclipse for easy installation. The speed and functions of myeclipse4.1ga and later versions are much higher than before, and myeclipse can be installed to reduce many plug-ins (Tomcat and other running components, XML, JSP, javascript Editor, DB, UML components, spring, hibernate, JSF, and other components) installation is a quick Eclipse plug-in.
- Configure Tomcat Service
Menu Bar window -- preferences -- myeclipse -- application servers -- Tomcat 5.
Select enable for Tomcat server and set Tomcat home directory.
-- JDK, Tomcat JDK name, add JDK, select 1.4.x, and set JRE home directory.
-
- Install SVN plug-in online
Menu Bar help-Software Update-Find and install-Choose search for new features to install-Press new remote site,
SVN for name and URLHttp://subclipse.tigris.org/updateUntil finished.
- Menu Bar window -- show View -- Other -- select to open the svn repository under the svn directory
New-repository location, URL filledHttp://svn.javascud.org/svn/springside/trunk
-
- Select ()...
-
- Make sure that the Web root folder is set to webapp.
-
- Run the build. BAT file in the bin directory of the springside Project (you need to set java_home in the environment variable ).
Enter the information and enter myeclipse to generate the default myeclipse project file.
-
- Run build. bat in the bin directory of the springside project and enter Maven-jar or directly run the maven-jar.bat file deployment item
After Maven is run, pay attention to refresh the springside project in eclipse. All jar packages will
Auto add to bulid path
-
- Run the build. BAT file in the bin directory of the springside project and enter compile or war to compile the project file.
-
- Refresh Project
-
- In package explorer, right-click springside and choose myeclipse -- add and remove project deployments.
On the project deployments page, select springside for the project, press add, select Tomcat 5 for the server, and click Finish.
-
- There is a server icon in the navigation bar. Select tomcat5 from the drop-down list and select start to run.
-
- If an error message is displayed during project startup, we recommend that you enter war when running the build. BAT file. Then redeploy the project.
- Open your browser and enterHttp: // localhost: 8080/springside
Digress:
- Use ant in eclipse to execute build. xml
After the springside project is updated, select the build. xml file, right-click Run as ---> ant build, and enter the task to be executed in the input column to run the batch file.
- Redeploy a file using myeclipse
Select springside, right-click myeclipse -- add and remove project deployments, select deployed entries in the project deployments interface, and click redeploy.
--> inline decoration begins here.
--> identified directly by the context.
-->