Install Eclipse plug-in link mode and set parameters

Source: Internet
Author: User

Install Eclipse plug-in link mode and set parameters

1. To facilitate management of many plug-ins, we recommend using links to install various Eclipse plug-ins

1> eclipse basics-install the Eclipse plug-in using links
Eclispe should be familiar to everyone. Generally, Eclipse plug-ins are installed in the Plugins directory. However, after many plug-ins are installed, eclipse becomes very large. The most important thing is that it is not easy to update and manage many plug-ins. Installing the Eclipse plug-in using links can solve this problem.
Now, assume that my eclipse installation directory is D: \ eclipse and the plug-in directory to be installed is D: \ plug-in. I will install the languagepackfeature (Language Pack) EMF-SDO-XSD-SDK, GEF-SDK, and lomboz. Put all the four plug-ins in the D: \ plug-in directory and decompress them separately. For example, if lomboz3.0.1.zip is decompressed to the lomboz3.0.1 Directory, which contains a directory of plugins, you must first create a subdirectory eclipse in the directory of lomboz3.0.1, and then move the directory of plugins to the newly created eclipse directory, that is, the directory structure is as follows: D: \ plug-in \ lomboz3.0.1 \ eclipse \ plugins

Eclipse will go to the specified directory to find the eclipse \ features directory and eclipse \ plugins directory to see if there are legal functional components and (or) plug-ins. That is to say, the target directory must contain a \ eclipse directory. If the attached feature and plug-in are found, the configuration is available during the runtime. If the linked file is added after the workspace is created, the additional feature and plug-in will be processed as new configuration changes.

If the directory of eclipse \ plugins is already included After decompressing other compressed files, you do not need to create an eclipse directory.

Create a sub-directory link in the eclipse Installation Directory D: \ eclipse directory, and create a link file in the Link directory, such as languagepackfeature. link: Change the file content to Path = D:/plug-in/languagepackfeature. That is, the link file must correspond to a directory of the plug-in just extracted. Note:

1. Plug-ins can be installed in multiple custom directories.

2. Multiple plug-ins can be installed in a custom directory.

3. The file name and extension name of The Link file can be any name, such as ddd.txt and myplugin.

4. In the link file, Path = the path of the plug-in directory must be \ or/

5. There can also be multiple link files in the links directory, and the path parameter in each link file will take effect.

6. The plug-in directory can use relative paths.

7. You can create a subdirectory in the links directory to transfer unused plug-ins to this subdirectory to accelerate eclipse startup.

8. If you cannot see the plug-in after installation, delete the org. Eclipse. Update folder under the configuration directory under the eclipse directory and restart it.

[2] environment variable settings
Java_home = c: \ jdk1.4

Path = % PATH %; C: \ jdk1.4 \ bin

Classpath = .; % java_home % \ Lib \ DT. jar; % java_home % \ Lib \ tools. jar; % atat_home % \ common \ Lib \ servlet-api.jar; % tomcat_home % \ common \ Lib \ jsp-api.jar

Catalina_home = c: \ tomcat5.0

Tomcat_home = c: \ tomcat5.0

[3] installing atatplugin (Integrating Tomcat web server in eclipse)

1.decompress tomcatplugin.zip

2. Copy the decompressed directory atatplugin3.1 com. sysdeo. Eclipse. tomcat_3.1.0 to the Plugins directory in the eclipse installation directory, that is, D: \ eclipse \ plugins.

3. Start eclipse

4. after startup, you will see a drop-down Tomcat option in your menu, and three Tomcat cat charts in the shortcut bar. If not, click the window) -> customize the Perspective (mimize perspective), expand "It (other)" in the tree structure, and select "Tomcat"

(Or there is a good way: Delete the entire Directory D:/Eclipse/configuration/org. Eclipse. Update and restart eclipse as described above)

5. Click WINDOW> preferences)

Click tomcat in the tree on the left,
Set tomcat version to version 5.x
Set tomcat-home to c: \ tomcat5.0
 
In the left-side tree, click tomcat-> JVM setting and set JRE to JDK. In the sub-option "JVM Settings"-> "classpath" of the "Tomcat" option, add JAR/zip, this value should be java_home/lib/tools. jar (that is, install the tools in the Lib package of the JDK package. JAR file ). This is used to compile JSP files. In the left-side tree, click the Java-> classpath variables sub-option and add a new variable "tomcat_home" with the path c: \ tomcat5.0. Make sure that the "Tomcat" menu and
Three toolbar buttons are available. So far, we should see a "Tomcat" menu and three Tomcat toolbar in the Java view.
6. Click start Tomcat to start Tomcat.

For settings, see the following images:

 

Create a new JRE and configure it according to the directory installed by your JDK! Click OK and check the check box before the configured JDK.

According to the JDK configured in the previous step, import the jar packages started by Tomcat. The other configurations are simple and the two steps are the most error-prone.

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.