Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 25927 invoked from network); 14 Jun 2004 07:39:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Jun 2004 07:39:07 -0000 Received: (qmail 97073 invoked by uid 500); 14 Jun 2004 07:39:12 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 97028 invoked by uid 500); 14 Jun 2004 07:39:11 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 97013 invoked by uid 99); 14 Jun 2004 07:39:11 -0000 Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Mon, 14 Jun 2004 00:39:11 -0700 Received: (qmail 25652 invoked from network); 14 Jun 2004 07:38:39 -0000 Received: from unknown (HELO ?127.0.0.1?) (127.0.0.1) by 127.0.0.1 with SMTP; 14 Jun 2004 07:38:39 -0000 Message-ID: <40CD560A.3020702@apache.org> Date: Mon, 14 Jun 2004 09:38:50 +0200 From: Armin Waibel User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: OJB Developers List Subject: Re: cvs commit: db-ojb .cvsignore build.xml build.properties References: <20040612181158.64858.qmail@minotaur.apache.org> In-Reply-To: <20040612181158.64858.qmail@minotaur.apache.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: 127.0.0.1 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Tom, in build.xml old version you can run two different javadoc targets: - api generate selective classes - javadoc generate javadoc for all classes of OJB Now it's not possible to generate javadoc for all OJB classes. Don't we need a 'javadoc-all' target or something similar? regards, Armin tomdz@apache.org wrote: > tomdz 2004/06/12 11:11:58 > > Modified: . .cvsignore build.xml build.properties > Log: > Removed old documentation targets and made old 'forrest' target the new 'doc' target > Forrest now builds in a subfolder of 'target' and generated documentation is then copied to the top-level folder 'doc' > > Revision Changes Path > 1.4 +1 -0 db-ojb/.cvsignore > > Index: .cvsignore > =================================================================== > RCS file: /home/cvs/db-ojb/.cvsignore,v > retrieving revision 1.3 > retrieving revision 1.4 > diff -u -r1.3 -r1.4 > --- .cvsignore 13 Dec 2003 12:11:27 -0000 1.3 > +++ .cvsignore 12 Jun 2004 18:11:58 -0000 1.4 > @@ -1,5 +1,6 @@ > build > dist > +doc > target > *~ > *.log > > > > 1.128 +55 -71 db-ojb/build.xml > > Index: build.xml > =================================================================== > RCS file: /home/cvs/db-ojb/build.xml,v > retrieving revision 1.127 > retrieving revision 1.128 > diff -u -r1.127 -r1.128 > --- build.xml 18 May 2004 18:23:09 -0000 1.127 > +++ build.xml 12 Jun 2004 18:11:58 -0000 1.128 > @@ -151,6 +151,8 @@ > > > > + > + > > > > @@ -607,40 +609,42 @@ > > > > - - description="Builds the complete documentation."> > - > - > - > - > - > - > - > - > - > - > - > - > - > - > - > - > - > - > - > - > - > - > - > - > - > - > - > - > - > + + description="Builds the complete documentation using Forrest"> > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + + tofile="${forrest.staticfiles.destdir}/repository.dtd.txt" /> > + + tofile="${forrest.staticfiles.destdir}/repository.xml.txt" /> > + + tofile="${forrest.staticfiles.destdir}/repository_database.xml.txt" /> > + + tofile="${forrest.staticfiles.destdir}/repository_internal.xml.txt" /> > + + tofile="${forrest.staticfiles.destdir}/repository_junit.xml.txt" /> > + + tofile="${forrest.staticfiles.destdir}/repository_user.xml.txt" /> > + + tofile="${forrest.staticfiles.destdir}/PBExamples.txt" /> > + + tofile="${forrest.staticfiles.destdir}/OJB.properties.txt" /> > + + tofile="${forrest.staticfiles.destdir}/release-notes.txt" /> > > > + > + > + > + > > > > - > + > > > > > - > + > > > > > - > - > - > - > - > - > - - description="Builds the HTML user and system documentation"> > - > - > - > - > - > - > - > - - destdir="${build.dir}/doc/javadoc" > - doctitle="${icon}${br}${name} ${version} JavaDoc " > - windowtitle="${name} ${version} JavaDoc" > - bottom="${copyright}${br}Version: ${version}, ${versiondate}" > - package="true" > - author="true" > - version="true" > - noindex="true" > - packagenames="${allpackagenames}"/> > - > - > - > + > > > > > > - > - > - + > + > + classpathref="compilation-classpath" > - destdir="${build.dir}/doc/api" > + destdir="${build.javadoc}" > doctitle="${icon}${br}${name} ${version} API documentation" > windowtitle="${name} ${version} API documentation" > bottom="${copyright}${br}Version: ${version}, ${versiondate}" > public="true" > author="true" > + version="true" > packagenames="${apipackagenames}" > /> > - > + > > > > > > - > + > > description="Builds the complete documentation archive."> > > > > 1.57 +12 -3 db-ojb/build.properties > > Index: build.properties > =================================================================== > RCS file: /home/cvs/db-ojb/build.properties,v > retrieving revision 1.56 > retrieving revision 1.57 > diff -u -r1.56 -r1.57 > --- build.properties 6 Jun 2004 19:43:22 -0000 1.56 > +++ build.properties 12 Jun 2004 18:11:58 -0000 1.57 > @@ -81,6 +81,7 @@ > src.test=${src.dir}/test > src.tools=${src.dir}/tools > src.jca=${src.dir}/jca > +src.doc=forrest > ojb=${source}/ojb > etc=${source}/etc > test=${build.dir}/test > @@ -100,6 +101,8 @@ > build.desttools = ${build.dir}/classestools > build.destjca = ${build.dir}/classesjca > build.test = ${build.dir}/test > +build.doc=${build.dir}/doc > +build.javadoc=${build.dir}/javadoc > junit.dir = ${build.dir}/test/ojb > junit.fork=true > > @@ -117,9 +120,15 @@ > deprecation=true > > # > -# Javadoc properties > +# Documentation properties > # > -# api package names > + > +forrest.javadoc.destdir=${build.doc}/src/documentation/content/api > +forrest.staticfiles.srcdir=${src.test}/org/apache/ojb > +forrest.staticfiles.destdir=${build.doc}/src/documentation/content > +forrest.output.dir=${build.doc}/build/site > + > +# api package names for javadoc generation > apipackagenames=org.apache.ojb.broker,\ > org.apache.ojb.broker.accesslayer,\ > org.apache.ojb.broker.accesslayer.conversions,\ > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org > For additional commands, e-mail: ojb-dev-help@db.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org