Hi,

On Tue, Feb 17, 2009 at 11:52, g.reinhart <[email protected]> wrote:
>
> Hi,
>
> UseCase:
>  - on the repository MyObject on path "/myObject" has several versions (
> 1.0, 1.1, 1.2, 1.3  )
>  - the base version is 1.3
>  - there is a workspace called "myMorkspace"
>
> I would like to publish the version 1.1 of  the path  "/myObject" to the
> workspace  "myMorkspace".
>
> How can I do it ?  Workspace.clone(String srcWorkspace, String srcAbsPath,
> String destAbsPath, boolean removeExisting) publish the base version.

Hmm, not sure, what about calling
http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/Node.html#restore(javax.jcr.version.Version,
java.lang.String, boolean) on the root node of myWorkspace?

regards
 marcel

Reply via email to