Eclipse plugin issue

Because I encountered a lot of troubles after installing the Activiti plugin this time, I am determined to talk about the plugin issue based on what Baidu has learned in the past few days, hoping to help more netizens to solve the confusion. So this time, let's take the installation of the Activity plugin as an example

Today's article mainly introduces several aspects:

   Several installation methods of Eclipse plug-in

   How to see what plugins are installed in your Eclipse

   How to remove installed Eclipse plugins

   How to update an already installed plugin

1. Several ways to install the Eclipse plug-in

  1. Online installation

    Prerequisites: Internet access required

   (1) Click Help --- "Install New Software 


    

 (2) Click Add in the pop-up Install box and an Add Repository will pop up, then fill in Activiti BPMN 2.0 designer in name and http://www.activiti.org/designer/update in Location



  (3) After clicking OK, the name of the plug-in will pop up (remember, this place is selected according to requirements, not all of them. I only need one item here, so I will select all), and the following Contact all update sites during install to find required softwire uncheck (because if it is checked, it will be updated online in this hole when you choose it later, which will cause your Eclipse to be very stuck)


 (4) Then you need to wait quietly, and then just go to the next step.

 (5) Then after completion, a progress will appear on the Eclipse icon below the computer, and then you will be asked to restart. After restarting, you can use the plug-in

The second: similar to the above steps, the difference is that the above is an online installation, this is an offline installation

   Prerequisites: Download required plugins

     This process is similar to the above method, the difference is the second step. When selecting a plug-in, just select the local downloaded plug-in, so here is the second step.

    (2) Click Archive, and then select the locally downloaded plugin. The following steps are the same as the above and will not be described in detail. Here is an Activiti plugin download address: https://www.activiti.org/designer/ archived/activiti-designer-5.18.0.zip

   


  The third type: copy the plug-in directly to the root directory of Eclipse

   Prerequisites: There are downloaded plugins

     General Eclipse plug-ins have features and plugins directories (but after unzipping fatjar, you will find only plugins directory). Then copy the files in the two folders to the features and plugins under the corresponding folders under eclipse respectively.

This way is the most direct but also the worst way! Because it will be very difficult to delete these plugins in the future! Strong ones are not recommended! !

  Note: After unzipping the plugin package directly to the plugins folder, restart eclipse, the new plugin may not be loaded.


The workaround is: 

   1. Open the command line, go to the current eclipse directory, enter eclipse -clean, and restart eclipse, so that eclipse will add a new plug-in.

   2. If the plugin cannot be upgraded, please delete the eclipse\configuration\org.eclipse.update directory and then start eclipse:

Fourth: use the link file method

Create a new links folder in the root directory of Eclipse, and then create a file with the extension link in links, and the name can be arbitrarily such as fatjar.link. The content of fatjar.link points to your plugin directory eg: path=D:\\Downloads\\Eclipse\\Eclipse plugins\\activiti-designer-5.14.1 or path=D:/Downloads/Eclipse/Eclipse plugins/activiti- designer-5.14.1 . Just restart Eclipse.

   Note: The path of path=plugin directory in the link file should be separated by \\ or /.


Note: Compare the above four ways:

    The first one is the simplest. It is enough to provide an address to the thick waist, but the installation is very slow. The installation of the Activi plug-in can be completely displayed, but it is relatively fast to install some framework plug-ins.

    The second is faster than the first, but it is more troublesome to find the plug-in by yourself (or download it on the official website or search online), and sometimes you need to repeat the download several times to succeed.

    The third and fourth are very simple, but the fourth is better than the third, because the loose coupling of the directory is better, but there are definitely disadvantages.

    The latter two cannot be found in Help > About Eclipse > Installation Details > Installed Software, but they can still be found in Help > About Eclipse > Installation Details > plug-ins, so they cannot be downloaded directly


2. How to check what plugins are installed in your Eclipse

 (1) View the first installed plugin

    First, after installing the plugin, you can search for it in the newly created Other after restarting


   

Search in the New box that pops up


Of course, you can also see it in the Window's preferences.

  




In addition, it provides to see what plugins are all installed

 The first:

Open the home page of eclipse, click the [help] menu and click the [AboutEclipse] option (1) The version information of eclipse is displayed above. (2) Click the [Installation Details] button to view the installation details. On the [InstalledSoftware] tab, you can see all the software you have installed. can be seen later


the second

 (1) Click Help --- "AboutEclipse

        



 (2) Then click the Installation Details of the About Eclipse box that pops up

   (3) See in the pop-up Eclipse Installation Details

   


3. Delete the plugin

(1) Click Add ---- "Eclipse Marketplace


 (2) Then click Installed in the pop-up Eclipse Marketplace box, and then


(3) Select the plugin to be deleted, click Confirm, and then click Finish


Fourth, update the plug-in

Use Help > Software Updates > Find and Install, select the plug-in to be upgraded, and follow the prompts.



In addition, it is important to note: when we install a plug-in unsuccessfully, and then reinstall it, we need to perform the following steps

  

  1. Delete the org.eclipse.update folder in the configuration folder under the eclipse installation directory and start eclipse.
  2. Open eclipse, click Manager (Available Software Sites or this, because different versions of Eclipse tools have different situations) in the pop-up window after Help->Install New Software, and delete the resource information set by method 1. 









Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324847233&siteId=291194637