[jbosstools-issues] [JBoss JIRA] (JBIDE-9907) wrap discovery plugin in feature so it can be published but not installed / exposed; hide from update site UI

Snjezana Peco (Commented) (JIRA) jira-events at lists.jboss.org
Wed Oct 19 09:03:45 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-9907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635767#comment-12635767 ] 

Snjezana Peco commented on JBIDE-9907:
--------------------------------------

The org.jboss.tools.central.discovery plugin isn't part of any build/distribution. It can, but doesn't have to be included in any feature, but mustn't be included in a build. It just needs to be built and saved in a location mentioned in the discovery.xml file. The discovery.xml file can contain more such plugins. I have built this plugin and saved it in the http://download.jboss.org/jbosstools/examples/org.jboss.tools.central.discovery_3.3.0.jar.
You can create a job to build this plugin when it is changed.
If this location isn't an appropriate location, we can change it. The entry in the directory.xml file will also have to be changed.
This way, we will be able to add extensions after releasing a distribution. 

The Eclipse OSGi engine doesn't load this plugin and its version isn't important. It doesn't need a qualifier. It is only important that its name (including its version) matches the name mentioned in the directory.xml file so that the Mylyn discovery engine can find it.
JBDS can have other discovery.xml as well as other discovery plugin.

We can introduce a new discovery.xml and discovery plugin when changing a release or milestone if a new release/milestone contains different features/extensions that the user could update. 

M2e uses this way to maintain the discovery feature. Their discovery jar is org.eclipse.m2e.discovery.oss-catalog.jar (there is no such a plugin in the m2e build). They use the Mylyn extension point, but don't use the Mylyn API. This jar is even not an OSGi plugin.
STS 2.7.1/2.7.2 uses the com.springsource.sts.discovery-2.7.1.jar, com.tasktop.discovery-3.6.jar and org.eclipse.mylyn.discovery-3.6.jar plugin. No one is included in the build. They use the Mylyn API.
STS 2.8.0 uses the com.springsource.sts.discovery-2.8.0.jar, com.tasktop.discovery-3.6.jar and org.eclipse.mylyn.discovery-3.6.jar plugin. They aren't included in the build.
The Mylyn distribution also doesn't include their org.eclipse.mylyn.discovery plugin. 

This plugin doesn't contain source so that you don't need to create any source plugin for it.If you add a non-existing source folder to the build.properties file, the plugin won't be built in the PDE.


                
> wrap discovery plugin in feature so it can be published but not installed / exposed; hide from update site UI
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-9907
>                 URL: https://issues.jboss.org/browse/JBIDE-9907
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: central
>            Reporter: Nick Boldt
>            Assignee: Nick Boldt
>             Fix For: 3.3.0.Beta1
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list