Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Chukwa >> mail # dev >> Updating site docs


Copy link to this message
-
Re: Updating site docs
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?
>>>>
>>>> [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 <[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