forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clay Leeds <cle...@medata.com>
Subject Re: Forrest skins (repository, build errors, testing, etc.)
Date Tue, 13 Jul 2004 14:29:34 GMT
On Jul 12, 2004, at 10:05 PM, David Crossley wrote:
> Clay Leeds wrote:
>> In my editing environments (BBEdit as well as Eclipse 3.0 w/ XML Buddy
>> under Mac OS X), I received no validation errors. In fact, when I look
>> at the file, I don't see any whitespace at all (I've even tried
>> deleting  'r-f' and re-typing 'transformer-factory', and I still get
>> the same BUILD FAILED errors...).
>>
>> BTW, I notice that the file forrest is complaining about is actually
>> sitemap.xmap, not sitemap-0.5.xmap, which I'm appending to the bottom
>> of this e-mail. It doesn't seem to matter though, as there is no white
>> space there either. I'm stumped!
>>
>> I've ZIP'd up the following files (forrest.properties,
>> sitemap-0.5.xmap, sitemap.xmap, site.xml) and stuck them on my site in
>> case someone thinks they may be useful in helpin resolve these issues:
>
> I am afraid that i am getting confused with this thread.
> Let me ask some questions/statements to try to clear it up:

Thanks! And sorry for confusing things.

> * you can build the FOP website using forrest-0.5.1

Actually, I got BUILD ERRORS with that as well ("No pipeline matched  
request" - see [1] for the thread). I switched from 0.5.1 to 0.6-dev  
hoping I might not have to resolve my forrest-0.5.1 issues. Since I  
received different errors with 0.6 I thought I might be moving in the  
right direction...

> * you are now trying to use current SVN head

correct. BTW, does it make sense to add some type of forrest  
VERSION/BUILD string to the output for debugging, like cocoon does?

------------------------------------------------------------------------
cocoon 2.1.5
Copyright (c) 1999-2004 Apache Software Foundation. All rights reserved.
------------------------------------------------------------------------

> * you have your own sitemap.xmap at fop/src/documentation

Correct. I've made some changes from what is in xml-fop CVS HEAD  
(mainly adding Whole Site PDF, but also fixing some other problems that  
existed.

> Why do you have a sitemap-0.5.xmap there too? Perhaps that
> is confusing forrest.

Possibly. IIUC, that was left over from when I picked up the task.

> Please provide the output from doing the command-line 'forrest'.

BUILD ERROR output appended to the bottom of this message

> Also list the files that you have in the fop/src/documentation
> directory.

[clay@Clays-TiBook xml-fop]$ ls -l src/documentation/
total 200
-rw-rw-r--   1 clay  wheel    363 27 Jun 22:37 CVS
-rw-rw-r--   1 clay  wheel    480  1 Jul 12:58 README.txt
drwxrwxr-x   5 clay  wheel    170 13 Jul 07:13 build
drwxrwxr-x   3 clay  wheel    102  1 Jul 12:58 classes
-rw-rw-rw-   1 clay  wheel   9515 27 Jun 22:37 cocoon.diff
drwxrwxr-x   8 clay  wheel    272  1 Jul 12:58 content
-rw-rw-r--   1 clay  wheel   3563 13 Jul 07:13 forrest.properties
drwxrwxr-x   8 clay  wheel    272 27 Jun 22:37 resources
-rw-rw-rw-   1 clay  wheel  19033 27 Jun 22:37 sitemap-0.5.xmap.bak
-rw-rw-rw-   1 clay  wheel  38978 27 Jun 22:37 sitemap.xmap
-rw-rw-r--   1 clay  wheel   9970  1 Jul 12:58 skinconf.xml
drwxrwxr-x   7 clay  wheel    238  1 Jul 14:46 skins
drwxrwxr-x   3 clay  wheel    102 13 Jul 07:13 src
-rw-rw-r--   1 clay  wheel   2485 13 Jul 07:13 status.xml
drwxrwxr-x  15 clay  wheel    510  1 Jul 12:58 translations
[clay@Clays-TiBook xml-fop]$

> I have some other ideas, but let us start with that.
>
> --  
> David Crossley

I hope this helps clear things up.

Web Maestro Clay

[1] FORREST BUILD ERRORS under 0.5.1
http://marc.theaimsgroup.com/?l=forrest-dev&m=108820717329947&w=2

Forrest output:

[clay@Clays-TiBook xml-fop]$ forrest -Dskip.contentcheck=yes seed
Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile:  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/../ 
forrest.build.xml

init-props:
Loading project specific properties from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/forrest.properties
Loading user specific properties from /Users/clay/forrest.properties
Loading default properties from  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/../context/ 
default-forrest.properties
Reading filters from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/tmp/ 
projfilters.properties
forrest.basic.jvmargs:-Dproject.home="/Users/Shared/_WebDLs/cvs_stuff/ 
xml-fop"  
-Dforrest.home="/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/ 
.."

echo-settings:

check-contentdir:

ensure-nocontent:

seed:

-------------------------------
~~ Template project created! ~~

Here is an outline of the generated files:

/                        # /Users/Shared/_WebDLs/cvs_stuff/xml-fop
/status.xml              # List of project developers, todo list and  
change log
/forrest.properties      # Optional file describing your site layout
/src/documentation/      # Doc-specific files
/src/documentation/skinconf.xml    # Info about your project used by  
the skin
/src/documentation/content/        # Site content.
/src/documentation/content/xdocs   # XML content.
/src/documentation/content/xdocs/index.xml # Home page
/src/documentation/content/xdocs/site.xml  # Navigation file for site  
structure
/src/documentation/content/xdocs/tabs.xml  # Skin-specific 'tabs' file.
/src/documentation/content/*.html,pdf # Static content files, may have  
subdirs
/src/documentation/resources/images   # Project images (logos, etc)
# you can create other directories as needed (see forrest.properties)


What to do now?

- Render this template to static HTML by typing 'forrest'.
   View the generated HTML in a browser to make sure everything works.
- Alternatively 'forrest run' and browse to http://localhost:8888/ live  
demo.
- Edit status.xml and src/documentation/skinconf.xml
   to customize for your project.
- Start adding content in xdocs/ remembering to declare new files in  
site.xml
- Follow the document http://forrest.apache.org/docs/your-project.html
- Provide any feedback to dev@forrest.apache.org

Thanks for using Apache Forrest
-------------------------------

BUILD SUCCESSFUL
Total time: 7 seconds
[clay@Clays-TiBook xml-fop]$ forrest
Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile:  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/../ 
forrest.build.xml

init-props:
Loading project specific properties from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/forrest.properties
Loading user specific properties from /Users/clay/forrest.properties
Loading default properties from  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/../context/ 
default-forrest.properties
Reading filters from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/tmp/ 
projfilters.properties
forrest.basic.jvmargs:-Dproject.home="/Users/Shared/_WebDLs/cvs_stuff/ 
xml-fop"  
-Dforrest.home="/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/ 
.."

echo-settings:

check-skin:

fetch-skins-descriptors:

fetch-skin:

unpack-skins:

init-skins:

init:

bare-context:
____________________________________
Using skin lenya-site
____________________________________
Removed 1 dangling directory from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/webapp
Created dir:  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/webapp/WEB-INF/lib

examine-proj:

check-contentdir:

ensure-content:

validation-props:

validate-xdocs:
79 file(s) have been successfully validated.
...validated xdocs

validate-skinconf:
1 file(s) have been successfully validated.
...validated skinconf

validate-sitemap:
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/src/documentation/sitemap.xmap: 
126:37: error: element "pipelines" from namespace  
"http://apache.org/cocoon/sitemap/1.0" not allowed in this context

BUILD FAILED
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/targets/validate.xml: 
180: Validation failed, messages should have been provided.

Total time: 24 seconds
[clay@Clays-TiBook xml-fop]$


======

[clay@Clays-TiBook documentation]$ mv sitemap-0.5.xmap  
sitemap-0.5.xmap.bak
[clay@Clays-TiBook xml-fop]$ forrest
Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile:  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/../ 
forrest.build.xml

init-props:
Loading project specific properties from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/forrest.properties
Loading user specific properties from /Users/clay/forrest.properties
Loading default properties from  
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/../context/ 
default-forrest.properties
Reading filters from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/tmp/ 
projfilters.properties
forrest.basic.jvmargs:-Dproject.home="/Users/Shared/_WebDLs/cvs_stuff/ 
xml-fop"  
-Dforrest.home="/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/bin/ 
.."

echo-settings:

check-skin:

fetch-skins-descriptors:

fetch-skin:

unpack-skins:

init-skins:

init:

bare-context:
____________________________________
Using skin lenya-site
____________________________________
Removed 1 dangling directory from  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/webapp
Created dir:  
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/build/webapp/WEB-INF/lib

examine-proj:

check-contentdir:

ensure-content:

validation-props:

validate-xdocs:
79 file(s) have been successfully validated.
...validated xdocs

validate-skinconf:
1 file(s) have been successfully validated.
...validated skinconf

validate-sitemap:
/Users/Shared/_WebDLs/cvs_stuff/xml-fop/src/documentation/sitemap.xmap: 
126:37: error: element "pipelines" from namespace  
"http://apache.org/cocoon/sitemap/1.0" not allowed in this context

BUILD FAILED
/Users/Shared/_WebDLs/cvs_stuff/forrest/src/core/targets/validate.xml: 
180: Validation failed, messages should have been provided.

Total time: 19 seconds
[clay@Clays-TiBook xml-fop]$


Mime
View raw message