Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Bundle's xml not unique error?

When running my Ant script, I see the following errors: 

[startBuildActivity] ERROR [main] (ExtensionRegistryReader.java:764) - 
The com.ibm.team.repository.common bundle's plugin.xml file contains a 
<component> element with the id attribute value com.ibm.team.repository
that is not unique. 

What causes this?  How do I fix it?

0 votes


Accepted answer

Permanent link
 When building a plain Java environment, we create our own temporary extension registry by pulling in all the plugin.xml files that we can find on the build path.  If there are multiple identical jars or different versions of the jar, then the amalgamated extension registry will have duplicate entries that will cause the above error.  As a rule we only ACTUALLY load the latest version we find, but because of the duplicate components, the above error is thrown.  To resolve the error message, remove the duplicate jars from the path, but unless you want the older version of the jar to be used during the build it can be ignored.
Spencer Murata selected this answer as the correct answer

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 562
× 25

Question asked: Jul 13 '12, 1:07 p.m.

Question was seen: 4,200 times

Last updated: Jul 13 '12, 1:14 p.m.

Confirmation Cancel Confirm