Mailing List Archive

Failure Building Business Site after initial Seed.
Each time I use Forrest to seed a new site,
The site initial fails to build with the following Errors:

-----------------------------------------------------------------------------
.....
validate-skinconf:
/home/bryce/repos/brycealcock/rohl/src/documentation/skinconf.xml:380:17:
Element type "url-prefix" must be declared.
/home/bryce/repos/brycealcock/rohl/src/documentation/skinconf.xml:393:18:
Element type "disable-toc" must be declared.
/home/bryce/repos/brycealcock/rohl/src/documentation/skinconf.xml:394:9:
The content of element type "pdf" must match
"(page,page-numbering-format?,margins?,show-external-urls?,disable-copyright-footer?)".

BUILD FAILED
.....
-----------------------------------------------------------------------------


Steps to Repoduce:
I AM USING THE LATEST CODE FROM SVN, but I tried it with code from
several months back as well.
FORREST VERSION:
Apache Forrest 0.9-dev

1.  cd to a new clean directory.
2.  forrest seed-business
3.  Fill in all the questions or choose the defaults (It doesn't seem to matter)
4.  forrest site
The error occurs on step 4.

Work Around:
Go hand edit the skinconf.xml file to remove the tags that fail validation.
(I am not sure if those elements are expected to be somewhere in a
style sheet...)



+----------------------------------------------------+
| Contact Info
+----------------------------------------------------+
| linkedIn: http://www.linkedin.com/in/brycealcock
| Website: http://brycealcock.com
| Blog: http://quantprinciple.blogspot.com
| twitter: qboiler
+----------------------------------------------------+
Re: Failure Building Business Site after initial Seed. [ In reply to ]
On Thu, Sep 30, 2010 at 10:25:35PM -0500, Bryce Alcock wrote:
> Each time I use Forrest to seed a new site,
> The site initial fails to build with the following Errors:
>
> -----------------------------------------------------------------------------
> .....
> validate-skinconf:
> /home/bryce/repos/brycealcock/rohl/src/documentation/skinconf.xml:380:17:
> Element type "url-prefix" must be declared.
> /home/bryce/repos/brycealcock/rohl/src/documentation/skinconf.xml:393:18:
> Element type "disable-toc" must be declared.
> /home/bryce/repos/brycealcock/rohl/src/documentation/skinconf.xml:394:9:
> The content of element type "pdf" must match
> "(page,page-numbering-format?,margins?,show-external-urls?,disable-copyright-footer?)".
>
> BUILD FAILED

The business seed site has fallen behind. The generated skinconf is
declared to be v0.8-1, but needs to be v0.8-2 instead:

-<!DOCTYPE skinconfig PUBLIC "-//APACHE//DTD Skin Configuration
V0.8-1//EN" "http://forrest.apache.org/dtd/skinconfig-v08-1.dtd">
+<!DOCTYPE skinconfig PUBLIC "-//APACHE//DTD Skin Configuration
V0.8-2//EN" "http://forrest.apache.org/dtd/skinconfig-v08-2.dtd">

But after that is corrected, there are other build issues to be
found. Other than scripted, global codebase changes, the business seed
has years of dust on it.

Brian
Re: Failure Building Business Site after initial Seed. [ In reply to ]
Bryce Alcock wrote:
> Each time I use Forrest to seed a new site,
> The site initial fails to build with the following Errors:
>
> -----------------------------------------------------------------------------
> .....
> validate-skinconf:
> /home/bryce/repos/brycealcock/rohl/src/documentation/skinconf.xml:380:17:
> Element type "url-prefix" must be declared.
> /home/bryce/repos/brycealcock/rohl/src/documentation/skinconf.xml:393:18:
> Element type "disable-toc" must be declared.
> /home/bryce/repos/brycealcock/rohl/src/documentation/skinconf.xml:394:9:
> The content of element type "pdf" must match
> "(page,page-numbering-format?,margins?,show-external-urls?,disable-copyright-footer?)".
>
> BUILD FAILED
> .....
> -----------------------------------------------------------------------------
>
>
> Steps to Repoduce:
> I AM USING THE LATEST CODE FROM SVN, but I tried it with code from
> several months back as well.
> FORREST VERSION:
> Apache Forrest 0.9-dev
>
> 1.  cd to a new clean directory.
> 2.  forrest seed-business
> 3.  Fill in all the questions or choose the defaults (It doesn't seem to matter)
> 4.  forrest site
> The error occurs on step 4.
>
> Work Around:
> Go hand edit the skinconf.xml file to remove the tags that fail validation.
> (I am not sure if those elements are expected to be somewhere in a
> style sheet...)

Change the doctype declaration to be "DTD Skin Configuration V0.8-2".

Thanks for reporting the problem. I will fix it in SVN.

-David