[jbosstools-issues] [JBoss JIRA] (JBTIS-423) Duplicate category id 'com.jboss.jbds.central.discovery.integration-stack.bundle'

Paul Leacu (JIRA) issues at jboss.org
Mon May 4 10:18:46 EDT 2015


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

Paul Leacu commented on JBTIS-423:
----------------------------------

I'm actually talking about both connector IDs and category IDs.  Here's the issue - lets look at Fuse.  Here's the released Fuse connector:
{code}
    <!-- Fuse Tooling -->
    <connectorDescriptor
       categoryId="com.jboss.jbds.central.discovery.integration-stack.bundle"
       groupId="com.jboss.jbds.central.discovery.integration-stack.bundle-fuse"
       certificationId="com.jboss.jbds.discovery.certification.supported"
       kind="task"
       license="Free, EPL"
       provider="JBoss by Red Hat"
       siteUrl="${jboss.discovery.site.integration-stack.url}"
       name="JBoss Fuse Development"
       description="Tools related to integrating software components that work with Apache ServiceMix, ActiveMQ and Camel - support for Fuse."
       id="jboss.integration-stack.bundle.fuse">
      <iu id="org.fusesource.ide.camel.editor.feature"/>
      <iu id="org.fusesource.ide.core.feature"/>
      <iu id="org.fusesource.ide.fabric8.feature"/>
      <iu id="org.fusesource.ide.jmx.feature"/>
      <iu id="org.fusesource.ide.server.extensions.feature"/>
      <icon
   image32="images/jbds_icon32.png">
      </icon>
      <overview
   url="http://fusesource.com/products/fuse-ide/">
      </overview>
    </connectorDescriptor>
{code}

Here is the EA connector:
{code}
    <!-- Fuse Tooling -->
    <connectorDescriptor
       categoryId="com.jboss.jbds.central.discovery.integration-stack.ea.bundle"
       groupId="com.jboss.jbds.central.discovery.integration-stack.ea.bundle-fuse"
       certificationId="com.jboss.jbds.discovery.certification.earlyaccess"
       kind="task"
       license="Free, EPL"
       provider="JBoss by Red Hat"
       siteUrl="${jboss.discovery.site.integration-stack.url}"
       name="JBoss Fuse Development"
       description="Tools related to Fuse Tooling data mapping and transformation."
       id="jboss.integration-stack.bundle.fuse.ea">
      <iu id="org.jboss.tools.fuse.transformation.feature"/>
      <icon
	  image32="images/jbds_icon32.png">
      </icon>
      <overview
	  url="http://devstudio.redhat.com/">
      </overview>
    </connectorDescriptor>
{code}
The particular relevant info is the connector ID (jboss.integration-stack.bundle.fuse, jboss.integration-stack.bundle.fuse.ea) and the category ID.  Since the connector content is different between EA and released (Fuse tooling has components of both EA and released), if a user were to enable early access with the same connector ID they would only see the EA Fuse content (the released content is not visible).  If they have different IDs then both are selectable.  The only proxy wizard we have is for Fuse and that sits on the released side.  Since the released side IDs are not changed future updates will work okay.  The unique situation I have is having production connectors in both EA and released.


> Duplicate category id 'com.jboss.jbds.central.discovery.integration-stack.bundle'
> ---------------------------------------------------------------------------------
>
>                 Key: JBTIS-423
>                 URL: https://issues.jboss.org/browse/JBTIS-423
>             Project: JBoss Tools Integration Stack
>          Issue Type: Bug
>          Components: distribution
>    Affects Versions: 8.0.1.GA
>         Environment: JBDS 8.1.0.GA
>            Reporter: Andrej Podhradsky
>            Assignee: Paul Leacu
>            Priority: Minor
>             Fix For: 8.0.2.GA
>
>         Attachments: ea1.png
>
>
> When we try to install JBDS-IS 8.0.1.GA from JBoss Central we can see the following error in Error Log
> {code}
> Duplicate category id 'com.jboss.jbds.central.discovery.integration-stack.bundle': declaring sources:
> com.jboss.jbds.central.discovery.integration_stack_8.0.1.GA_v20150408_1203_B104.jar_3208083343377093610.jar,
> com.jboss.jbds.central.discovery.integration_stack.earlyaccess_8.0.1.GA_v20150408_1203_B104.jar_2051386990248092532.jar
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list