Eclipse remote Development

Source: Internet
Author: User

The so-called Eclipse remote development is used in the new project. Refer:

Http://www.eclipse.org/eclipse/platform-core/documents/2.0/remote-development.html.

Generally, it can be divided into two modes: local resident and remote resident.

650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131228/13431G153-0.png "" 454 "height =" 222 "/>

Modify and save files locally, and copy the files to the remote server for compilation.

650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131228/13431J0R-1.png "" 454 "height =" 225 "/>

The remote server saves the file, synchronizes it to the local device for modification, and then uploads it to the server for compilation.

The boss requires remote resident. However, in actual application, it is not as convenient as local deployment. The above link mentions that one plug-in can be used to support two methods, but it does not tell us which plug-in is, O (plugin _ plugin) O ~. The following tools are introduced based on your own exploration on the Internet.

1. Eclipse RSE

It is provided after 3.5, and can be used to open the perspective.

650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131228/13431G108-2.png "" 348 "height =" 426 "/>

650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131228/13431L425-3.png "" 257 "height =" 359 "/>

Create a connection.

650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131228/13431M191-4.png "" 454 "height =" 525 "/>

650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131228/13431G213-5.png "" 454 "height =" 525 "/>

650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131228/13431LM0-6.png "" 259 "height =" 357 "/>

650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131228/13431KM1-7.png "" 332 "height =" 237 "/>

Open the terminal and start to operate the remote server.

2. ESFTP

: Http://sourceforge.net/projects/esftp. Decompress the downloaded package to the pluigins directory and restart Eclipse.

650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131228/13431L259-8.png "" 454 "height =" 252 "/>

Enter the same server configuration information as in the previous step.

650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131228/13431LL6-9.png "" 446 "height =" 514 "/>

If you try to upload a Java file, it's not good for you to be a teacher. If you click the button for half a day, the shortcut keys will not work. You must right-click the menu and execute it.

650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131228/13431G632-10.png "" 454 "height =" 53 "/>

Now available, open a terminal in Eclipse RSE to see if it has been uploaded.

650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131228/13431MJ0-11.png "" 454 "height =" 154 "/>

ESFTP is still intelligent, and the entire package structure is uploaded. After research, if it is a common file, such as build. properties, press the shortcut key or click the button. Java is about to analyze the entire directory structure. You need to add a few more O (partition _ partition) O ~.

3. Rsync

A PHP programmer can refer to the plug-in developed after ESFTP.

Official Address: http://rsyncplugin.sourceforge.net/index.html.

650) this. width = 650; "style =" border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px "title =" image "border =" 0 "alt =" image "src =" http://www.bkjia.com/uploads/allimg/131228/13431H235-12.png "" 454 "height =" 251 "/>

At this point, I basically gave up. Dude, you don't seem to be full of English (⊙ _ ⊙ )? Its settings really do not understand, Down the source code look at it: cvs-d: pserver: anonymous@rsyncplugin.cvs.sourceforge.net:/cvsroot/rsyncplugin login.

4. Ant

In the final analysis, Ant can synchronize some files and execute remote commands. I have previously written a blog post: http://lovepp.blog.51cto.com/4267593/471462.

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.