You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by David Crossley <cr...@indexgeo.com.au> on 2003/09/01 04:53:58 UTC

Re: Build fails: InvocationTargetException - build failed when executing 'forrest' in a directory just created and seeded

k apsul wrote:
> I just redownloaded from cvs and experienced same
> error
> java.lang.reflect.InvocationTargetException again.
> Both of the './build.sh  webapp|docs'  gets this
> exception. 

Did you run './build,sh clean' after the cvs update?
Everything is fine for me with today's cvs.

> I noticed during cvs update there were some display
> of:
> Merging differences between 1.2 and 1.4 into
> forrest.properties
> rcsmerge: warning: conflicts during merge
> cvs server: conflicts found in
> xml-forrest/forrest.properties

The "Merging" messages mean that you have edited your
local copy of this file and cvs is trying to add its changes,
which are then clashing with your changes.

Move your changed files out of the way and do another cvs update
to get fresh copies of those files.

See more below ...

> ...and some verbage to the effect of jars missing from
> repository  which I expect because of the newer jars
> so the older ones can not be found.
> 
> ..and more...
> 
> RCS file:
> /home/cvspublic/xml-forrest/src/documentation/content/xdocs/site.xml,v
> retrieving revision 1.21
> retrieving revision 1.22
> Merging differences between 1.21 and 1.22 into
> site.xml
> rcsmerge: warning: conflicts during merge
> cvs server: conflicts found in
> xml-forrest/src/documentation/content/xdocs/site.xml
> C xml-forrest/src/documentation/content/xdocs/site.xml
> 
> 
> 
> --- k apsul <k_...@yahoo.com> wrote:
> > 
> > 1. I just downloaded an update from cvs.
> > 2. From xml-forrest/     ./build.sh clean
> > 3. From xml-forrest/     ./build.sh
> > 
> > ....
> > BUILD SUCCESSFUL
> > Total time: 17 seconds
> > 
> > 4. From xml-forrest/     mkdir newone
> > 5. cd newone
> > 6. forrest seed
> > 
> > ....
> > BUILD SUCCESSFUL
> > Total time: 3 seconds
> > 
> > 7.  forrest
> > 
> > ....
> > BUILD FAILED
> >
> /u01/forrest/cvs/xml-forrest/build/dist/shbat/forrest.build.xml:826:
> > java.lang.reflect.InvocationTargetException
> > 
> > 
> > What happened here?  Am I missing a step?

Try doing your 'forrest seed' at some other directory location,
i.e. not under the xml-forrest root, but say /home/you/newone/

--David