Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 8801 invoked by uid 500); 9 Sep 2002 10:07:20 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 8785 invoked from network); 9 Sep 2002 10:07:15 -0000 Received: from new-smtp1.ihug.com.au (203.109.250.27) by daedalus.apache.org with SMTP; 9 Sep 2002 10:07:15 -0000 Received: from p1443-apx1.syd.ihug.com.au (expresso.localdomain) [203.173.139.173] by new-smtp1.ihug.com.au with esmtp (Exim 3.22 #1 (Debian)) id 17oLRo-0001Ty-00; Mon, 09 Sep 2002 20:07:12 +1000 Received: from jeff by expresso.localdomain with local (Exim 3.35 #1 (Debian)) id 17oLmD-0002uB-00 for ; Mon, 09 Sep 2002 20:28:17 +1000 Date: Mon, 9 Sep 2002 20:28:16 +1000 From: Jeff Turner To: forrest-dev@xml.apache.org Subject: [PATCH] build system: webapp target Message-ID: <20020909102816.GB1184@expresso.localdomain> Mail-Followup-To: forrest-dev@xml.apache.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline User-Agent: Mutt/1.4i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I've been hacking away at a Forrest site for the last 2 weeks, and now that it's mostly working I'd like to get some of the patches I made back into Forrest. First up is a small mod for build.build.xml and forrest.build.xml. There is a new 'webapp' target, which builds an unpackaged webapp. The existing 'webapp' target has been renamed to 'war'. The idea is that you point Tomcat to $FORREST_HOME/build/webapp, then run './build.sh -f build.build.xml webapp', and then play in the build/webapp directory, and see immediately the effect of changes. Once you're happy, roll back the change into src/resouces/*. I find this a much faster way to work on Forrest than waiting for 7+ minute static builds. --Jeff --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="webapptarget.diff" Index: build.build.xml =================================================================== RCS file: /home/cvspublic/xml-forrest/build.build.xml,v retrieving revision 1.5 diff -r1.5 build.build.xml 394c394,405 < --- > > > > > > > > > > > > Index: forrest.build.xml =================================================================== RCS file: /home/cvspublic/xml-forrest/forrest.build.xml,v retrieving revision 1.6 diff -r1.6 forrest.build.xml 46,47c46,47 < < --- > > 54a55 > 329a331,363 > > > ------------------------------------------------ > Error: $${project.webapp} variable has not been set. This is where the > webapp will be assembled. Please define it in the calling script. > ------------------------------------------------ > > > > > > > > > > > > > > > > > > > > > > > 335c369 < --- > --UlVJffcvxoiEqYs2--