chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Graham <billgra...@gmail.com>
Subject Re: Updating site docs
Date Sat, 11 Sep 2010 05:34:23 GMT
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 <eyang@yahoo-inc.com> 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" <billgraham@gmail.com> 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 <eyang@yahoo-inc.com> 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" <billgraham@gmail.com
> <http://billgraham@gmail.com> > 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
> <bernd.fondermann@googlemail.com <http://bernd.fondermann@googlemail.com> >
> 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
>> <bernd.fondermann@googlemail.com <http://bernd.fondermann@googlemail.com>
>> > 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 <billgraham@gmail.com
>>> <http://billgraham@gmail.com> > wrote:
>>>> Hmm, this doesn't seem to be working for me. I downloaded forrest 0.8
>>>> and got the error below. Any other suggestions?
>>>>
>>>> [billgraham@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 <eyang@yahoo-inc.com
>>>> <http://eyang@yahoo-inc.com> > 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" <billgraham@gmail.com
>>>>> <http://billgraham@gmail.com> > 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 <asrabkin@gmail.com
>>>>> <http://asrabkin@gmail.com> > 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 <billgraham@gmail.com
>>>>>> <http://billgraham@gmail.com> > 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 asrabkin@gmail.com <http://asrabkin@gmail.com>
>>>>>> UC Berkeley Computer Science Department
>>>>>
>>>>>
>>>>
>>>
>>
>
>
>
>

Mime
View raw message