Home » Eclipse Projects » Virgo » conflicting values of bundle-symbolic-name(Deploying a *.plan yields error that two bundle-symbolic-name's are in conflict)
conflicting values of bundle-symbolic-name [message #754710] |
Thu, 03 November 2011 23:03 |
Geoffry Roberts Messages: 29 Registered: March 2011 |
Junior Member |
|
|
All,
Why is there a conflict?
Thanks
I attempted to deploy my first Plan. It's throwing a error that doesn't make sense.
The error:
Caused by: org.eclipse.virgo.kernel.osgi.framework.ImportMergeException: cannot merge imports of package 'ca.uhn.hl7v2.model.v25.datatype'
from sources 'Import-Bundle 'obh.plan-1-hapi.base' version '1.0.0.201111031406', Import-Bundle 'obh.plan-1-hapi.v25-12' version '1.0.0.201111031406''
because of conflicting values 'obh.plan-1-hapi.v25-12', 'obh.plan-1-hapi.base' of attribute 'bundle-symbolic-name'
What is meant by "conflicting values" if the names of the two bundles in question are different?
To wit -- from the manifests:
Bundle-SymbolicName: hapi.base
Bundle-SymbolicName: hapi.v25-12
I've included the full text of the manifests below followed by the contents of the file obh.plan.
The manifest from hapi.base:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: HapiBase
Bundle-SymbolicName: hapi.base
Bundle-Version: 1.0.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Export-Package: ca.uhn.hl7v2;uses:="ca.uhn.hl7v2.model",
ca.uhn.hl7v2.app;
uses:="ca.uhn.hl7v2.parser,
javax.swing,
ca.uhn.hl7v2.llp,
ca.uhn.hl7v2.model",
ca.uhn.hl7v2.conf,
ca.uhn.hl7v2.conf.check;uses:="ca.uhn.hl7v2,ca.uhn.hl7v2.model,ca.uhn.hl7v2.conf.spec.message",
ca.uhn.hl7v2.conf.classes.abs;uses:="ca.uhn.hl7v2.model",
ca.uhn.hl7v2.conf.classes.exceptions,
ca.uhn.hl7v2.conf.parser;uses:="ca.uhn.hl7v2.conf.spec",
ca.uhn.hl7v2.conf.spec;uses:="ca.uhn.hl7v2.conf.spec.usecase,ca.uhn.hl7v2.conf.spec.message",
ca.uhn.hl7v2.conf.spec.message;uses:="ca.uhn.hl7v2.conf.spec",
ca.uhn.hl7v2.conf.spec.usecase,
ca.uhn.hl7v2.conf.store,
ca.uhn.hl7v2.llp,
ca.uhn.hl7v2.model;uses:="ca.uhn.hl7v2.parser,ca.uhn.hl7v2,ca.uhn.hl7v2.validation",
ca.uhn.hl7v2.model.primitive;uses:="ca.uhn.hl7v2.model",
ca.uhn.hl7v2.model.v25.datatype;uses:="ca.uhn.hl7v2.model.primitive,ca.uhn.hl7v2.model",
ca.uhn.hl7v2.parser;
uses:="ca.uhn.hl7v2,
ca.uhn.hl7v2.validation,
ca.uhn.hl7v2.model,
org.w3c.dom",
ca.uhn.hl7v2.preparser;uses:="ca.uhn.hl7v2.parser,org.xml.sax.helpers,org.xml.sax",
ca.uhn.hl7v2.protocol;
uses:="ca.uhn.hl7v2.parser,
ca.uhn.hl7v2,
javax.jms,
ca.uhn.hl7v2.model",
ca.uhn.hl7v2.protocol.impl;
uses:="ca.uhn.hl7v2.parser,
javax.jms,
ca.uhn.hl7v2.protocol,
ca.uhn.hl7v2.app,
ca.uhn.hl7v2.model",
ca.uhn.hl7v2.util;uses:="ca.uhn.hl7v2.parser,ca.uhn.hl7v2,ca.uhn.hl7v2.model",
ca.uhn.hl7v2.validation;uses:="ca.uhn.hl7v2.model",
ca.uhn.hl7v2.validation.app;uses:="ca.uhn.hl7v2.app,ca.uhn.hl7v2.model",
ca.uhn.hl7v2.validation.impl;uses:="ca.uhn.hl7v2.validation,ca.uhn.hl7v2.model",
ca.uhn.hl7v2.view;uses:="ca.uhn.hl7v2.parser,javax.swing,ca.uhn.hl7v2.model",
ca.uhn.hl7v3.sourcegen,
ca.uhn.log;uses:="org.apache.commons.logging"
Import-Package: javax.jms;version="1.1.0",
org.apache.commons.cli,
org.apache.commons.logging;version="1.1.1",
org.apache.log4j;version="1.2.15",
org.apache.xalan;version="2.7.1",
org.apache.xerces.parsers;version="2.9.0",
org.apache.xml.serialize;version="2.9.0",
org.apache.xpath;version="2.7.1",
org.jdom;version="1.1.1",
org.jdom.input;version="1.1.1",
org.jdom.xpath;version="1.1.1",
org.w3c.dom
The manifest from hapi.v25-12:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: HapiV25-12
Bundle-SymbolicName: hapi.v25-12
Bundle-Version: 1.0.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Export-Package: ca.uhn.hl7v2.model.v25.datatype;uses:="ca.uhn.hl7v2.model",
ca.uhn.hl7v2.model.v25.group;uses:="ca.uhn.hl7v2.parser,ca.uhn.hl7v2.model.v25.segment,ca.uhn.hl7v2.model",
ca.uhn.hl7v2.model.v25.message;
uses:="ca.uhn.hl7v2.parser,
ca.uhn.hl7v2.model.v25.segment,
ca.uhn.hl7v2.model.v25.group,
ca.uhn.hl7v2.model",
ca.uhn.hl7v2.model.v25.segment
Import-Package: ca.uhn.hl7v2,
ca.uhn.hl7v2.model,
ca.uhn.hl7v2.model.v25.datatype,
ca.uhn.hl7v2.parser,
ca.uhn.log,
org.apache.commons.logging;version="1.1.1"
Require-Bundle: hapi.base
The plan file:
<?xml version="1.0" encoding="UTF-8"?>
<plan atomic="true" name="obh.plan" scoped="true" version="1.0.0"
xmlns="http://www.eclipse.org/virgo/schema/plan"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.eclipse.org/virgo/schema/plan http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
<artifact name="org.eclipse.gemini.blueprint.io" type="bundle"/>
<artifact name="org.eclipse.gemini.blueprint.core" type="bundle"/>
<artifact name="org.eclipse.gemini.blueprint.extender" type="bundle"/>
<artifact name="hapi.base" type="bundle"/>
<artifact name="hapi.v25-12" type="bundle"/>
<artifact name="OBHCommon" type="bundle"/>
<artifact name="OBHUtility" type="bundle"/>
<artifact name="OBHHL7Parser" type="bundle"/>
<artifact name="OBHHL7ParserImpl" type="bundle"/>
<artifact name="OBHCommand" type="bundle"/>
</plan>
|
|
| | | |
Goto Forum:
Current Time: Tue Apr 23 06:16:42 GMT 2024
Powered by FUDForum. Page generated in 0.03298 seconds
|