Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 47526 invoked by uid 500); 13 Apr 2001 10:34:39 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 47296 invoked from network); 13 Apr 2001 10:34:29 -0000 Date: Fri, 13 Apr 2001 21:32:29 +1000 From: Jeff Turner To: cocoon-dev@xml.apache.org Subject: [C1][PATCH] using in build.xml Message-ID: <20010413213228.A7825@socialchange.net.au> Mail-Followup-To: cocoon-dev@xml.apache.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline User-Agent: Mutt/1.3.15i X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Attached is a patch for C1 build.xml, which utilizes the Ant1.3 task to shortcut the "javadocs", "docs" and "printer-docs" targets if their source files have not changed. This patch takes into account the slightly weird preparation step, where todo.xml and changes.xml are copied, and book.xml overwritten. If it is determined that the target is up-to-date, then a message is printed, eg: init: [echo] ------------------- Cocoon 1.8.3-dev [1999-2001] --------- prepare-docs: [delete] Deleting: /home/jeff/apache/xml/xml-cocoon/xdocs/book.xml [copy] Copying 1 file to /home/jeff/apache/xml/xml-cocoon/xdocs docs_check: docs_done: [echo] ------------------------------------------------------------- [echo] Not rebuilding docs, as they are up-to-date: [echo] ./build/docs/index.html is more recent than [echo] todo.xml, changes.xml, non-generated ./xdocs/*.xml [echo] ------------------------------------------------------------- docs: BUILD SUCCESSFUL If this is deemed useful, I can create a similar patch to C2 build.xml. --Jeff --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="build.xml.patch" Index: build.xml =================================================================== RCS file: /home/cvspublic/xml-cocoon/build.xml,v retrieving revision 1.71 diff -u -r1.71 build.xml --- build.xml 2001/03/26 17:47:55 1.71 +++ build.xml 2001/04/13 10:28:12 @@ -159,6 +159,8 @@ + + @@ -286,9 +288,9 @@ deprecation="${deprecation}"/> - - - + + + @@ -313,13 +315,34 @@ - + + + + + + + + + + + + + + + + + + + + + + - + @@ -328,9 +351,30 @@ + + + + + + + + + + + + + + + + + + + + + - + @@ -339,12 +383,33 @@ + + + + + + + + + + + + + + + + + + + + + - + - + @@ -352,9 +417,29 @@ + + + + + + + + + + + + + + + + + + + + - +