Thanks Eric (and others), that did the trick. I've modified the build.xml to make the process easier and I've got a README to explain things:
https://issues.apache.org/jira/browse/CHUKWA-519 I'll commit this unless anyone objects. It's pretty straight forward. On Fri, Sep 10, 2010 at 12:02 PM, Eric Yang <[email protected]> wrote: > You need to have forrest binary on $PATH, i.e. Export > PATH=${PATH}:/Users/eyang/apache-forrest-0.8/bin. Java5 is required, Java6 > doesn’t work with forrest, fyi. > > Regards, > Eric > > On 9/10/10 10:43 AM, "Bill Graham" <[email protected]> wrote: > > Yes, /home/billgraham/forrest/bin/forrest exists and is executable. > > Apache Ant version 1.6.5 compiled on May 16 2006 > > > On Fri, Sep 10, 2010 at 10:10 AM, Eric Yang <[email protected]> wrote: > > Hi Bill, > > The build process tried to run: /home/billgraham/forrest/bin/forrest, and it > did not exist. Do you have forrest executable in the expected path? > > Regards, > Eric > > > On 9/10/10 8:30 AM, "Bill Graham" <[email protected] > <http://[email protected]> > wrote: > > Thanks Bernd. I'm able to build the incubator docs without a problem, > but it's the chukwa docs themselves that are hanging me up now: > > https://svn.apache.org/repos/asf/incubator/chukwa/site > > On Fri, Sep 10, 2010 at 1:33 AM, Bernd Fondermann > <[email protected] <http://[email protected]> > > wrote: >> BWT, this applies to updated the Incubator website, sorry of this post >> is confusing. >> >> Bernd >> >> On Fri, Sep 10, 2010 at 10:28, Bernd Fondermann >> <[email protected] <http://[email protected]> >> > wrote: >>> That's what I do: >>> + on my local machine, I check out the site from svn (using httpS) >>> + edit in site-author/ >>> + build (locally) using build.sh >>> + svn diff shows, that the site-author + site-publish has changes >>> + looks good in browser using file:// URLs -> commit >>> now: >>> + on minotaur, cd to the incubator site checkout >>> + svn up, changes come in from svn >>> + wait for the site mirror to pick it up >>> >>> done. >>> hints: >>> + do not build on minotaur, only do svn update of what you changed >>> locally >>> + RTFM, at http://svn.apache.org/viewvc/incubator/public/trunk/README.txt >>> + if you need any more assistence, please post again. >>> >>> Bernd >>> >>> On Fri, Sep 10, 2010 at 06:44, Bill Graham <[email protected] >>> <http://[email protected]> > wrote: >>>> Hmm, this doesn't seem to be working for me. I downloaded forrest 0.8 >>>> and got the error below. Any other suggestions? >>>> >>>> [billgra...@minotaur:~/svn/chukwa/site]$ ant >>>> -Dforrest.home=/home/billgraham/forrest -Djava5.home=/usr/local >>>> Buildfile: build.xml >>>> >>>> clean: >>>> >>>> update: >>>> >>>> BUILD FAILED >>>> /x1/home/billgraham/svn/chukwa/site/build.xml:6: Execute failed: >>>> java.io.IOException: Cannot run program "forrest" (in directory >>>> "/x1/home/billgraham/svn/chukwa/site/author"): java.io.IOException: >>>> error=2, No such file or directory >>>> >>>> Total time: 0 seconds >>>> >>>> >>>> I verified that home/billgraham/forrest/bin/forrest executes properly. >>>> Also, I assume you meant to include '-D' in front of the params to >>>> ant. >>>> >>>> >>>> >>>> On Wed, Sep 8, 2010 at 5:56 PM, Eric Yang <[email protected] >>>> <http://[email protected]> > wrote: >>>>> Make changes locally: >>>>> >>>>> svn co http://svn.apache.org/repos/asf/incubator/chukwa/site >>>>> >>>>> Make any modification that is necessary to the xml file, then run: >>>>> >>>>> ant —forrest.home=/path/to/forrest_home —java5.home=/path/to/java5_home >>>>> >>>>> This generates the document in publish directory, and commit those >>>>> changes >>>>> back to svn. >>>>> >>>>> Then go to people.apache.org:/www/hadoop.apache.org/chukwa >>>>> <http://hadoop.apache.org/chukwa> >>>>> >>>>> And run: svn update >>>>> >>>>> I think we just need to have incubator to add us into the incubator >>>>> group >>>>> and then we can do svn checkout in /www/incubator.apache.org/chukwa >>>>> <http://incubator.apache.org/chukwa> to have >>>>> full docs working and in the right place. >>>>> >>>>> Regards, >>>>> Eric >>>>> >>>>> On 9/8/10 4:59 PM, "Bill Graham" <[email protected] >>>>> <http://[email protected]> > wrote: >>>>> >>>>> Got it, thanks. I saw that dir and wasn't sure how it got updated. >>>>> >>>>> To summarize then, the process is: >>>>> >>>>> 1. svn co http://svn.apache.org/repos/asf/incubator/chukwa/site >>>>> 2. Update and commit >>>>> 3. svn update from people.apache.org:/www/hadoop.apache.org/chukwa >>>>> <http://hadoop.apache.org/chukwa> >>>>> >>>>> >>>>> On Wed, Sep 8, 2010 at 1:28 PM, Ariel Rabkin <[email protected] >>>>> <http://[email protected]> > wrote: >>>>>> >>>>>> Fixing the website would be awesome of you. >>>>>> >>>>>> There is a second step: you need to cd to: >>>>>> >>>>>> people.apache.org:/www/hadoop.apache.org/chukwa >>>>>> <http://hadoop.apache.org/chukwa> >>>>>> >>>>>> And then do an svn co. That pulls out the compiled html from >>>>>> .../site. >>>>>> >>>>>> >>>>>> >>>>>> --Ari >>>>>> >>>>>> On Wed, Sep 8, 2010 at 12:32 PM, Bill Graham <[email protected] >>>>>> <http://[email protected]> > wrote: >>>>>> > hi, >>>>>> > >>>>>> > I'd like to change the fix all the broken links to documentation, >>>>>> > the >>>>>> > privacy policy, release notes, etc that are currently on >>>>>> > http://hadoop.apache.org/chukwa, but I'm not sure how this >>>>>> > documentation >>>>>> > gets updated. Can someone please provide pointers? >>>>>> > >>>>>> > Do I just need to modify the content at >>>>>> > http://svn.apache.org/repos/asf/incubator/chukwa/site and commit, or >>>>>> > is >>>>>> > there another publish step required? >>>>>> > >>>>>> > >>>>>> > >>>>>> > thanks, >>>>>> > Bill >>>>>> > >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Ari Rabkin [email protected] <http://[email protected]> >>>>>> UC Berkeley Computer Science Department >>>>> >>>>> >>>> >>> >> > > > >
