You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Brian S. Hayes" <br...@comcast.net> on 2004/04/24 02:01:16 UTC

[Issue] Rev 10206 - Is skinconf being processed?

It appears that the skinconf is not being processed or the information is
not getting passed to site2html.xsl.  I just got the latest trunk, revision
10206.  I noticed the same problem with rev 10157.  I notice this with the
default skin and the krysalis skin.  I observed the following problems: no
project logo, no group logo, and the Search areas have "the  site" instead
of "the <searchsite-name> site".

I believe this problem is directly related to the issue about the issue I
reported the "Re: [Proposal] Enabling/Disabling Section Titles In Menu"
e-mail thread:
 > it seems 
 > that the toc/@location="page" or toc/@location="page,menu" does not 
 > currently work (which is fine for me right now).


/Brian





RE: [Issue] Rev 10206 - Is skinconf being processed?

Posted by David Crossley <cr...@apache.org>.
Brian S. Hayes wrote:
<snip/>
> 
> Lastly, I hope I did not breach the forrest-dev etiquette with a response to
> the group.  I believe my response will be helpful to new Forresters
> wondering about which suggestion worked.

Brian, please do not hesitate to join in with any discussion
or voting, and please conduct all Forrest business on this
mailing list. In that way everyone will benefit.

--David



RE: [Issue] Rev 10206 - Is skinconf being processed?

Posted by "Brian S. Hayes" <br...@comcast.net>.
A) The "forrest clean site" did not work even after I rebuilt Forrest.  I
just tried it again on my original test site and the build failed since
skinconf.xml was not a valid document.

B) Creating a new site did work.  I wonder if I even needed to rebuild
Forrest.

Lastly, I hope I did not breach the forrest-dev etiquette with a response to
the group.  I believe my response will be helpful to new Forresters
wondering about which suggestion worked.

Thank you.
Brian

> -----Original Message-----
> From: Juan Jose Pablos [mailto:cheche@che-che.com]
> Brian S. Hayes escribió:
> >
> >
> > I just tried 10352 and it does not appear that skinconf is being
> processed.
> > I tested the default skin and the krysalis skin.  The project logo,
> group
> > logo, and the breadcrumbs did not appear.
> >
> > Do you want me to still test version 10259?
> >
> > I did notice in the forrest site run a number of warnings and errors. It
> > appears that files and directories are not being found.  With these
> newer
> > builds, do I need to set project.content-dir in forrest.properties?
> >
> 
> try "forrest clean site"
> 
> if it does not work just do:
> 
> on $FORREST_HOME
> svn update
> ./build.bat
> 
> move E:\dev\websites\lftest out the way and create a new one
> cd E:\dev\websites\lftest
> forrest seed
> uncomment project.skin=krysalis-site
> 
> forrest site
> 
> 
> Let me know how this works for you




Re: [Issue] Rev 10206 - Is skinconf being processed?

Posted by Juan Jose Pablos <ch...@che-che.com>.
Brian S. Hayes escribió:
> 
> 
> I just tried 10352 and it does not appear that skinconf is being processed.
> I tested the default skin and the krysalis skin.  The project logo, group
> logo, and the breadcrumbs did not appear.
> 
> Do you want me to still test version 10259?
> 
> I did notice in the forrest site run a number of warnings and errors. It
> appears that files and directories are not being found.  With these newer
> builds, do I need to set project.content-dir in forrest.properties?
> 

try "forrest clean site"

if it does not work just do:

on $FORREST_HOME
svn update
./build.bat

move E:\dev\websites\lftest out the way and create a new one
cd E:\dev\websites\lftest
forrest seed
uncomment project.skin=krysalis-site

forrest site


Let me know how this works for you


RE: [Issue] Rev 10206 - Is skinconf being processed?

Posted by "Brian S. Hayes" <br...@comcast.net>.
 
> Can you test version 10259?
> 
> It should work not.
> 
> The issue was the the document() function does not seem to get  the
> entity resolver.

I just tried 10352 and it does not appear that skinconf is being processed.
I tested the default skin and the krysalis skin.  The project logo, group
logo, and the breadcrumbs did not appear.

Do you want me to still test version 10259?

I did notice in the forrest site run a number of warnings and errors. It
appears that files and directories are not being found.  With these newer
builds, do I need to set project.content-dir in forrest.properties?

--- Forrest run: ---

E:\dev\websites\lftest>forrest

Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile: E:\dev\projects\trunk\build\dist\shbat\forrest.build.xml
<snip/>
---------------------------------

site:
Deleting directory E:\dev\websites\lftest\build\tmp\cocoon-work
Created dir: E:\dev\websites\lftest\build\tmp\cocoon-work
Warning: E:\dev\websites\lftest\build\webapp\resources not found.
Copying 3 files to E:\dev\websites\lftest\build\site
Copying 31 files to E:\dev\websites\lftest\build\site\skin\images
Warning: E:\dev\websites\lftest\src\documentation\skins\common\images not
found.

Warning: E:\dev\websites\lftest\src\documentation\skins\krysalis-site\images
not
 found.
Copying 9 files to E:\dev\websites\lftest\build\site\skin
Warning: E:\dev\websites\lftest\src\documentation\skins\common not found.
Warning: E:\dev\websites\lftest\src\documentation\skins\krysalis-site not
found.

Static site will be generated at:
E:\dev\websites\lftest\build\site

Note that there are various reasons for "build failed" messages.
<snip/>
E:\dev\websites\lftest\build\brokenlinks.xml
for any broken links in the generated site.

ERROR: You must specify a destination directory when defining a target
------------------------------------------------------------------------
cocoon 2.1.4
Copyright (c) 1999-2004 Apache Software Foundation. All rights reserved.
------------------------------------------------------------------------
<snip/>
Total time: 0 minutes 27 seconds,  Site size: 208,588 Site pages: 29
------------------------------
Static site was successfully generated at:
E:\dev\websites\lftest\build\site
------------------------------


BUILD SUCCESSFUL
Total time: 34 seconds

---
/Brian




Re: [Issue] Rev 10206 - Is skinconf being processed?

Posted by Juan Jose Pablos <ch...@che-che.com>.
Brian S. Hayes escribió:
> 
> Hi Lechique,
> 
> Thank you for letting me know you have had the some problems with Forrest.
> Based on what you wrote, I'm concluding that the problem may be with the XML
> validation (based on the DTD) -- If the DTD cannot be found, the validation
> should fail.  If the validation fails, it appears that the skinconf.xml is
> not processed.
> 
> Best regards,
> Brian
> 
> 


Can you test version 10259?

It should work not.

The issue was the the document() function does not seem to get  the 
entity resolver.

Cheers,
Cheche



RE: [Issue] Rev 10206 - Is skinconf being processed?

Posted by "Brian S. Hayes" <br...@comcast.net>.

Hi Lechique,

Thank you for letting me know you have had the some problems with Forrest.
Based on what you wrote, I'm concluding that the problem may be with the XML
validation (based on the DTD) -- If the DTD cannot be found, the validation
should fail.  If the validation fails, it appears that the skinconf.xml is
not processed.

Best regards,
Brian


> -----Original Message-----
> From: Lechique [mailto:lechique@poczta.onet.pl]
> Sent: Friday, April 23, 2004 11:57 PM
> To: Brian S. Hayes
> Subject: Re: [Issue] Rev 10206 - Is skinconf being processed?
> 
> 
> Brian S. Hayes wrote:
> 
> > It appears that the skinconf is not being processed or the information
> is
> > not getting passed to site2html.xsl.  I just got the latest trunk,
> revision
> > 10206.  I noticed the same problem with rev 10157.  I notice this with
> the
> > default skin and the krysalis skin.  I observed the following problems:
> no
> > project logo, no group logo, and the Search areas have "the  site"
> instead
> > of "the <searchsite-name> site".
> 
> I had the same problem. IMHO the reason is lack of DTD in skinconf.
> Prior to 10172 DTD was literally included in the file. Now there is
> only statement:
> 
> <!DOCTYPE skinconfig PUBLIC
>         "-//APACHE//DTD Skin Configuration V0.6//EN"
>         "skinconfig-v06.dtd">
> 
> [It was reported in 'Re: svn commit: rev 10172 - in
> xml/forrest/branches/copyless:....' thread].
> 
> After including DTD from the 'old' skinconf file, the file is being
> processed.
> 
> 
> Best regards.
> Lechique




Re: [Issue] Rev 10206 - Is skinconf being processed?

Posted by Lechique <le...@poczta.onet.pl>.
Brian S. Hayes wrote:

> It appears that the skinconf is not being processed or the information is
> not getting passed to site2html.xsl.  I just got the latest trunk, revision
> 10206.  I noticed the same problem with rev 10157.  I notice this with the
> default skin and the krysalis skin.  I observed the following problems: no
> project logo, no group logo, and the Search areas have "the  site" instead
> of "the <searchsite-name> site".

I had the same problem. IMHO the reason is lack of DTD in skinconf.
Prior to 10172 DTD was literally included in the file. Now there is
only statement:

<!DOCTYPE skinconfig PUBLIC
        "-//APACHE//DTD Skin Configuration V0.6//EN"
        "skinconfig-v06.dtd">

[It was reported in 'Re: svn commit: rev 10172 - in
xml/forrest/branches/copyless:....' thread].

After including DTD from the 'old' skinconf file, the file is being
processed.


Best regards.
Lechique