- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2012 10:17 AM
Hello,
For my graduation project I have to customise Nuxeo. To begin I did a plugin with my companyintern project lifecycle (It's works fine). But when I try to do a version management it does nothing, I use this xml :
<?xml version="1.0"?>
<component name="fr.société.nuxeo.versioning.contrib">
<service>
<provide interface="org.nuxeo.ecm.core.versioning.VersioningService" />
</service>
<implementation class="org.nuxeo.ecm.core.versioning.VersioningComponent" />
<extension-point name="versioningService">
<object class="org.nuxeo.ecm.core.versioning.VersioningServiceDescriptor " />
</extension-point>
<extension-point name="versioningRules">
<code>
<defaultVersioningRule>
<initialState major="1" minor="0" />
<options lifeCycleState="*">
<none />
<minor />
<major default="true" />
</options>
</defaultVersioningRule>
<versioningRule typeName="File" enabled="true">
<initialState major="1" minor="1" />
<options lifeCycleState="*">
<none />
<minor default="true" />
<major />
</options>
</versioningRule>
</code>
<object class="org.nuxeo.ecm.core.versioning.VersioningRuleDescriptor " />
<object
class=" org.nuxeo.ecm.core.versioning.DefaultVersioningRuleDescripto r " />
</extension-point>
</component>
Somebody can help me, please,I don't understand how this xml don't have any consequence in Nuxeo.
Sorry for my bad english and thank you for your advice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2012 02:19 PM
This XML redefines a service, its implementation, its available extension points. You don't want to do all that. Just do a contribution to the extension point you're interested in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2012 02:19 PM
This XML redefines a service, its implementation, its available extension points. You don't want to do all that. Just do a contribution to the extension point you're interested in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2012 07:44 AM
Thank for your answer,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2012 03:31 PM
The documentation you mention is about an internal Nuxeo-defined service. You're confusing defining a service versus using it.