Hmm..actually, updating the sites of the entire family of myfaces
projects is even nastier than just running site-deploy for each one.

Here's a comment from the orchestra project's top-level pom.xml:

  - To publish sites, run the following *in each submodule*:
  -  mvn -Pgenerate-site site-deploy
  - Do NOT run that command in the top-level directory, as there is a
nasty maven site-plugin bug that
  - causes submodules to fail to find their site.xml files. See:
  - * http://jira.codehaus.org/browse/MSITE-279
  - * http://jira.codehaus.org/browse/MSITE-270
  - * http://jira.codehaus.org/browse/MSITE-262
  - * http://jira.codehaus.org/browse/MSITE-256
  - * http://jira.codehaus.org/browse/MSITE-245

I've confirmed that all of these maven bugs are still open.

Maybe it's better to provide instructions on how to update a project,
and leave it to a developer in each project to redeploy their project's
site. I can do the one for Orchestra...

Regards,
Simon

On Sat, 2008-03-22 at 15:22 +0100, simon wrote:
> Hi Catalin,
> 
> There is really no such thing as "the whole website". MyFaces is a
> family of projects, each of which is semi-independent and that includes
> the websites. So each project's site needs to be redeployed separately.
> 
> Yes, that wiki page you reference is correct, but by "deploy the site"
> it means *just* the top-level pages, not anything in any of the child
> projects.
> 
> If a change is made (like the recent one) which affects all the myfaces
> projects, then yes it is a nuisance to redeploy each bit separately. But
> that's a rare case; more usually a specific project (eg core1.2) wants
> to redeploy their bit, and it's best to be able to deploy just that bit
> and not redeploy the entire set of pages for all projects.
> 
> I suppose that Continuum supports grouping build tasks, so we could
> create one build task that deploys the site for each project, but I'm
> not sure the "redeploy everything" operation is common enough to make it
> worthwhile.
> 
> For now, just go into each project in continuum (core11, core12,
> trinidad, orchestra, etc) and run the "build site" bit separately.
> 
> 
> Note:
> 
> With maven's site generation, each module's site.xml can point to
> whatever skin it wants. When I rearranged the websites a few months back
> I arranged for most websites to use the same skin, by updating the
> site.xml for each project to point to:
> http://svn.apache.org/repos/asf/myfaces/maven/trunk/myfaces-site-skin/
> As you have updated that skin, each project's site should automatically
> inherit that look.
> 
> However a limitation of Maven is that menus cannot be specified by
> pointing to an external dependency like a skin; menus are always
> inherited from the parent pom. But some myfaces projects might want to
> inherit from the parent myfaces pom but want to choose their own menus.
> So for the moment, each myfaces subproject instead has its own
> copy-and-paste version of the "standard" myfaces menus. I presume you'll
> need to change the site.xml file for each project before redeploying the
> site for that project in order to get all the menus consistent...
> 
> Regards,
> Simon
> 
> On Sat, 2008-03-22 at 15:51 +0200, Catalin Kormos wrote:
> > Yeap :), not the whole site yet, and at least i need to hit refresh in
> > my browser to see the changes. Could someone shed some light on how to
> > update the whole website? i'm planning to do some more work together
> > with Adonis on it, and it would be great to know how to update /
> > deploy it easily. Is this up to date?
> > http://wiki.apache.org/myfaces/Deploying_the_Webpage_of_MyFaces, this
> > is the only reference i could find so far. I have a user on the
> > continuum server, but i don't have any rights. Is it possible that i
> > also receive the needed rights there?
> > 
> > regards,
> > Catalin
> > 
> > On Sat, Mar 22, 2008 at 3:05 PM, Gerald Müllan <[EMAIL PROTECTED]>
> > wrote:
> >         It is online!
> >         
> >         Very well done guys; looks really great.
> >         
> >         cheers,
> >         
> >         Gerald
> >         
> >         
> >         On 3/22/08, Catalin Kormos <[EMAIL PROTECTED]> wrote:
> >         > Hi Bernd,
> >         >
> >         > Thanks, i guess it will take some time until we see any
> >         change on the
> >         > myfaces site.
> >         >
> >         > regards,
> >         > Catalin
> >         >
> >         >
> >         > On Sat, Mar 22, 2008 at 1:54 PM, Bernd Bohmann
> >         <[EMAIL PROTECTED]>
> >         > wrote:
> >         > > Hello Catalin,
> >         > >
> >         > > just added the myfaces-site-skin to the continuum build
> >         and forced a new
> >         > > site build on the continuum server. I don't know how the
> >         subproject
> >         > > sites are build.
> >         > >
> >         > > Regards
> >         > >
> >         > > Bernd
> >         > >
> >         > > Catalin Kormos schrieb:
> >         > >
> >         > >
> >         > >
> >         > > > Could someone help me out with a redeploy of the MyFaces
> >         website? as i'm
> >         > not
> >         > > > exactly sure about the process involved here. I just
> >         committed the
> >         > updated
> >         > > > skin, and i also applied it on some of the projects,
> >         like, core,
> >         > tomahawk,
> >         > > > sandbox and orchestra.
> >         > > >
> >         > > > Thanks,
> >         > > > Catalin
> >         > > >
> >         > > > ------------
> >         > > > Codebeat
> >         > > > www.codebeat.ro
> >         > > >
> >         > >
> >         >
> >         >
> >         >
> >         > --
> >         > ------------
> >         > Codebeat
> >         > www.codebeat.ro
> >         
> >         
> >         
> >         --
> >         http://www.irian.at
> >         
> >         Your JSF powerhouse -
> >         JSF Consulting, Development and
> >         Courses in English and German
> >         
> >         Professional Support for Apache MyFaces
> > 
> > 
> > 
> > -- 
> > ------------
> > Codebeat
> > www.codebeat.ro
> 

Reply via email to