Visualizzazione post con etichetta eclipse. Mostra tutti i post
Visualizzazione post con etichetta eclipse. Mostra tutti i post

lunedì 4 marzo 2013

Eclipse Plugin 1

http://wiki.eclipse.org/Equinox_p2_Getting_Started_for_Releng

Equinox/p2/Getting Started for Releng

The Eclipse Ganymede (3.4) release introduces Equinox p2, a new platform for installing, managing, and updating Eclipse-based applications and extensions. p2 offers significantly improved functionality over the platform Update Manager used in previous releases. Leveraging this new functionality requires some changes for people building and assembling Eclipse-based applications and add-ons. This article helps buildmeisters and release engineers to get started with adopting p2. See also Equinox p2 Getting Started for an introduction to p2 from an end-user perspective.

Contents

 [hide]

Why should I make changes to adopt p2?

p2 offers significant advances over the Update Manager found in previous versions of the platform. Some advances include:
  • The ability to install complete Eclipse-based applications from scratch, above just augmenting and updating already installed applications.
  • The ability to install and manage an application from either inside the application or from another process.
  • The ability to install and manage artifacts other than plug-ins and features, such as launchers, root files such as licenses, configuration files, Java VMs, etc.
  • Dynamic discovery and high-fidelity resolution of software dependencies.
These advances require additional metadata about the software being installed above the information in the feature.xml and site.xml files used by Update Manager. Feature.xml files provide an incomplete picture of software dependencies - they are essentially a coarse-grained subset of the dependencies expressed in the plug-in manifest files (MANIFEST.MF). p2 metadata includes a complete description of these dependencies, allowing it to be 100% accurate about resolving dependencies at install-time. With p2, you can pick a single plug-in to install, and p2 will be able to compute the complete set of plug-ins and other artifacts required to satisfy the runtime requirements of that plug-in. To accomplish this, p2 needs to either obtain or create this high-fidelity dependency information at install-time.
Update Manager only supported adding additional content, or upgrading existing content, in an Eclipse-based application. It did not allow you to provision an entire application from scratch, including launchers and other files that were not plug-ins or features. p2 can install and update entire applications, including all these non plug-in/feature bits. To accomplish this, p2 needs to obtain or create the necessary metadata to reason about these artifacts and their dependencies.
The reason build and release engineering teams should take steps to adopt p2 is to produce this p2 metadata that allows p2 to support this new level of functionality.

What do I need to do to adopt p2?

The following sections describe steps to adopting p2 depending on what kind of outputs your project produces.

Zips of plug-ins and features

If your project produces zips of plug-ins and features for consumption by others, no action is strictly required. p2 provides a number of ways for an end-user to install such zips:
  • Drag into the "Software Updates" dialog in the UI
  • Unzip into the eclipse/dropins folder
  • Unzip directly on eclipse root directory (generally not recommended as it makes it difficult to distinguish added content from the base application).
However, when p2 encounters raw plug-ins and features, it needs to do some processing on the content to compute p2 metadata. This results in a slower experience for the end user when the content is first installed. You can optimize this by creating a p2 repository that contains your plugins and features. A p2 repository is created automatically if you export plug-ins and features from your IDE using the PDE plug-in export wizard. This adds a content.xml and artifacts.xml. p2 also provides a p2.generator Ant task or stand-alone application that can be invoked programmatically or from a build script to produce a p2 repository. See Equinox p2 Metadata Generator for more information about the p2 generator application.

Update sites

If you currently produce an Eclipse Update Site (site.xml), there is also no action required. p2 can install plug-ins and features directly from existing update sites produced for earlier releases of the Eclipse Platform. However, p2 needs to produce its metadata on the fly when a simple update site is encountered. This results in a slower experience for the end user when installing content from update sites. To eliminate this slowness, it is recommended that you p2-enable your update site by running the p2 update site publisher on it. This will add p2 metadata in the form of a content.xml and artifacts.xml file to your update site. See Equinox/p2/Publisher for more information about the p2 update site publisher application.

Artifacts.xml mapping rule change

By default, a SimpleArtifactRepository (artifacts.xml / artifacts.jar) looks for plug-ins and features in a subfolder of the repository. This is driven by mapping rules found in the artifacts.xml. this is a filter where the first entry to match wins (rules have to be specified from the most specific to the least). Here are for example the default rules for the Galileo repository:
<mappings size="5">
    <rule filter='(& (classifier=osgi.bundle) (format=packed))' output='${repoUrl}/plugins/${id}_${version}.jar.pack.gz'/>
    <rule filter='(& (classifier=osgi.bundle))' output='${repoUrl}/plugins/${id}_${version}.jar'/>
    <rule filter='(& (classifier=binary))' output='${repoUrl}/binary/${id}_${version}'/>
    <rule filter='(& (classifier=org.eclipse.update.feature) (format=packed))' output='${repoUrl}/features/${id}_${version}.jar.pack.gz'/>
    <rule filter='(& (classifier=org.eclipse.update.feature))' output='${repoUrl}/features/${id}_${version}.jar'/>
</mappings>
It is possible to change those rules to have a filter matching for a particular artifact and change the output to point to a specific location. Rules are specified in the mappings section of the artifacts.xml file. For example to make p2 to download the org.sat4j.pb plug-in through the eclipse.org download script (which provides download tracking) add the following line:
<rule filter='(& (id=org.sat4j.pb) (classifier=osgi.bundle))' 
   output='http://www.eclipse.org/downloads/download.php?file=/eclipse/updates/3.5milestones/S-3.5RC3-200905282000/plugins/${id}_${version}.jar'/>
To make p2 download the org.eclipse.platform feature using the eclipse.org download script, add the following line:
<rule filter='(& (id=org.eclipse.platform) (classifier=org.eclipse.update.feature)' 
   output='http://www.eclipse.org/downloads/download.php?file=/eclipse/updates/3.5milestones/S-3.5RC3-200905282000/features/${id}_${version}.jar'/>
Order is important.

Complete applications

If you currently produce your own Eclipse-based application, the action required for adopting p2 depends on exactly how you are building the application.

Applications created by dropping bundles on top of an existing application

If you currently create your own application by dropping extra plug-ins or features into an existing application (such as the Eclipse Platform application), then no action is required. When the application first starts, your bundles will be detected and corresponding p2 metadata will be generated.
However, there are some advantages to p2-enabling your application. This involves creating p2 metadata to represent the bundles in your application, and also to represent your application as a whole within p2 metadata. This would enable p2 to install or update your entire application, including non-bundle configuration files, as a single unit.
To p2-enable your application, run the Equinox p2 Metadata Generator on it. This will produce a p2 repository containing both p2 metadata for your application, and an artifact repository containing the bundles and other artifacts in your application. From this repository a p2 install operation can be executed to install your application (for example with the Equinox p2 Installer, or the Equinox p2 director application).

Applications created by using PDE product build

Add the following properties to your build.properties file:
generate.p2.metadata=true 
p2.metadata.repo = file:${buildDirectory}/repo 
p2.artifact.repo = file:${buildDirectory}/repo 
p2.metadata.repo.name = Meta Repo Name 
p2.artifact.repo.name = Artifact Repo Name 
p2.flavor = tooling 
p2.publish.artifacts=true 
This will generate a metadata/artifact repository that can be used for installing the application. You can test this by creating your own installer.properties file pointing to the newly created repository and use the Equinox p2 Installer. For instance:
eclipse.p2.rootId=foo.bar.product
eclipse.p2.metadata=file:///var/build/product/repo
eclipse.p2.artifacts=file:///var/build/product/repo
eclipse.p2.launcherName=product
eclipse.p2.autoStart=true
Then launch the installer using:
p2installer -vmargs -Dorg.eclipse.equinox.p2.installDescription=file:installer.properties

Plugin Eclips

Installando il plugin di PMD per Eclipse:

  • viene aggiunto al folder C:\Program Files\Java\eclipse-jee-juno-win32\eclipse\features la cartella net.sourceforge.pmd.eclipse_4.0.0.201211080927 con il seguente contenuto:


  • il contenuto coincide con il contenuto di net.sourceforge.pmd.eclipse_4.0.0.201211080927.jar scaricabile da: http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/features/
  • La feature raggruppa una o più plugin
  • viene aggiunto al folder C:\Program Files\Java\eclipse-jee-juno-win32\eclipse\plugins il folder net.sourceforge.pmd.eclipse.plugin_4.0.0.201211080927 con il seguente contenuto:

  • Il contenuto coincide con net.sourceforge.pmd.eclipse.plugin_4.0.0.201211080927.jar    scaricabile da http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/plugins/
  •  In C:\Program Files\Java\eclipse-jee-juno-win32\eclipse il file artifacts.xml è astato aggiunto:

<artifact classifier='osgi.bundle' id='net.sourceforge.pmd.eclipse.plugin' version='4.0.0.201211080927'>
      <properties size='1'>
        <property name='download.size' value='8271752'/>
      </properties>
      <repositoryProperties size='1'>
        <property name='artifact.folder' value='true'/>
      </repositoryProperties>
    </artifact>
...

    <artifact classifier='org.eclipse.update.feature' id='net.sourceforge.pmd.eclipse' version='4.0.0.201211080927'>
      <properties size='1'>
        <property name='download.size' value='7646'/>
      </properties>
      <repositoryProperties size='1'>
        <property name='artifact.folder' value='true'/>
      </repositoryProperties>
    </artifact>



martedì 30 ottobre 2012

Creare un progetto per Eclipse con Maven

Mi è capitato di scaricare un progetto opensource da source forge completo del suo file pom.xml, di compilarlo con Maven, ma di avere problemi a caricarlo su Eclipse.
Creando un nuovo progetto Java e importandoci dentro i sorgenti, non era ovviamente sufficiente a creare un progetto Eclipse adeguato, con i classpath e packages corretti.

Dopo un paio di ricerche con Google, ho proseguito così:

  • Da prompt dei comandi mi sono posizionato nella cartella a livello più alto del progetto, quella al cui interno si trova il folder src e le altre.
  • Da lì digito:    mvn clean eclipse:eclipse    che ha come effetto quello di creare un progetto per eclipse
  • A questo punto posso semplicemente andare in Eclipse e dal menù file seguo il wizard per importare un progetto già esistente.
  • Attenzione con questo sistema non viene creata la cartella "Lib" con dentro i realtivi jar. Quasta va copiata a mano, altrimenti non si può usare il designer.
Come alternativa a questa procedura è quella di usare     m2eclipse   . Si trattta di un plugin per Eclipse che va installato come gli altri plugin di Eclipse dal menù Help-Install new software- Available software site e si specifica: http://download.eclipse.org/m2e-wtp/releases/ (m2e-wtp releases repository)

QUesto strumento dovrebbe rendere più semplice importare, generare, manutenere progetti Maven con Eclipse.
In particolare dovrebbe mantenere allineato il classpath di Eclipse con il pom.xml di Maven semplicemente specificando dal menù Maven del progetto, la voce  Enable Dependency Management.
In realtà io nn ho trovato questa voce, e non l'housata.

Con m2eclipse dovrebbe essere semplice importare un progetto che fià dispone di un pom.xml, ma nel mio caso, forse per mia ignoranza, non sono riuscito a farlo (seguendo il wizard mi veniva chiesto quali moduli volessi importare ma nnosapevo cosa rispondere) e quindi non l'ho usato.

Informazioni interessanti si trovano in questo forum:

e in questa guida:
       

lunedì 17 settembre 2012

Eclipse Wizards

http://stackoverflow.com/questions/3710508/modify-eclipse-new-file-wizard


I would like to modify an already existing wizard in eclipse. My plan is to copy the existing wizard plugin to a new plugin an make the changes there. But how do I enable this modified wizard in eclipse?
I know how to create a local P2 update site but how do I make sure that the original wizard is replaced with the updated version?
share|improve this question

60% accept rate




This isn't an easy question, as Eclipse does not support changing existing wizards (and on global, Eclipse is built for adding features instead of replacing them).
Some ideas you could consider: you can define a new wizard, that can reuse existing pages, and simply add a new wizard, that does your trick, while the original one would stay.
How to install it: if you have a new wizard in a new plug-in, simply use the export wizard (Right click/Export), and there select the Deployable plug-ins and fragments wizard from the Plug-in development category. On the next page select the install into host feature, and the plug-in will be installed.
If you insist on replacing the plug-in (that is not the nice way), you could copy the entire existing plug-in, increase its version number and make your changes, then install this plug-in from an update site (or using the Eclipse wizard). Caveats: if the original plug-in is updated, yours have to be as well, and if both plug-ins have the same version, quite nice conflicts can be seen, that are quite hard to handle.
share|improve this answer
Thanks for the input! Currently I just create a new plugin which adds a new New File Wizard. But it could be nice to modify the "parent" wizard (which shows all the possible New File wizards) to only show selected number of wizards specified in the code - but I guess this gives the same problem. Alternatively I am considering this: wiki.eclipse.org/Steps_to_use_Fragments_to_patch_a_plug-in – u123 Sep 15 '10 at 15:58
Fragments only work, if the original plug-in was developed in a way to support fragments (see the second part where the host's manifest should be modified in the wiki). If you can modify the manifest, you have other ways to make differences in the code. E.g. add an option to the existing wizard to add new pages into it (e.g. using extension point, etc.) – Zoltán Ujhelyi Sep 17 '10 at 7:49


Which plugin is this?

Please forgive such a simple question, I've been away from RCP for about a year:
What shortcut/hot-key combination can I use in Eclipse to discover the plugin that contributed/owns the current view?
I remember it bringing up the plugin.xml of the plugin currently under the mouse.
I should be very grateful for your clues ..
The Plug-in Spy is mapped to Shift+Alt+F1 (Shift+Option+F1 on Mac) by default. It shows information for whatever is currently selected.
share|improve this answer


_________________________________________________________________________________

How do I update this plugin?

L'elenco dei plugin installati e relative versioni dovrebbero essere elencati in artifacts.xml della cartella di installazione di Eclipse.
Il plugin per il wizard del new java project dovrebbe essere:

    <artifact classifier='osgi.bundle' id='org.eclipse.jdt.ui' version='3.8.0.v20120524-1551'>
      <properties size='1'>
        <property name='download.size' value='10329219'/>
      </properties>
    </artifact>
che nella cartella plugin dovrebbe portare a org.eclipse.jdt.ui_3.8.0.v20120524-1551.jar


http://eclipse.dzone.com/news/effective-eclipse-custom-templ


http://bquot.com/wk

Integrare PMD nelle build di Eclipse

Ho installato il plugin di PMD su Eclipse, ma per eseguire l'anaalisi devo lanciare esplicitamente PMD.
Vorrei invece che pmd eseguisse l'analisi contestualmente alla build, senza che glielo chieda esplicitamente.

Ho pensato ad uno script ANT, ma anche in questo modo dovrei fare una configurazione ad ogni nuovo progetto.
Allora ho trovato un metodo più semplice: i builders.
Se non ho capito male occorre eseguire i seguenti passi:

1. Aggiungere due sezione al file .project:


<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>prova2</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>net.sourceforge.pmd.eclipse.plugin.pmdBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>net.sourceforge.pmd.eclipse.plugin.pmdNature</nature>
</natures>
</projectDescription>


2. Aggiungere un file .pmd nella root del progetto:

<?xml version="1.0" encoding="UTF-8"?>
<pmd>
    <useProjectRuleSet>true</useProjectRuleSet>
    <ruleSetFile>.ruleset</ruleSetFile>
    <includeDerivedFiles>false</includeDerivedFiles>
    <violationsAsErrors>true</violationsAsErrors>
</pmd>

3. Aggiungere il file .ruleset nella root del progetto contenenti le regole da applicare:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ruleset xmlns="http://pmd.sf.net/ruleset/1.0.0" name="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd" xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd">
   <description/>
   <rule ref="rulesets/controversial.xml/NullAssignment"/>
   <rule ref="rulesets/controversial.xml/UnnecessaryConstructor"/>
   <rule ref="rulesets/finalizers.xml/AvoidCallingFinalize"/>
   <rule ref="rulesets/finalizers.xml/EmptyFinalizer"/>
   <rule ref="rulesets/finalizers.xml/FinalizeDoesNotCallSuperFinalize"/>
   <rule ref="rulesets/finalizers.xml/FinalizeOnlyCallsSuperFinalize"/>
   <rule ref="rulesets/finalizers.xml/FinalizeOverloaded"/>
</ruleset>



In questo modo l'analisi viene eseguita insieme alla build e i risultati sono visibili direttamente sull'IDE di Eclipse.

A volte ci sono dei problemi di sincronizzazione, ma nel complesso mi sembra funzionare.

Resta da capire come far sì che tutti i progetti Eclipse ereditino queste impostazioni.

vedi anche:
http://sourceforge.net/projects/pmd-eclipse/forums/forum/457016/topic/5326905
http://www.smartics.eu/config-smartics-pmd/
_________________________________________________________________
Template:
http://stackoverflow.com/questions/2092200/project-templates-eclipse-java

domenica 16 settembre 2012

Install Eclipse Plugins – The Easy Way

http://stackoverflow.com/questions/5928736/how-to-uninstall-the-sysdeo-plugin
Uninstall:
EDIT: In your comment you say that you installed the plugin by dropping it in the "dropins" folder. Well, according to this, the way to uninstall it would be to just delete it from the "dropins" folder and restart Eclipse.
______________________________________________________________________________
http://stackoverflow.com/questions/582391/installing-eclipse-3-4-plugins-in-a-directory-other-than-eclipse-home-plugins
http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fp2_dropins_format.html
______________________________________________________________________________
It depends on what the zip contains. Take a look to see if it got content.jar and artifacts.jar. If it does, it is an archived updated site. Install from it the same way as you install from a remote site.
If the zip doesn't contain content.jar and artifacts.jar, go to your Eclipse install's dropins directory, create a subfolder (name doesn't matter) and expand your zip into that folder. Restart Eclipse.


_______________________________________________________________________________
http://www.eclipse.org/forums/index.php/m/523694/
Hi,

> But, the simple way to install your plugin is to copy the jar file in
> the directory eclipse/plugins and restart eclipse.

no, sorry, this isn't supported anymore and you should never do this because the p2 update 
manager manages the Eclipse installation. You could use the dropins folder if you really 
want to copy files around to install plug-ins.

Instead:

If you only want to install the bundle in your running IDE, use "Export > Deployable 
Plug-ins and fragments" and choose "Install into host".

If you want to create a p2 repository for others to install your plug-in, do this:

- Create a feature project that contains your bundle
- Optional: Create a category definition file if you want to categorize the repository
- Use File > Export > Deployable Features to export the feature with your bundle, make 
sure to choose "Generate metadata repository". You will get a repository folder 
(containing content.jar, artifacts.jar). This is your repository (= update site) you can 
use to install the feature into Eclipse using "Install New Software".

Greetings,

Ralf

___________________________________________________________________________
http://www.venukb.com/2006/08/20/install-eclipse-plugins-the-easy-way/


by VENUKB on AUGUST 20, 2006

Eclipse as of today is the industry’s major non-Microsoft software tool platform. The number of companiesadopting this platform is a testimonial of the platform’s success.
(Check my previous post for more on the history of Eclipse IDE)
Eclipse has a well-designed, and extensible architecture. What is valuable about Eclipse is that it provides an open source platform for creating an extensible integrateddevelopment environment. This platform allows anyone to build tools that integrate seamlessly with the environment and other tools.
The key to the seamless integration of tools with Eclipse is the plug-in. With the exception of a small run-time kernel, everything in Eclipse is a plug-in. This means that a plug-in you develop integrates with Eclipse in exactly the same way as other plug-ins.
Any new person who is introduced to Eclipse in concerned with one important question : How to Install Eclipse Plugins ?
There are lot of useful, high quality third party plugins available and all theplugin installation instructions specify at most 2 ways to install Eclipse Plugins
Normal Ways of Installing Eclipse Plugin
I will take the Eclipse Webtools Plugin to describe the 2 “normal” ways of installing Eclipse Plugins. In the next section I will show how the same can be done in a “easy” way.
This is how the Eclipse SDK folder structure looks like:
After extracting the Webtools package you have this folder hierarchy:
One of the common method of installing is to copy the contents of the “features” into the “features” folder of eclipse, and do the same with the “plugins” folder.
The other way of installing, which Eclipse also recommends is via the Update Manager.
You can choose the components you wish to install, choose the dependent plugins etc. In this process, generally you select the default installation location specified by the wizard.
The advantage with this approach is that when you select a component you are also made aware of the dependent plugins that needs to be installed. For e.g. If I select Web Tools, I am also told to select/install GEF
The disadvantage with this approach is that it never works well in a low bandwidth environment. I have struggled so many times to install via update manager, somewhere its gets stuck and I am left with a partially installed, corrupted environment.
The Easy Way
Now for the “Easy” way of installing Eclipse Plugins. Very few people are aware of this concept and Eclipse somehow doesn’t seem to document this approach anywhere.
This method uses the concept of “Links”. Here is the step by step procedure. (In the explanation I have used the installation of Webtools as the example)
1. Create a folder named links inside the eclipse folder (See Picture below)
2. Create a new file inside this folder and name it as say wtp.link. Note that the file name can be any valid string, but the extension has to be link.
3. Assuming that I have copied the Web tools into D:\thirdparty as shown below,
the contents of wtp.link has to be this:
path=D:/thirdparty/wtp
Points to Note:
  • The string should always start with “path=” keyword.
  • The path should point to a directory which has a “eclipse” folder which in turn has “features” and “plugins” as sub-folders
  • It is recommended to use forward slash ‘/’ in the path (If you want use Backslash, see that you use the escape character i.e. in Windows it should be “\”)
  • The file extension should end with “link“
  • The file (i.e wtp.link in our example) should exist in the “links” folder.
  • It is recommended to create link files only for big plugins/applications. For small plugins you can create just one link file, say misc.link and copy all the small plugins to the path referred by this link.
Restart Eclipse and now all the plugins and feature descriptions should beread from the path referred by the “link” files.
Advantages
Eclipse has a lot of top level and technology projects. To experiment with these projects, the “links” concept comes to the rescue. You can extract the plugin to a “thirdparty” (or a folder of your choice) and just link it within the eclipse installation. My current configuration looks like this:
Eclipse Projects/Third Party Plugins
Corresponding Link files
The “Copy” approach just bloats the eclipse installation and you cannot remove/uninstall the plugin easily. With links approach, you can just remove the “link” file and the plugin is uninstalled !!
The same links directory can be used in another eclipse installation. For e.g. if you are working with Milestone or different version of Eclipse, you can just copy the links folder (containing .link files) and the plugins are installed.
It is very easy to manage different versions of a plugin. If a new version doesn’t work, reverting back to a previous version is pretty easy.
Also, if you use the update feature in Eclipse, you can choose one of the above folders as the installation directory.
Conclusion
This approach seems to work fine in both windows and linux. I am not sure why this approach is not documented in Eclipse. I found out about this when I was using the trial version of RAD (Rational Application Developer). It was used primarily to manage product extensions. I believe the same concept can be used to manage plugins (Install/Uninstall).
Using Dropins to install Eclipse plugins
One of the problems with the above “link” approach is the plugin dependency resolution. This has to be take care of manually by the plugin installer. If the install is done via the UI, it manage to find and install all the dependencies.
Staring from Eclipse 3.4, Eclipse SDK has a new provisioning system called Equinox/p2.
p2 supports the notion of watched directories and this directory a user or a script can drop “files”. Eclipse platform ships with one such default watched directory called dropins
The dropins folder is configured to be scanned during startup, and for changes to be immediately applied to the running system. Thus the dropins folder can be used much like the plugins directory was used in the past.
A subtle twist on old behavior here is that plug-ins and features added to the dropins folder are properly installed into the system rather than being forced in. This means p2 has an opportunity to confirm that the new plug-in doesn’t conflict with other installed plug-ins, and it can even go out and fetch any missing prerequisites of the newly dropped in plug-ins.
This also means you can later use the GUI to install extra functionality that depends on the plug-ins in the dropins folder, since p2 knows about them and can reason about their dependencies. In other words, new plug-ins installed via the dropins folder behave exactly like plug-ins installed via the user interface.
Supported dropin formats:
1. You can just drop the plugin jar in the dropins folder
2. You can also drop in the traditional Eclipse application or extension layout directly in the dropins folder
3. You can add an additional layer of folders immediately below the dropins folder that contain traditional Eclipse extensions
4. Or you can add link files as in the Eclipse links folder
Hope this post was useful, if you had any problems using this approach, do leave a comment with the problem description.
Thanks to Bryan Solan for the Dropins reference.