Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 46770 invoked from network); 13 Jun 2007 22:47:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jun 2007 22:47:36 -0000 Received: (qmail 41916 invoked by uid 500); 13 Jun 2007 22:47:39 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 41767 invoked by uid 500); 13 Jun 2007 22:47:39 -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 41758 invoked by uid 99); 13 Jun 2007 22:47:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2007 15:47:39 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mprudhomapache@gmail.com designates 64.233.166.182 as permitted sender) Received: from [64.233.166.182] (HELO py-out-1112.google.com) (64.233.166.182) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2007 15:47:33 -0700 Received: by py-out-1112.google.com with SMTP id a25so761191pyi for ; Wed, 13 Jun 2007 15:47:12 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=kg9Kym6NKixXXA91BGxdMj0QC8hZw+qvQX6Oart80Zi4NMBHYERZP02UQtn4QKrr1ky/YrSYCWDnWeG/li68ZJm3F5tATLl6MAKm2Ln4yjx886T72559LtWOhwdJVcwDhypBcX2X7OryVk0qMpZtoduwE+Exa9potKT1F2ggdjo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=WATYwY61xdMyUr6W4saK1tehRPAUC+zRMs5/q+BiF0Q02WK+lRtXai1hoRmiA/fBmMgVdTLvRebv5mLaZRlVWsq1oVOj1bRcx7rPb2PpcjhDf5MjF3czGWK/c2HofT/X2F1J5M4n/j8vaPk+vCHEoiVp/89dhuwusawMsX03K1M= Received: by 10.65.154.2 with SMTP id g2mr2003997qbo.1181774832116; Wed, 13 Jun 2007 15:47:12 -0700 (PDT) Received: from ?10.5.0.233? ( [66.248.222.34]) by mx.google.com with ESMTP id q14sm1121873qbq.2007.06.13.15.47.10 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Jun 2007 15:47:11 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: References: <89c0c52c0706131300y51b07cddn9d78e26c7748d343@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <067579D1-0EF8-44FB-BDBD-46A04A4DF02D@apache.org> Content-Transfer-Encoding: 7bit From: Marc Prud'hommeaux Subject: Re: Tools for maintaining OpenJPA documentation Date: Thu, 14 Jun 2007 06:47:02 +0800 To: dev@openjpa.apache.org X-Mailer: Apple Mail (2.752.3) Sender: Marc Prud'hommeaux X-Virus-Checked: Checked by ClamAV on apache.org Kevin- Personally, I've never found an XML editing tool that had good support for maintaining the format and preserving the chunking style of our docbook, but I haven't looked again at tools in the past couple of years: there may have been improvements to docbook tooling since that time. If you do wind up researching this, I for one would be interested in hearing about your results. For editing docbook, I just use an text editor, and then periodically use the "xmllint" console application to ensure that I haven't violated the DTD. I believe xmllint is available for all platforms, and I use the following command: xmllint --noout --valid openjpa-project/src/doc/manual/manual.xml That just validates syntax. Once I have made a major edit, you can just build the docs and make sure they look OK to you (you might need to first increase memory by setting MAVEN_OPTS=-Xmx512m): mvn -f openjpa-project/pom.xml process-resources -Pdocbook-profile It's hardly a WYSIWYG process, but once you are comfortable with the docbook XML format, I've found that using a plain text editor is good enough. On Jun 14, 2007, at 4:22 AM, robert burrell donkin wrote: > On 6/13/07, Kevin Sutter wrote: >> >> Just trying to start a new thread on this topic since my reply to >> an SVN >> commit message went unanswered... :-) >> >> What kind of tools are being used to maintain the OpenJPA manual? >> The >> documentation updates that I have done have all been pretty minor, >> so I >> haven't been too concerned with messing up the tags in the >> documentation >> xml >> files. But, some of the updates that I would like to do require some >> fairly >> extensive changes. I'm afraid that I just start to edit these xml >> files >> with my favorite editor that I might get myself into a tag mess >> that I >> can't >> recover from... > > > is it docbook? > > if so there are editors around (eg > http://wiki.docbook.org/topic/DocBookAuthoringTools) but hopefully > someone > more cluefull will jump in with version details... > > - robert