forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <>
Subject Re: Forrestbot woes
Date Fri, 27 Dec 2002 23:14:31 GMT
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
> 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.


> 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.

View raw message