jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <pav...@git.es>
Subject Re: createdBy & version number
Date Mon, 21 Apr 2008 15:49:24 GMT
El lun, 21-04-2008 a las 13:46 +0200, Julian Reschke escribió:
> Paco Avila wrote:
> > El vie, 18-04-2008 a las 11:36 -0700, Tobias Bocanegra escribió:
> > 
> >> no, the name of the version is controlled by the repository. but you
> >> can assign your own version labels using VersionHistory.addLabel()
> > 
> > Can I use version label to add version comments or it is not
> > recommended?
> 
> I think that would be confusing; in particular as a version label is a 
> JCR name, not a free-format string.
> 
> My recommendation would be to use a new string property, for instance 
> called "DAV:comment" for consistency with RFC3253 
> (<http://greenbytes.de/tech/webdav/rfc3253.html#rfc.section.3.1.1>).
> 

Thanks for the tip.

-- 
Paco Avila <pavila@git.es>
GIT Consultors


Mime
View raw message