Eclipse with myeclipse configure SVN?

Source: Internet
Author: User
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.

    1. 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.

  1. 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.
  2. 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
  3. Select ()...
  4. Make sure that the Web root folder is set to webapp.
  5. 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.
  6. 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
  7. Run the build. BAT file in the bin directory of the springside project and enter compile or war to compile the project file.
  8. Refresh Project
  9. 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.

  10. There is a server icon in the navigation bar. Select tomcat5 from the drop-down list and select start to run.
  11. 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.
  12. Open your browser and enterHttp: // localhost: 8080/springside

Digress:

    1. 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.
-->

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.