Eclipse/myeclipse updates, plug-in installation and Optimization

Source: Internet
Author: User

<Type = "text/JavaScript"> <type = "text/JavaScript"> 1. Install the myeclipse7.0 plugin.

"Switch" first describes how to install the plug-in. myeclipse7.0 integrates eclipse3.4. Many people do not know how to install the original plug-in MySQL 7.0. In fact, in version 7.0 (eclipse3.4), a new folder named dropins is provided to replace the original link directory. Now you can put the plug-in directly under this directory or. link file, put it in this folder. Myeclipse will automatically load the plug-in, but it seems that there is a problem with the current version of the plug-in uninstall, may be related to the cache. Dropins supports the following directory structures:
1. Put all the plug-ins together
% Myeclipse_home %/dropins/
Eclipse/
Features/
Plugins/
2. Storage by plug-in type
% Myeclipse_home %/dropins/
SVN/
Eclipse/
Features/
Plugins/
Jad/
Eclipse/
Features/
Plugins/

3. Link Storage
% Myeclipse_home %/dropins/
SVN. Link

Ii. Optimize myeclipse

1. Remove unnecessary modules

"Turn 』
20% of a system's functions often meet 80% of the requirements, and myeclipse is no exception. We only need 20% of the system functions in most cases, so we can disable loading and starting some unused modules. Open the Configuration window through windows-preferences, and select general-startup and shutdown on the left. The module loaded at eclipse startup is displayed on the right, you can remove some modules according to your actual situation.
Windows-> perferences-> General-> startup and Shutdown

Disable useless startup items:

How can we know which startup items are useful? I want to explain the usefulness of the startup items I know. I hope you can reply to them as follows:
WTP: similar to myeclipse, the main difference is that WTP is free of charge. If myeclipse is used, this can be canceled.
Mylyn: A team task management tool, similar to CVS, which manages the project progress in task units and can be canceled if it is useless.
Derby: a database saved as a jar. It is useless and canceled.
A large batch of startup items starting with myeclipse easie: the servers supported by myeclipse are only used by myself, and other items are canceled. For example, I only select Tomcat

2. Cancel the project configuration file automatically verified by myeclipse at startup.

By default, myeclipse automatically verifies the configuration file of each project at startup. This is a very time-consuming process. You can select myeclipse-validation in sequence in the preferences window, then, only the manual items can be retained in the validator list on the right. If you only need to select the file for verification, right-click and choose myeclipse-run validation.

Windows-> perferences-> myeclipse-> Validation
Drop all vertices except manual. Only classpath dependency validator is left in build.

Manual verification method:

On the file to be verified, right-click and choose myeclipse> RUN validation.

3. Remove the spelling check (if you think it is useful, do not go)

Spelling check will cause us a lot of trouble. Our method names will all be abbreviations of words, and he will also prompt errors, so it is best to remove them, so it is not very useful:
Windows> perferences> General> Validation> editors> text editors> spelling

The default JSP editor opened by myeclipse is not good. The preview will be opened at the same time.
Windows-> perferences-> General-> editors-> file associations,

Change the default value to myeclipse JSP editor.

4. Disable Automatic Updates.

Windows> preferences> myeclipse> community essen,
Select search for new features on startup"

For myeclipse7.0:

(1) There is a Maven that can turn off Automatic Updates:

Window-preferences-myeclipse enterprise Work-Maven4MyEclipse-Maven, deselect download repository index updates on startup!

(2) Disable update scheduling: window --> preferences --> General --> startup and shutdown --> Automatic Updates schedes (remove the preceding check box)

5. Increase Non-heap memory of JVM

Open eclipse. ini
-Showsplash
Com. genuitec. myeclipse. Product
-Launcher. xxmaxpermsize
256 m
-Vmargs
-Dosgi. requiredjavaversion = 1.5
-Xms128m
-Xmx512m
-Dosgi. splashlocation = E: myeclipse 6.0eclipsemyeclipsesplash.bmp
-Duser. language = EN
-XX: permsize = 128 m
-XX: maxpermsize = 256 m

Increase the following-XX: maxpermsize, such as-XX: maxpermsize = 512 m, and then change-XX: permsize to the same size as-XX: maxpermsize.

3. Use a proxy to upgrade myeclipse

Since I used Java, I have been using eclipse. Since the Eclipse plug-in is too difficult to install, I gradually rely on myeclipse. However, myeclipse does not need to do anything. For example, the svn plug-in is not provided by default, so you have to install it on your own.

There are two ways to install the plug-in: Download the zip package from the plug-in official website, and decompress the package to overwrite features and Plugins in the eclipse main directory; in addition, according to the Update site provided by the plug-in official website, click "Help-> Software Updates-> available software-> Add site" in eclipse (similar to myeclipse ), select to install the software and then download and install the software.

I am such a kind of person: I will be very embarrassed when I think it can be done together; but once I want to do well, I will spare no effort to pursue perfection, including code and tool cleanliness. So I usually choose the second method to install the plug-in.

The second method is actually very slow, which often delays me a lot of time. In addition, when I upgrade to myeclipse 7.1, the site update function will be unavailable, and the speed will be slow to unacceptable (the progress bar will basically remain unchanged). The error will end after a long time. With the tcpview check, myeclipse and upgrade server between the dead in the SYN-SENT loop, the original is my motherland "closed lock" caused. I used to think that my home country only "sealed" the myeclipse website. I didn't expect to block even the Update site. I really don't understand what these pig Piers want.

There are still some solutions, that is, Agent update. The online web page proxy cannot work, so you have to find the proxy server. Find the http://www.sooip.cn/Article_search.asp through Google, the site provides a good proxy availability, I found a Mexican address in the proxy report that day, tested with IE, the speed is good (:-) thanks to the Mexican people ).

Set manual proxy configuration in myeclipse-> preferences-> General-> network connection. Then update again. The progress bar is moving ......

Go back and install the svn plug-in for eclipse. You may ask how to use eclipse for a while. myeclipse? Sorry, my work is complicated. myeclipse, eclipse-Java, and eclipse-CPP all need :(.

Thanks to the download of the latest eclipse 3.4 (Ganymede), it seems that subclipse is no longer easy to use, and I have seen subversive in myeclipse 7.1 after the upgrade. I also want to try it. For more information about how to install subversive, see

Http://www.blogjava.net/aoxj/archive/2009/03/11/258941.html.

4. Install the Eclipse plug-in from a local compressed package

Upload subversive-incubation-0.7.7.i20090224-1900.zip, select subversive integration plug-in's (incubation), and then subversive-connectors-2.1.0.i20090213-1500.zip.

After restart, import-> svn-> project from Svn in eclipse can be used normally.

As described by the author, I know that you can download and install the plug-in after it is installed. In "Help-> Software Updates-> available software-> Manage sites", you can "Add-> Archive" and select the pre-downloaded plug-in ZIP file, in this way, you can not only manage the installation and uninstallation of plug-ins in eclipse, but also ensure the installation speed, or spare or copy the plug-ins to others.

For a long time, I hope that my twists and turns will help my friends who are just as confused as me.

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.