non-intrusive installation plug-in method (links installation method)
Since there is an intrusive installation, said the meaning, there is a "non-invasive installation", but also some people become links installation method, the following see exactly how to install:). Non-invasive installation is also divided into two kinds, one is the absolute path installation method, one is the relative path installation method. First look at the method of absolute path installation. In the installation process above, we will NLpack1 the Chinese language pack-eclipse-sdk-3.2.1-the Win32.zip plugin is decompressed to a place that assumes the directory structure of the F:\myplugins directory folder as follows: NLpack1-eclipse-sdk-3.2.1-Win32eclipsefeaturesplugins then create a new folder in the Eclipse installation directory links, create a new text document (the suffix can be. AAA,. ZZ, not necessarily. txt) NLpack1-Eclipse-sdk-3.2.1-win32.txt, the contents are as follows: Path=f:/myplugins/nlpack1-eclipse-sdk-3.2.1-win32, the path's spacer is "/" or "\ \". This will install the plugin.This is the "non-intrusive absolute path plug-in Installation" method, below to see how to become absolutely relative, so that eclipse is no longer dependent on the operation of Absolute path, this is the advantage of relative path installation. During the absolute path installation process, we create a new links and Myplugins folder under the Eclipe installation directory F:\eclipse and add the Chinese Language Pack plugin NLpack1-eclipse-sdk-3.2.1-win32.zip Unzip to F:\eclipse\myplugins, the directory structure is unchanged. Then modify the new file Nlpack1-eclipse-sdk-3.2.1-win32.txt in the links directory as follows: path=myplugins/ Nlpack1-eclipse-sdk-3.2.1-win32, you can do it.relative path installation need to note that the plugin directory myplugins must be built under the installation directory of Eclipse, can be arbitrarily named, all the plug-ins are best placed in this directory (easy to manage), each plug-in corresponding to a links directory in a text configuration file. The links directory name can only be named links. This installation process is very clear, I do not do a summary of the installation process, in addition, there are some plugins are installed online, this is another matter, but I strongly recommend that you use the links installation method.
Optimization
The goal of optimization is to make eclipse run more stable and smoother and faster!
First: Memory optimization
After eclipse is installed, there is a config.ini file in the installation directory with the following contents:
-vmargs
-xms40m
-xmx256m
This file is used to configure the memory allocation scheme at the time of Eclipse startup, XMS is the initial memory size, XMX is the maximum available memory size, the default configuration is the Eclipse resource consumption minimized configuration. If your project is relatively large, this configuration must be changed, generally appropriate adjustment to 128,384, if the project is larger, adjust the larger, according to the actual situation. The size of this parameter configuration is critical, too small, and eclipse garbage collection is too frequent to cause slow, or a memory stack overflow that crashes. Too big, eclipse eats a lot of memory and the garbage collection cycle gets longer, but each recovery is slow and affects usage. So you need to weigh in the configuration, try!
Second: plug-in optimization
When you install a number of plug-ins, will consume a lot of memory resources, for this you only need to remove the unused plug-in configuration files from the links directory, note, not delete, you can create a new _useless in the links directory, the unused configuration file to move it, use the time to move back.
Reference:
Eclipse Installation Configuration summary (WST WTP) (EXT)-Lostheaven-Blog Park
Http://www.cnblogs.com/lostheaven/archive/2009/01/12/1374363.html
Eclipse Plug-in installation: non-intrusive approach