|
I created an empty bundle/I test a bundle developed for a Nuxeo before 5.4.2 into a Nuxeo 5.4.2 (or higher) version. Here is my configuration files: MANIFEST.MF
And here is my deployment-fragment.xml file:
I have this message
Is it a real problem ? What I have to do to in my deployment-fragment.xml ? |
|
|
|
|
|
Dear Me, Don't be afraid this is not a hard problem. In fact since Nuxeo Runtime 5.4.2 version, the dependency informations are no more exposed into the MANIFEST.MF file.
So your MANIFEST.MF must be something like that:
And your deployment-fragment.xml:
I will just add that you have this following dependency information that you can set into your deployment-fragement.xml:
The reason of this modification is that MANIFEST.MF is a descriptor for the OSGi container and preprocessing is not related to OSGi neither to JAR Manifests. Preprocessing is more like a build time operation (let say a post build task). And Nuxeo is preparing the migration the platform to a standard OSGi container. |
|
|
not sure if you have the description quite right there - I think you mean <require>the.name.of.bundle.before.me</require> specify that your bundle will be deployed after the.name.of.bundle.before.me and <required-by>the.name.of.bundle.after.me</required-by> specify that your bundle will be deployed before the.name.of.bundle.after.me
(Jan 13 '12 at 07:02)
neilbelford
Yes you're right. I change into my answer... Thanks...
(Jan 13 '12 at 09:20)
bjalon ♦♦
Adjusted answer to use the correct
(Jan 13 '12 at 16:27)
Florent Guillaume ♦♦
|
|