Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6AD99D849 for ; Mon, 10 Dec 2012 16:05:48 +0000 (UTC) Received: (qmail 87271 invoked by uid 500); 10 Dec 2012 16:05:48 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 87238 invoked by uid 500); 10 Dec 2012 16:05:48 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 87212 invoked by uid 99); 10 Dec 2012 16:05:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2012 16:05:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of vincentfinet@gmail.com designates 209.85.220.170 as permitted sender) Received: from [209.85.220.170] (HELO mail-vc0-f170.google.com) (209.85.220.170) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2012 16:05:40 +0000 Received: by mail-vc0-f170.google.com with SMTP id fl11so5701810vcb.1 for ; Mon, 10 Dec 2012 08:05:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=7fhtgB/3O/KKJusjLEngSUqJim9QU5qRrGY6AEfv58c=; b=ya3LnMqs9BwF5xe1dxL35XYfjtdmrIDMP4vaFVbXYWmL5tDHQgUw4eFKTGeOfgl4ka 3f8skEfwsYewrIyI/Nkn+Pc+B4EkybG2CiqlpiwqztVHHwPzTlTio1tBKnZ5rhvYTQNA YlC5EqBYoiAZmj8+RJJDugMCp9nh8cfk7ivTS5Xr4d4R2zPU/zXVEZncwDWiySx75KMH aKf4LRJhblQJmeYHqs1M7jQUu2yRmSHGHnBDuFbH57hH1Hz/3axy55qWCVRxZ11nXlzV 49r7D02+4RSBMxT3zDUvhVGehCMJs2YLbPhhHzAH3GvtODz9oKYUWQ1166YY3T+2/whw bZww== MIME-Version: 1.0 Received: by 10.220.150.145 with SMTP id y17mr9127414vcv.11.1355155519550; Mon, 10 Dec 2012 08:05:19 -0800 (PST) Received: by 10.58.255.9 with HTTP; Mon, 10 Dec 2012 08:05:19 -0800 (PST) In-Reply-To: References: Date: Mon, 10 Dec 2012 17:05:19 +0100 Message-ID: Subject: Re: How to know if a version of a node has been activated in live? From: Vincent FINET To: dev@jackrabbit.apache.org Content-Type: multipart/alternative; boundary=f46d043d67e95bb5d904d081bb1a X-Virus-Checked: Checked by ClamAV on apache.org --f46d043d67e95bb5d904d081bb1a Content-Type: text/plain; charset=UTF-8 Thank you for your response. I'll do that. On Sat, Dec 8, 2012 at 1:00 PM, Alexander Klimetschek wrote: > Hi, > > "activation" is a concept of CQ and not based on JCR versioning. Please > consult a cq mailing list or forum (http://dev.day.com should help I > guess). > > Thanks, > Alex > > On 05.12.2012, at 10:55, Vincent FINET wrote: > > > Hi all, > > > > I was wondering if you have any clue about this. > > > > I would like to get from the CRX (of the contribution instance) the > latest version of a content node which has been activated (in the CRX > production / live instance). > > > > My Java Code is located in the CRX of the contribution instance, and not > un the CRX of the production / live instance. > > > > So far, in Java, I can search in the CRX and get a reference of a node. > > From that node, i get a reference to its child "jcr:content" which has > information about all the version of the parent node. > > > > Dealing with VersionHistory and FrozenNodes, i can get information about > all version of that node.... > > > > I know that you can create a version of a node either on demand or when > you activate a node from the contribution instance to the production > instance... > > > > BUT i cannot say which version as been actually published in live. In > other words, I cannot say which version as been created "by hand" or while > activating the node.... > > > > Hope this is clear for you. > > > > I'm using CQ 5.4 on the top of Jack Rabbit. > > Maybe the question is more for Adobe rather than you. > > Please let me know.... > > > > Best regards, > > Vincent FINET > > --f46d043d67e95bb5d904d081bb1a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thank you for your response.
I'll do that.


On Sat, Dec 8, 2012 at 1:00 PM, = Alexander Klimetschek <aklimets@adobe.com> wrote:
Hi,

"activation" is a concept of CQ and not based on JCR versioning. = Please consult a cq mailing list or forum (http://dev.day.com should help I guess).

Thanks,
Alex

On 05.12.2012, at 10:55, Vincent FINET <vincentfinet@gmail.com> wrote:

> Hi all,
>
> I was wondering if you have any clue about this.
>
> I would like to get from the CRX (of the contribution instance) the la= test version of a content node which has been activated (in the CRX product= ion / live instance).
>
> My Java Code is located in the CRX of the contribution instance, and n= ot un the CRX of the production / live instance.
>
> So far, in Java, I can search in the CRX and get a reference of a node= .
> From that node, i get a reference to its child "jcr:content"= which has information about all the version of the parent node.
>
> Dealing with VersionHistory and FrozenNodes, i can get information abo= ut all version of that node....
>
> I know that you can create a version of a node either on demand or whe= n you activate a node from the contribution instance to the production inst= ance...
>
> BUT i cannot say which version as been actually published in live. In = other words, I cannot say which version as been created "by hand"= or while activating the node....
>
> Hope this is clear for you.
>
> I'm using CQ 5.4 on the top of Jack Rabbit.
> Maybe the question is more for Adobe rather than you.
> Please let me know....
>
> Best regards,
> Vincent FINET


--f46d043d67e95bb5d904d081bb1a--