Yeah, I think when generating the site, you generally want to generate from the root. Mostly this is done with continuum, but if you generate the site on a subproject, things get wonkey <-- Yes, that's the technical term :)

As an addendum to what I said before, it seems that modules resolve correctly as long at the graphic is in the same root project. External URL's are not referenced correctly if they are relative. I fixed this for the portal site.

But yeah, I think it's cleaner for everyone involved if each subproject has their own logo. Only the myfaces logo should be in the skin since it's needed by all projects...

Scott

Catalin Kormos wrote:
The only question would be IMO, if you keep the logos for example in the root project's site, what happens when you generate the site just for a module of that subproject? will it have the resources copied from the root? no problem there when you move the sites, root and modules, into a common context, but in this case when you check your module's site locally, the resources from the root won't be there...what do you think, can we leave with that?

regards,
Catalin

On Wed, Mar 26, 2008 at 12:18 AM, Bernd Bohmann <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hello Scott,

    just checked the generated html of the site. The site plugin
    creates the
    correct relative reference to the graphic. Should I remove the portlet
    bridge logo from the myfaces-site-skin?

    Regards

    Bernd

    Scott O'Bryan schrieb:
    > I wasn't too clear so let me explain, I have 3 top-level
    projects.  Each
    > of the core projects (of which there are 2) have 3 modules with the
    > third module (the examples module) containing two more.  In EACH
    core
    > project I have one site.xml file.  The graphic in all of the
    modules of
    > each core project reference the graphic correctly because they know
    > where they are located relative to the root project.
    >
    > So if Tobago had 1 core project with 40 modules, your root
    project could
    > refer to your local graphic and the pages for all your modules would
    > reference this graphic correctly.  If you had multiple root
    projects,
    > like the bridge does, you would need a new site.xml for each one
    anyway.
    >
    > Is this correct or am I missing something?
    >
    > Scott
    >
    > Scott O'Bryan wrote:
    >> Bernd,
    >>
    >> That isn't entirely true.  The bridge has 3 modules (right now)
    which
    >> contribute to the site.  The sub-modules just reference the graphic
    >> from the main site.  In my case I'm even piecing the pieces
    together
    >> amongst a separate "site" project and core projects (the core
    >> references the site project's graphics).  In the case of
    modules under
    >> one root, the graphic simply needs to be in your root project.
     If it
    >> is, I believe all the other url's will refer to it correctly
    because
    >> it will know how to construct the relative urls.
    >>
    >> Scott
    >> Bernd Bohmann wrote:
    >>> Hello Scott,
    >>>
    >>> the tobago project has 30 modules. If the tobago logo isn't
    included in
    >>> the myfaces-site-skin the tobago logo must be included in 30
    resource
    >>> dirs of the site or I have to create 30 site.xml files to
    reference the
    >>> logo.
    >>>
    >>> The portlet bridge has 3 site modules now. For every new
    module you must
    >>> create a new site.xml to reference the logo.
    >>>
    >>> I don't like to maintain to many files with the same content.
    >>> But we waste some space on myfaces.apache.org
    <http://myfaces.apache.org>.
    >>>
    >>> Regards
    >>>
    >>> Bernd
    >>>
    >>>
    >>>
    >>> Scott O'Bryan schrieb:
    >>>
    >>>> Well that was kind of my point.  Why should the bridge logo
    be in the
    >>>> skin?  If it is in the skin then every project gets a copy
    when it's
    >>>> deployed.  IMO the myfaces logo should be in the skin and the
    project
    >>>> logos should be with the project.  That said, I'll certainly
    abide by
    >>>> what everyone else thinks is best because I too can appreciate
    >>>> consistency.
    >>>>
    >>>> Scott
    >>>>
    >>>> Bernd Bohmann wrote:d
    >>>>
    >>>>> Hello Scott,
    >>>>>
    >>>>> I just checked in the logo from the bridge site project to the
    >>>>> myfaces-site-skin. The myfaces-site-skin contains already
    the tobago
    >>>>> logo. The tobago logo has the path images/tobagoLogo.png,
    the bridge
    >>>>> logo has the path images/portlet_bridge_logo.png und the
    myfaces logo
    >>>>> has the path images/myfaces-logo.png in the myfaces-site-skin.
    >>>>>
    >>>>> I think if other subprojects or the master myfaces site are
    using a
    >>>>> logo
    >>>>> from a subproject, it should be used from the site-skin. I don't
    >>>>> like to
    >>>>> duplicate the graphics in the repository.
    >>>>>
    >>>>> Regards
    >>>>>
    >>>>> Bernd
    >>>>>
    >>>>> Scott O'Bryan schrieb:
    >>>>>
    >>>>>
    >>>>>> Hey Bernd,
    >>>>>>
    >>>>>> Where did you get the logo from?  I skinned the portlet bridge
    >>>>>> graphic
    >>>>>> yesterday and I had to modify some of the white-space to
    make it look
    >>>>>> right.  Right now the bridge is using it's own logo, but I can
    >>>>>> certainly
    >>>>>> pull that from skin if you want me to.
    >>>>>>
    >>>>>> One reason we may NOT want to pull these from the skin is that
    >>>>>> although the
    >>>>>> MyFaces logo will be needed by the sub-project, the other
    graphics
    >>>>>> won't.
    >>>>>> Yet putting these in the skin will make them available to all
    >>>>>> projects on
    >>>>>> their builds.
    >>>>>>
    >>>>>> Scott
    >>>>>>
    >>>>>> On Tue, Mar 25, 2008 at 4:19 AM, Bernd Bohmann
    >>>>>> <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
    >>>>>> wrote:
    >>>>>>
    >>>>>>
    >>>>>>> Hello,
    >>>>>>>
    >>>>>>> just added the logo of the portlet bridge to the
    myfaces-site-skin.
    >>>>>>> Is a
    >>>>>>> trinidad logo available?
    >>>>>>>
    >>>>>>> And I would suggest following header
    >>>>>>>
    >>>>>>> Apache|MyFaces|Core|Trinidad|Tobago|Tomahawk|Orchestra|Portlet
    >>>>>>> Bridge
    >>>>>>> (no Sandbox every project has a sandbox no JSF 1.1-1.2)
    >>>>>>>
    >>>>>>> or
    >>>>>>>
    >>>>>>> Apache|MyFaces|Download|Mailing Lists
    >>>>>>> (News archive makes no sense in the header)
    >>>>>>>
    >>>>>>> for the subprojects for example Tobago
    >>>>>>>
    >>>>>>> Apache|MyFaces|Tobago|Download|Mailing Lists
    >>>>>>>
    >>>>>>>
    >>>>>>> I would suggest following banner
    >>>>>>>
    >>>>>>> on the main page
    >>>>>>>
    >>>>>>> MyFaces Logo        | Apache Logo
    >>>>>>>
    >>>>>>> for the subprojects
    >>>>>>>
    >>>>>>> Subproject Logo or Name  | MyFaces Logo
    >>>>>>>
    >>>>>>> We should include the conference banner on every page.
    >>>>>>> I would like to place the banner on the left site of the
    >>>>>>> Apache/MyFaces
    >>>>>>> Logo.
    >>>>>>>
    >>>>>>> Regards
    >>>>>>>
    >>>>>>>
    >>>>>>> Bernd
    >>>>>>>
    >>>>>>>
    >>>>>>>
    >>>>>>> Bruno Aranda schrieb:
    >>>>>>>
    >>>>>>>> Yes, it is really cool :) Thanks!
    >>>>>>>>
    >>>>>>>> Bruno
    >>>>>>>>
    >>>>>>>> On 25/03/2008, Matthias Wessendorf <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> wrote:
    >>>>>>>>
    >>>>>>>>> really sexy looking website!
    >>>>>>>>>
    >>>>>>>>>  thanks!!!
    >>>>>>>>>  -Matthias
    >>>>>>>>>
    >>>>>>>>>
    >>>>>>>>>  On Sat, Mar 22, 2008 at 2:05 PM, Gerald Müllan
    >>>>>>>>> <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
    >>>>>>>>>
    >>>>>>> wrote:
    >>>>>>>
    >>>>>>>>>> It is online!
    >>>>>>>>>>
    >>>>>>>>>  >
    >>>>>>>>>  >  Very well done guys; looks really great.
    >>>>>>>>>  >
    >>>>>>>>>  >  cheers,
    >>>>>>>>>  >
    >>>>>>>>>  >  Gerald
    >>>>>>>>>  >
    >>>>>>>>>  >
    >>>>>>>>>  >
    >>>>>>>>>  >  On 3/22/08, Catalin Kormos <[EMAIL PROTECTED]
    <mailto:[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] <mailto:[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 <http://www.codebeat.ro>
    >>>>>>>>>  >  > > >
    >>>>>>>>>  >  > >
    >>>>>>>>>  >  >
    >>>>>>>>>  >  >
    >>>>>>>>>  >  >
    >>>>>>>>>  >  > --
    >>>>>>>>>  >  > ------------
    >>>>>>>>>  >  > Codebeat
    >>>>>>>>>  >  > www.codebeat.ro <http://www.codebeat.ro>
    >>>>>>>>>  >
    >>>>>>>>>  >
    >>>>>>>>>  >  --
    >>>>>>>>>  >  http://www.irian.at
    >>>>>>>>>  >
    >>>>>>>>>  >  Your JSF powerhouse -
    >>>>>>>>>  >  JSF Consulting, Development and
    >>>>>>>>>  >  Courses in English and German
    >>>>>>>>>  >
    >>>>>>>>>  >  Professional Support for Apache MyFaces
    >>>>>>>>>  >
    >>>>>>>>>
    >>>>>>>>>
    >>>>>>>>>
    >>>>>>>>>
    >>>>>>>>> --
    >>>>>>>>>  Matthias Wessendorf
    >>>>>>>>>
    >>>>>>>>>  further stuff:
    >>>>>>>>>  blog: http://matthiaswessendorf.wordpress.com/
    >>>>>>>>>  sessions: http://www.slideshare.net/mwessendorf
    >>>>>>>>>  mail: matzew-at-apache-dot-org
    >>>>>>>>>
    >>>>>>>>>
    >>>>
    >>
    >
    >




--
------------
Codebeat
www.codebeat.ro <http://www.codebeat.ro>

Reply via email to