Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 63147 invoked by uid 500); 27 Dec 2002 23:13:05 -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 63138 invoked from network); 27 Dec 2002 23:13:05 -0000 Received: from new-smtp2.ihug.com.au (203.109.250.28) by daedalus.apache.org with SMTP; 27 Dec 2002 23:13:05 -0000 Received: from p81-apx1.syd.ihug.com.au (expresso.localdomain) [203.173.140.81] by new-smtp2.ihug.com.au with esmtp (Exim 3.22 #1 (Debian)) id 18S3fB-0006jY-00; Sat, 28 Dec 2002 10:13:10 +1100 Received: from jeff by expresso.localdomain with local (Exim 3.35 #1 (Debian)) id 18S3gW-0000Xm-00 for ; Sat, 28 Dec 2002 10:14:32 +1100 Date: Sat, 28 Dec 2002 10:14:31 +1100 From: Jeff Turner To: forrest-dev@xml.apache.org Subject: Re: Forrestbot woes Message-ID: <20021227231431.GA354@expresso.localdomain> Mail-Followup-To: forrest-dev@xml.apache.org References: <5.1.1.6.0.20021227171241.02fe0568@mail.visitronics.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.1.6.0.20021227171241.02fe0568@mail.visitronics.be> User-Agent: Mutt/1.4i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, Dec 27, 2002 at 05:17:24PM +0100, Bert Van Kets wrote: > I'm trying to get Forrestbot working. :( > > The docs say I need to run "build bot -Dbot.forrestbot.xconf=myOwn.conf.xml > -Dtemplate.echo=[true|false]" but this target does not exist in the build. The docs are very out of date :/ > I used "build dist" to build the whole thing and found the forrestbot > directory in the build/dist/shbat directory. I then tried the > forrestbot.bat command, but I get an error > > BUILD FAILED > Unable to load default ProjectHelper due to java.lang.NoClassDefFoundError: > org/xml/sax/SAXException I think it might be a problem with the forrestbot.bat script not adding all the jars. It does try to include lib/endorsed/*.jar: for %%i in ("%FORREST_HOME%\lib\endorsed\*.jar") do call appendcp.bat %%i AFAIK the script hasn't been tested under Windows. If you could add a echo %CLASSPATH% at the end that would help. Does the normal 'forrest' command work? Eg, in a new directory you should be able to type 'forrest seed site' and have a new rendered site. After building Forrest, you should be able to go into src/resources/forrestbot/samples/, and type: forrestbot -Dbot.config=xml-forrest-template-cvs.xml (a nice small site from CVS) and it should build. --Jeff > I would liek to ftp the CLI result, but wan't even get the samples to work. > > What am I/the docs missing here?????? > > Bert > > P.S. running todays CVS checkout > > This mail is written in 100% recycled electrons. >