It's all about the answers!

Ask a question

Bundle's xml not unique error?


Spencer Murata (2.3k115971) | asked Jul 13 '12, 1:07 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
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?

Accepted answer


permanent link
Spencer Murata (2.3k115971) | answered Jul 13 '12, 1:14 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
 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

Your answer


Register or 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.