forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo" <leont...@bigfoot.com>
Subject Error when trying to run forrest seed
Date Sat, 26 Jul 2003 22:37:42 GMT
Hi folks

(1)
I had downloaded forrest and was able to sucessfully do the following:
-run forrest build
-Create my own directory and run
	forrest seed
	forrest site
	forrest webapp
	forrest run

(2)
However forrest run: gave me a "java.lang.NoClassDefFoundError:" which I
realised
meant I was missing either a jar file
( or the associated java files in
xml-forrest\src\java\components\org\apache\cocoon\..
		and class files in
xml-forrest\build\components\classes\org\apache\cocoon\..)
So I copied the relevant jar file into
c:\MyProject\xml-forrest\lib\endorsed
and was successfully able to run the above commands.
Forrest seed created new directory
Forrest run: gave different error
implying the other jars were missing.

(3)
Okay so go brave.
I copied the other jar files to c:\MyProject\xml-forrest\lib\endorsed
Then I ran forrest build and this ran successfully
See (3b) below
However I am now unable to seed a new project.  In fact any forrest command
I use( webapp, seed,..) produces this error
see below (3a) - it gave error and changed directory

(3a)
C:\Testing2>forrest seed

Apache Forrest.  Run 'forrest -projecthelp' to list options

The input line is too long.
The syntax of the command is incorrect.

C:\MyProject\xml-forrest\build\dist\shbat\ant\lib>cd ..


(3b)
forrest build went fine: see below

C:\MyProject\xml-forrest>build
Using classpath:
";.\lib\endorsed\antlr.jar;.\lib\endorsed\axis.jar;.\lib\endor
ed\clutil.jar;.\lib\endorsed\cocoon-authentication-fw-block.jar;.\lib\endors
ed\
ocoon-databases-block.jar;.\lib\endorsed\cocoon-session-fw-block.jar;.\lib\e
ndo
sed\cocoon-xmldb-block.jar;.\lib\endorsed\cocoon-xmlform-block.jar;.\lib\end
ors
d\commons-discovery.jar;.\lib\endorsed\commons-httpclient-20020423.jar;.\lib
\en
orsed\commons-logging.jar;.\lib\endorsed\exist.jar;.\lib\endorsed\jakarta-or
o-2
0.6.jar;.\lib\endorsed\jaxrpc.jar;.\lib\endorsed\jdtcore-2.1.0.jar;.\lib\end
ors
d\libreadline-java.jar;.\lib\endorsed\log4j.jar;.\lib\endorsed\saaj.jar;.\li
b\e
dorsed\trove.jar;.\lib\endorsed\tt-bytecode.jar;.\lib\endorsed\xalan-2.5.1.j
ar;
\lib\endorsed\xercesImpl-2.4.0.jar;.\lib\endorsed\xml-apis.jar;.\lib\endorse
d\x
ldb.jar;.\lib\endorsed\xmlrpc-1.1.jar"
Buildfile: build.xml

init:

      --------------------------------------------------------------

      Using Apache Ant version 1.6alpha compiled on May 26 2003
      Build file C:\MyProject\xml-forrest\build.xml
      Build system home tools\ant
      Build number 2
      Project Name Forrest build file
      Java Version 1.4
      Timestamp 200307260754

      --------------------------------------------------------------


validate-config:
validating **/skinconf.xml ...
validating stylesheets **/*.xsl ...
validating **/sitemap.xmap ...

fresh-site-zip:

scratchpad.compile:

scratchpad.jar:

components.compile:

components.jar:

webapp-webinf:

bare-context-dir:

dist-shbat:
Deleting directory C:\MyProject\xml-forrest\build\dist\shbat
Created dir: C:\MyProject\xml-forrest\build\dist\shbat
Copying 7 files to C:\MyProject\xml-forrest\build\dist\shbat
Copying 19 files to C:\MyProject\xml-forrest\build\dist\shbat\legal
Copying 1 file to C:\MyProject\xml-forrest\build\dist\shbat
Created dir: C:\MyProject\xml-forrest\build\dist\shbat\WEB-INF
Copying 63 files to C:\MyProject\xml-forrest\build\dist\shbat\WEB-INF
Created dir: C:\MyProject\xml-forrest\build\dist\shbat\lib\endorsed
Copying 25 files to C:\MyProject\xml-forrest\build\dist\shbat\lib\endorsed
Created dir: C:\MyProject\xml-forrest\build\dist\shbat\lib\optional
Copying 4 files to C:\MyProject\xml-forrest\build\dist\shbat\lib\optional
Created dir: C:\MyProject\xml-forrest\build\dist\shbat\ant
Copying 17 files to C:\MyProject\xml-forrest\build\dist\shbat\ant
Created dir: C:\MyProject\xml-forrest\build\dist\shbat\forrestbot
Copying 64 files to C:\MyProject\xml-forrest\build\dist\shbat\forrestbot
Copying 2 files to C:\MyProject\xml-forrest\build\dist\shbat\bin
Created dir: C:\MyProject\xml-forrest\build\dist\shbat\context
Copying 329 files to C:\MyProject\xml-forrest\build\dist\shbat\context

  *-----------------------------------------------------------------
  | installation notice
  *-----------------------------------------------------------------
  | You have succesfully built the shell-bat distribution of Forrest.
  | Please find it at: C:\MyProject\xml-forrest\build\dist\shbat
  | Please copy the contents to the install directory of your choice
  | Please have the environment variable FORREST_HOME point to it.
  | It is recommended to add
  |    unix: $FORREST_HOME/bin: to your $PATH
  |    win: %FORREST_HOME%\bin; to your %PATH%
  | Calling
  |    unix: $FORREST_HOME/bin/forrest -projecthelp
  |    win: %FORREST_HOME%\bin\forrest -projecthelp
  | will list options for the 'forrest' command
  | More help at http://xml.apache.org/forrest/ and
forrest-dev@xml.apache.org
  *-----------------------------------------------------------------


dist:

BUILD SUCCESSFUL
Total time: 30 seconds


Regards
Leo


Mime
View raw message