Use of the Eclipse Auto-sync plugin Filesync

Source: Internet
Author: User
Tags tomcat server

Use of the Eclipse Auto-sync plugin Filesync (2013-08-30 10:02:57) reproduced
Tags: it Category: Eclipse
    This article is the same as the one I wrote before, "Automatic deployment Web project under Eclipse", which is just the same way of achieving the goal.    ok, before that, let's forget about the automatic deployment of Tomcat. One, install filesync    first to download the installation file, enter the http://andrei.gmxhome.de/filesync/ Links.html, according to the official statement, is to install the corresponding Filesync version according to the version of Eclipse. I am here, recommended to download the latest version of 1.3.8.     will download the files, put into the Eclipse\dropins directory, most of them said must be placed in the \dropins directory, in fact, I tested the next, put under the eclipse\plugins, equally feasible. However, for security reasons, you should put the \dropins directory.     the installation is complete.   Two, check if Filesync is available      open Eclipse Project, select any project, right click, see "Force file Synchronization" option, if you see, Then the installation succeeds.    Third, manually deploy the Web project     filesync is not fully configured yet, but I skip this step first.      first manually deploy a common Web project.      in your project Expolrer, select a project: MySQL.      Right-→export→war file to put the resulting war package into Tomcat's Webappas, such as: C:\Program Files\apache Software Foundation\tomcat 5.0\webapps\mysql.war     start Tomcat, open localhost:8080/mysql, is it normal to browse? If you can, that's OK. Like my:      Four, continue to configure Filesync     back to eclipse, in your "Project Expolrer", select the project: MySQL, right-click on "Porperties", then "file synchronization" for detailed setup.      tick "Enable Filesync builder for Project", click "Add Floder", here you need to select the range you are ready to sync, the recommended selection      
Set the "Deaflut target Folder", here is the detailed directory of your deployment, before we have manually deployed the MySQL project, is placed in C:\Program Files\apache software foundation\tomcat 5.0\webapps\mysql.war so the address here is: C:\Program files\apache software Foundation\tomcat 5.0\webapps\mysql.war
OK, now, set all done  today re-examined the next article, found a bit wrong, set the address in "Default target Folder", not the end of the. War, such as your project is: MySQL, then the correct address is: C:\Program Files\apache Software Foundation\tomcat 5.0\webapps\mysqlFive, modify the project view effect we modify the project file to see if we can synchronize with the target directory (C:\Program files\apache software foundation\tomcat 5.0\webapps\mysql.war). Simply change the "user" to "ID", "Password" to "passwd", as follows: After saving, go back to eclipse, in your "Project Expolrer", select the project: MySQL, right click on "Force file Synchronizat Ion "option, when you click on this option, there will be no noticeable wait response, so don't be silly. Six, refresh the page, see the latest Effect Refresh Localhost:8080/mysql page, see just modified, whether the display
Yes, it shows exactly what we just modified. So, even if it succeeds.
Seven, summary and "Eclipse Automatic Deployment Web project Settings" article, the purpose is actually the same, all for the sake of convenience, once modified, as long as a refresh, you can complete the automatic deployment, but save the steps to create a tomcat server.

Use of the Eclipse Auto-sync plugin Filesync

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.