buildbot | 1 Apr 2011 01:37
Picon
Favicon

buildbot exception in ASF Buildbot on forrest-trunk

The Buildbot has detected a new failure on builder forrest-trunk while building ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/forrest-trunk/builds/368

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: isis_ubuntu

Build Reason: forced: by IRC user <gmcdonald> on channel #asftest: testing url
Build Source Stamp: HEAD
Blamelist: 

BUILD FAILED: exception generic

sincerely,
 -The Buildbot

Vicent Mas | 1 Apr 2011 12:52
Picon

motd question

Hi,

I'm trying to add a motd pane only to the main page of my dispatcher website. 
Adding the following lines to my pelt-html.content.panel.xml makes the pane to 
appear in every index.html page of the website:

        <forrest:contract name="content-motd-page">
          <forrest:property name="content-motd-page">
            <motd>
              <motd-option pattern="index.html">
                <motd-title></motd-title>
                <motd-page location="alt">My message here.</motd-page>
              </motd-option>
            </motd>
          </forrest:property>
        </forrest:contract>

I've changed the filename of the main page of my website following the
answer to question 2.13 of the FAQ:

http://forrest.apache.org/docs_0_100/faq.html#defaultStartPage

but I'd rather prefer to achieve my goal giving a proper path to the pattern 
option of the motd contract. The problem is that the index.xml of the main 
page is directly under the xdocs folder and I don't know how to be more 
specific and tell forrest that I don't want the motd to be applied to the index 
pages of subdirectories under  xdocs. Could someone tell me how to do it, 
please?

TIA 
(Continue reading)

Brian M Dube | 2 Apr 2011 19:58
Picon
Favicon

Re: motd question

On Fri, Apr 01, 2011 at 12:52:41PM +0200, Vicent Mas wrote:
> Hi,
> 
> I'm trying to add a motd pane only to the main page of my dispatcher website. 
> Adding the following lines to my pelt-html.content.panel.xml makes the pane to 
> appear in every index.html page of the website:
> 
>         <forrest:contract name="content-motd-page">
>           <forrest:property name="content-motd-page">
>             <motd>
>               <motd-option pattern="index.html">
>                 <motd-title></motd-title>
>                 <motd-page location="alt">My message here.</motd-page>
>               </motd-option>
>             </motd>
>           </forrest:property>
>         </forrest:contract>
> 
> I've changed the filename of the main page of my website following the
> answer to question 2.13 of the FAQ:
> 
> http://forrest.apache.org/docs_0_100/faq.html#defaultStartPage
> 
> but I'd rather prefer to achieve my goal giving a proper path to the pattern 
> option of the motd contract. The problem is that the index.xml of the main 
> page is directly under the xdocs folder and I don't know how to be more 
> specific and tell forrest that I don't want the motd to be applied to the index 
> pages of subdirectories under  xdocs. Could someone tell me how to do it, 
> please?

(Continue reading)

David Crossley | 4 Apr 2011 01:30
Picon
Favicon

Re: motd question

Brian M Dube wrote:
> Vicent Mas wrote:
> > 
> > I'm trying to add a motd pane only to the main page of my dispatcher website. 
> > Adding the following lines to my pelt-html.content.panel.xml makes the pane to 
> > appear in every index.html page of the website:
> > 
> >         <forrest:contract name="content-motd-page">
> >           <forrest:property name="content-motd-page">
> >             <motd>
> >               <motd-option pattern="index.html">
> >                 <motd-title></motd-title>
> >                 <motd-page location="alt">My message here.</motd-page>
> >               </motd-option>
> >             </motd>
> >           </forrest:property>
> >         </forrest:contract>

In the "skins" method, which is where this MOTD stuff
orinigated, there is also the "starts-with" attribute.
See docs in main/fresh-site/src/documentation/skinconf.xml
i.e. a 'forrest seed-sample' site.

We use this for forrest.apache.org site to have a specific
message for only the home page index.html
See $FORREST_HOME/site-author/skinconf.xml

Not sure if that is available with Dispatcher.

-David
(Continue reading)

Vicent Mas | 4 Apr 2011 11:11
Picon

Re: motd question

2011/4/4 David Crossley <crossley <at> apache.org>:
> Brian M Dube wrote:
>> Vicent Mas wrote:
>> >
>> > I'm trying to add a motd pane only to the main page of my dispatcher website.
>> > Adding the following lines to my pelt-html.content.panel.xml makes the pane to
>> > appear in every index.html page of the website:
>> >
>> >         <forrest:contract name="content-motd-page">
>> >           <forrest:property name="content-motd-page">
>> >             <motd>
>> >               <motd-option pattern="index.html">
>> >                 <motd-title></motd-title>
>> >                 <motd-page location="alt">My message here.</motd-page>
>> >               </motd-option>
>> >             </motd>
>> >           </forrest:property>
>> >         </forrest:contract>
>
> In the "skins" method, which is where this MOTD stuff
> orinigated, there is also the "starts-with" attribute.
> See docs in main/fresh-site/src/documentation/skinconf.xml
> i.e. a 'forrest seed-sample' site.
>
> We use this for forrest.apache.org site to have a specific
> message for only the home page index.html
> See $FORREST_HOME/site-author/skinconf.xml
>
> Not sure if that is available with Dispatcher.
>
(Continue reading)

Vicent Mas | 4 Apr 2011 16:21
Picon

Re: motd question

On 2011-04-04 Vicent Mas <uvemas <at> gmail.com> said:

> 2011/4/4 David Crossley <crossley <at> apache.org>:
> > Brian M Dube wrote:
> >> Vicent Mas wrote:
> >> > I'm trying to add a motd pane only to the main page of my dispatcher
> >> > website. Adding the following lines to my pelt-html.content.panel.xml
> >> > makes the pane to appear in every index.html page of the website:
> >> > 
> >> >         <forrest:contract name="content-motd-page">
> >> >           <forrest:property name="content-motd-page">
> >> >             <motd>
> >> >               <motd-option pattern="index.html">
> >> >                 <motd-title></motd-title>
> >> >                 <motd-page location="alt">My message here.</motd-page>
> >> >               </motd-option>
> >> >             </motd>
> >> >           </forrest:property>
> >> >         </forrest:contract>
> > 
> > In the "skins" method, which is where this MOTD stuff
> > orinigated, there is also the "starts-with" attribute.
> > See docs in main/fresh-site/src/documentation/skinconf.xml
> > i.e. a 'forrest seed-sample' site.
> > 
> > We use this for forrest.apache.org site to have a specific
> > message for only the home page index.html
> > See $FORREST_HOME/site-author/skinconf.xml
> > 
> > Not sure if that is available with Dispatcher.
(Continue reading)

David Crossley | 13 Apr 2011 02:56
Picon
Favicon

Re: motd question

Vicent Mas wrote:
> 
> I've updated my local repo and checked that the 'starts-with' attribute stuff 
> of motd is not available with dispatcher. I've customised the content-motd-
> page.contract.xml that comes with dispatcher adding some 'starts-with' stuff. 
> I've used $FORREST_HOME/main/webapp/skins/pelt/xslt/html/site-to-xhtml.xsl as 
> a guide (not sure if it is the best choice but it has been good enough for 
> me). Now the motd contract works as I want.
> 
> So again thanks for your help,

Yes the "pelt" skin is the one that the Forrest project
keeps up-to-date. It is what the Forrest project website uses.
http://forrest.apache.org/docs/dev/status-themes.html
So that is the correct one to base your work upon.

Are you able to provide a patch for Dispatcher?

-David

Vicent Mas | 14 Apr 2011 18:54
Picon

Re: motd question

On 2011-04-13 David Crossley <crossley <at> apache.org> said:

> Vicent Mas wrote:
> > I've updated my local repo and checked that the 'starts-with' attribute
> > stuff of motd is not available with dispatcher. I've customised the
> > content-motd- page.contract.xml that comes with dispatcher adding some
> > 'starts-with' stuff. I've used
> > $FORREST_HOME/main/webapp/skins/pelt/xslt/html/site-to-xhtml.xsl as a
> > guide (not sure if it is the best choice but it has been good enough for
> > me). Now the motd contract works as I want.
> > 
> > So again thanks for your help,
> 
> Yes the "pelt" skin is the one that the Forrest project
> keeps up-to-date. It is what the Forrest project website uses.
> http://forrest.apache.org/docs/dev/status-themes.html
> So that is the correct one to base your work upon.
> 
> Are you able to provide a patch for Dispatcher?
> 
> -David

Hi,

I've attached the patch to this mail. You can apply it from the FORREST_HOME 
like this:

$ patch -p0 <content-motd-page-contract.diff

Please, note that I've not tried to port all motd functionality from 
(Continue reading)

Forrestbot | 19 Apr 2011 03:14
Picon

ForrestBot build for forrest-sample-2 FAILED

Automated build for forrest-sample-2 FAILED
Log attached.

----------
Forrestbot run ended at 19 April 01:14 AM
Using Forrest 0.10-dev
Forrestbot administrator: Forrest developers
----------

     [echo] 
          ....... Forrest render START 2011-04-19 12:28:07
          ... Rendering docs in /home/forrest/config/forrestbot-trunk/conf/work/forrest-sample-2

check-java-version:
     [echo] This is apache-forrest-0.10-dev
     [echo] Using Java 1.6 from /usr/local/jdk1.6.0/jre
     [echo] Using Apache Ant version 1.7.1 compiled on September 26 2008 from /home/forrest/sources/forrest-trunk/tools/ant

init-props:
    [mkdir] Created dir: /home/forrest/config/forrestbot-trunk/conf/work/forrest-sample-2/tmp

echo-settings-condition:

echo-settings:

check-skin:

init-proxy:

fetch-skins-descriptors:
(Continue reading)

Forrestbot | 19 Apr 2011 05:53
Picon

ForrestBot build for forrest-seed FAILED

Automated build for forrest-seed FAILED
Log attached.

----------
Forrestbot run ended at 19 April 03:53 AM
Using Forrest 0.10-dev
Forrestbot administrator: Forrest developers
----------

     [echo] 
          ....... Forrest render START 2011-04-19 03:42:24
          ... Rendering docs in /home/forrest/config/forrestbot-trunk/conf/work/forrest-seed

check-java-version:
     [echo] This is apache-forrest-0.10-dev
     [echo] Using Java 1.6 from /usr/local/jdk1.6.0/jre
     [echo] Using Apache Ant version 1.7.1 compiled on September 26 2008 from /home/forrest/sources/forrest-trunk/tools/ant

init-props:
     [echo] Oops, something broke

     [java] 	at org.apache.log.Logger.output(Logger.java:590)
     [copy] Failed to copy
/home/forrest/sources/forrest-trunk/main/webapp/skins/common/scripts/breadcrumbs.js to
/usr/home/forrest/htdocs/ft/build/forrest-seed/skin/breadcrumbs.js due to
java.io.FileNotFoundException
/usr/home/forrest/htdocs/ft/build/forrest-seed/skin/breadcrumbs.js (No space left on device)
     [java] 	at org.apache.log.Logger.warn(Logger.java:205)
     [java] 	at org.apache.avalon.framework.logger.LogKitLogger.warn(LogKitLogger.java:109)

(Continue reading)


Gmane