Sorry it's taken me so long to get back to you Enis. Thanks for confirming the nightly build process. I've configured the build as below. The build (up until the docs target) passes succesfully. It's the way I'm specifying the Forrest environment variable in the shell script. The script looks like this
PATH=${PATH}:$HOME/tools/forrest/apache-forrest-0.8/bin FORREST_HOME=$HOME/tools/forrest/apache-forrest-0.8 cd trunk -Dforrest.home=$FORREST_HOME \ -Dtest.junit.output.format=xml \ nightly and the build output looks like this BUILD SUCCESSFUL Total time: 45 seconds [gora-trunk-ant] $ /bin/bash -xe /var/tmp/hudson5624368270320427638.sh + PATH=/home/hudson/tools/java/latest1.6/bin:/usr/bin:/opt/sfw/bin:/opt/subversion-current/bin:/export/home/hudson/tools/forrest/apache-forrest-0.8/bin + FORREST_HOME=/export/home/hudson/tools/forrest/apache-forrest-0.8 + cd trunk + -Dforrest.home=/export/home/hudson/tools/forrest/apache-forrest-0.8 -Dtest.junit.output.format=xml nightly /var/tmp/hudson5624368270320427638.sh: line 6: -Dforrest.home=/export/home/hudson/tools/forrest/apache-forrest-0.8: No such file or directory Build step 'Execute shell' marked build as failure Finished: FAILURE As per the hudson wiki [1], I've specified the forrest home property. Been trying to get this sorted on and off for a while and haven't got any feedback from the builds@ team. Any ideas please? [1] http://wiki.apache.org/general/Jenkins?action=show&redirect=Hudson#What_should_I_do_with_the_build_and_test_tools_that_my_project_needs.3F On Mon, Nov 21, 2011 at 2:12 AM, Enis Söztutar <enis....@gmail.com> wrote: > Hi Lewis, > > Gora uses Apache forrest for building it's documentation, and web site. > Obviously the nightly target depends on the docs target, which requires > that "forrest.home" property to be defined. The build file does not manage > forrest as a ivy/maven dependency but rather it is assumed that every one > who wants to build the docs should define the forrest.home property in > their build.properties file. We have borrowed this setup from Hadoop and > Nutch. > > Anyway, I guess we have 3 options > - we can checkout Forrest in the Jenkins environment, and add the property > to build.properties locally > - change nightly to not depend on docs > - manage forrest as a ivy/maven dependency, and change the docs target. > > Thanks, > Enis > > On Sun, Nov 20, 2011 at 8:18 AM, Lewis John Mcgibbney < > lewis.mcgibb...@gmail.com> wrote: > > > H^i, > > > > Can anyone please help me correctly configure the forrest properties in > the > > above build. Log output is can be seen below. > > > > > https://builds.apache.org/view/G-L/view/Gora/job/gora-trunk-ant/39/console > > > > Thank you > > > > -- > > *Lewis* > > > -- *Lewis*