Plamen Tanov (el 2009-07-21 a les 19:04:08 +0300) va dir::

> Have you seen this page:
> http://doc.nuxeo.org/5.1/books/nuxeo-book/html/document-versionning.html
> <http://doc.nuxeo.org/5.1/books/nuxeo-book/html/document-versionning.html>Take
> care of "default" attribute of tag "option".

I changed 
``nuxeo-platform-versioning-core-5.2.0.jar/OSGI-INF/VersioningRuleContribs.xml``
so that blocks like this::

  <option value="no_inc" default="true" />
  <option value="inc_minor" />
  <option value="inc_major" />

read like this::

  <option value="no_inc" />
  <option value="inc_minor" default="true" />
  <option value="inc_major" />

And it seemed to work as expected.  Thanks a lot for the pointer!

(BTW, does anybody know a way of doing this without modifying the JAR file?)

::

    |  Ivan Vilata i Balaguer  |  Àrea de Sistemes d’Informació      |
    |  http://www.iti.upv.es/  |  Institut Tecnològic d’Informàtica  |

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to