Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 97667 invoked from network); 26 Nov 2009 00:27:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Nov 2009 00:27:02 -0000 Received: (qmail 28128 invoked by uid 500); 26 Nov 2009 00:27:02 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 28047 invoked by uid 500); 26 Nov 2009 00:27:01 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 28037 invoked by uid 99); 26 Nov 2009 00:27:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2009 00:27:01 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of michael.d.dick@gmail.com designates 209.85.218.209 as permitted sender) Received: from [209.85.218.209] (HELO mail-bw0-f209.google.com) (209.85.218.209) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2009 00:26:58 +0000 Received: by bwz1 with SMTP id 1so214716bwz.33 for ; Wed, 25 Nov 2009 16:26:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=HExtnS3WzaLX/Ysweg5dVl7rSma/JVo/qgtBDrsS0+4=; b=vJH8G7tUWOeN9ODkucHDwmhFz55XjLfy4Bg77j3wC+aW/06Fhsec0fV1a9B0zqek5c OmMnOTRCgeKjItH0w96V5mNAoteoQnCX2ueNsfwjggG+5s/hiLyrqcjSjOBPXiv8vxoI xoSMqL0pI7AUc/u+ExlUiv0n4jRR3EFUJn/yM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=VgbdqVKEHUvj1isjvD2NYUrw+isFABXWeOH6NOWZ/z2vAZHWzJkBKRPsfg2ZjF8wK6 TZXEes2kaWv7uzJt1Pf/UzA3S9T8o8odJ6WDO2l9dDhHO5XlYEemcQhNYvpHm8I2l7Wm R94Nz5b4jER+j7t43yd4lG6ho2Lzx5UldWDUY= MIME-Version: 1.0 Received: by 10.204.156.3 with SMTP id u3mr8087900bkw.179.1259195197079; Wed, 25 Nov 2009 16:26:37 -0800 (PST) In-Reply-To: <1259184499521-4067796.post@n2.nabble.com> References: <1259184499521-4067796.post@n2.nabble.com> From: Michael Dick Date: Wed, 25 Nov 2009 18:26:17 -0600 Message-ID: <72c1350f0911251626pa77a10fk501e52416b0a78f9@mail.gmail.com> Subject: Re: Adding varaible content in Confluence from OpenJPA Builds To: dev@openjpa.apache.org Content-Type: multipart/alternative; boundary=0015175cd5246cc11d04793b3a7e --0015175cd5246cc11d04793b3a7e Content-Type: text/plain; charset=ISO-8859-1 Hi Pinaki, The upload.xml and the wiki updater are separate entities. Upload.xml runs more or less nightly - I have build profile on our continuous integration server that runs at 2:00 AM if there have been changes. It lays down the documentation, and pre-compiled binaries into a 'staging directory' on people.apache.org. Naturally others are free to run it at any time and deploy to other locations if they choose. The wiki / homepage gets updated by confluence. After an update to the wiki confluence exports the site to our page on people.apache.org. The page is then 'skinned' by a cron job / script of some sort that Donald owns which adds the logo and some other customizations. Doing what you want is a bit involved. The place to do it is in the cron job / script that gets executed after confluence updates the site. That script will have to unzip the openjpa binaries and run OpenJPAVersion (or just read the properties file) and do the substitution for you. There may be some tweaking we can do to make the confluence export do the work for us, but that's beyond my knowledge. Also I only have a passing familiarity with the cron job / script that adds the logo to the site, so I my understanding might be out of date (this is how it worked when Marc set it up). Donald is the expert and can correct me if I'm wrong :-) It's all doable, but might require some coordination to make this part of the 'main' cron job that inserts the logo. Regards, -mike On Wed, Nov 25, 2009 at 3:28 PM, Pinaki Poddar wrote: > > Hi, > > I am looking for a way to display the SVN revision number of the nightly > snapshot build in the confluence Wiki page. Looks like the upload ant > script (./openjpa-project/upload.xml) is the right place to > a) extract the revision number form the OpenJPA build > b) make some text substitution in the Wiki page that displays nightly > snapshot download in a table. > > Comments/Suggestions/Alternatives? > > > ----- > Pinaki > -- > View this message in context: > http://n2.nabble.com/Adding-varaible-content-in-Confluence-from-OpenJPA-Builds-tp4067796p4067796.html > Sent from the OpenJPA Developers mailing list archive at Nabble.com. > --0015175cd5246cc11d04793b3a7e--