You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Milan Trajkovic <mi...@gmail.com> on 2006/07/19 09:00:30 UTC

Versioning question

Hello!
Is it possible (and how) to change major node version?
If I checkin new version, sequence goes 1.0, 1.1, 1.2, etc.
I would like to know is there a way to change version from 1.2 to 2.0?

Kind regards,
Milan

Re: Versioning question

Posted by Tobias Bocanegra <to...@day.com>.
no. currently the versioning number scheme cannot be altered. as
alternative, you can use version labels for your own labeling.

eg:

v = node.checkin();
node.getVersionHistory().addVersionLabel(v.getName(), "2.0", false);

regards, toby

On 7/19/06, Milan Trajkovic <mi...@gmail.com> wrote:
> Hello!
> Is it possible (and how) to change major node version?
> If I checkin new version, sequence goes 1.0, 1.1, 1.2, etc.
> I would like to know is there a way to change version from 1.2 to 2.0?
>
> Kind regards,
> Milan
>


-- 
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---