You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by is...@cocoondev.org on 2004/03/23 05:16:06 UTC

[issues] New comment: (FOR-119) HEAD does not work for me

The following comment has been added to this issue:

     Author: David Crossley
    Created: Tue, 23 Mar 2004 5:40 AM
       Body:
Would you please try building your site using one of the default skins, rather your own skin. That might help to isolate the issue.

---------------------------------------------------------------------
View the issue:

  http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-119


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-119
    Summary: HEAD does not work for me
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Forrest
  Component: Core operations
   Versions:
             HEAD

   Assignee: 
   Reporter: Sebastian Bergmann

    Created: Tue, 17 Feb 2004 8:27 AM
    Updated: Tue, 17 Feb 2004 8:27 AM
Environment: Windows XP
D:\home>java -version
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)


Description:
The latest version from CVS that works for me is -D 2004-01-20. Anything later as well as the current HEAD gives me the following error when building the phpOpenTracker website:

C:\Server\htdocs\phpOpenTracker\website>forrest

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


Buildfile: D:\home\xml-forrest\build\dist\shbat\forrest.build.xml

init-props:
Loading project specific properties from C:\Server\htdocs\phpOpenTracker\website
\forrest.properties
Loading user specific properties from C:\Dokumente und Einstellungen\Sebastian\f
orrest.properties
Loading default properties from D:\home\xml-forrest\build\dist\shbat\default-for
rest.properties
Created dir: C:\Server\htdocs\phpOpenTracker\website\build\tmp
Reading filters from C:\Server\htdocs\phpOpenTracker\website\build\tmp\projfilte
rs.properties
forrest.basic.jvmargs:-Dproject.home="C:\Server\htdocs\phpOpenTracker\website" -
Dforrest.home="D:\home\xml-forrest\build\dist\shbat"

validate-skinconf:
...validated skinconf

init-skinprops:
Reading filters from C:\Server\htdocs\phpOpenTracker\website\build\tmp\skinfilte
rs.properties

fetch-skins-descriptors:
fetching descriptor: http://xml.apache.org/forrest/skins/skins.xml
Getting: http://xml.apache.org/forrest/skins/skins.xml
.
last modified = Mon Oct 06 05:01:16 CEST 2003

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

validate-sitemap:
...validated sitemap

validate-skins-stylesheets:
...validated skin stylesheets

validate-skinchoice:
...validated existence of skin 'phpOpenTracker'

bare-context:
____________________________________
Using skin phpOpenTracker
____________________________________
Copying 4 files to C:\Server\htdocs\phpOpenTracker\website\build\webapp
Copying 17 files to C:\Server\htdocs\phpOpenTracker\website\build\webapp
Replacing: @skin@ -> phpOpenTracker
Replacing: @menu-scheme@ -> tab_attributes
Replacing: @bugtracking-url@ -> http://nagoya.apache.org/bugzilla/show_bug.cgi?i
d=
Replacing: @i18n@ -> false
Replacing: @forrest.home@ -> D:\home\xml-forrest\build\dist\shbat
Replacing: @forrest.home@ -> D:\home\xml-forrest\build\dist\shbat
Replacing: @forrest.home@ -> D:\home\xml-forrest\build\dist\shbat
Replacing: @skin@ -> phpOpenTracker
Replacing: @project.home@ -> C:\Server\htdocs\phpOpenTracker\website
Replacing: @project.skinconf@ -> src/documentation/skinconf.xml
Replacing: @project.home@ -> C:\Server\htdocs\phpOpenTracker\website
Replacing: @project.content-dir@ -> src/documentation
Replacing: @project.home@ -> C:\Server\htdocs\phpOpenTracker\website
Replacing: @project.raw-content-dir@ -> src/documentation/content
Replacing: @project.home@ -> C:\Server\htdocs\phpOpenTracker\website
Replacing: @project.xdocs-dir@ -> src/documentation/content/xdocs
Replacing: @project.home@ -> C:\Server\htdocs\phpOpenTracker\website
Replacing: @project.translations-dir@ -> src/documentation/translations
Replacing: @project.home@ -> C:\Server\htdocs\phpOpenTracker\website
Replacing: @project.stylesheets-dir@ -> src/documentation/resources/stylesheets
Replacing: @project.home@ -> C:\Server\htdocs\phpOpenTracker\website
Replacing: @project.images-dir@ -> src/documentation/resources/images
Replacing: @project.home@ -> C:\Server\htdocs\phpOpenTracker\website
Replacing: @project.skins-dir@ -> src/documentation/skins
Replacing: @forrest.home@ -> D:\home\xml-forrest\build\dist\shbat
Replacing: @local-catalog@ -> C:\Server\htdocs\phpOpenTracker\website\src\docume
ntation\resources\schema\catalog.xcat
Replacing: @catalog-verbosity@ -> 1
Created dir: C:\Server\htdocs\phpOpenTracker\website\build\webapp\WEB-INF\lib

copy-sitemap:
Copying 1 file to C:\Server\htdocs\phpOpenTracker\website\build\webapp

copy-skinconf:
Copying 1 file to C:\Server\htdocs\phpOpenTracker\website\build\webapp

copy-status:
Copying 1 file to C:\Server\htdocs\phpOpenTracker\website\build\webapp

init-props:
Loading project specific properties from C:\Server\htdocs\phpOpenTracker\website
\forrest.properties
Loading user specific properties from C:\Dokumente und Einstellungen\Sebastian\f
orrest.properties
Loading default properties from D:\home\xml-forrest\build\dist\shbat\default-for
rest.properties
Reading filters from C:\Server\htdocs\phpOpenTracker\website\build\tmp\projfilte
rs.properties
forrest.basic.jvmargs:-Dproject.home="C:\Server\htdocs\phpOpenTracker\website" -
Dforrest.home="D:\home\xml-forrest\build\dist\shbat"

validate-skinconf:
...validated skinconf

init-skinprops:
Reading filters from C:\Server\htdocs\phpOpenTracker\website\build\tmp\skinfilte
rs.properties

fetch-skins-descriptors:
Deleting 1 files from D:\home\xml-forrest\build\dist\shbat\context\skins
fetching descriptor: http://xml.apache.org/forrest/skins/skins.xml
Getting: http://xml.apache.org/forrest/skins/skins.xml
.
last modified = Mon Oct 06 05:01:16 CEST 2003
---------------------------------
Webapp generated in C:\Server\htdocs\phpOpenTracker\website\build\webapp

NOTE
This webapp can only be run on the local system as it is
configured to allow editing of files in the project src directory.
Use "forrest webapp" or "forrest war" to generate a webapp
for deployment.

To run in Tomcat, add this to the config file (usu. server.xml):

<Context path='/phpOpenTracker'
            docBase='C:\Server\htdocs\phpOpenTracker\website\build\webapp'
            reloadable='true'/>

If using JDK 1.4 or above, make sure to set the Java environment variable
-Djava.endorsed.dirs=D:\home\xml-forrest\build\dist\shbat\lib\endorsed
Eg, in the TOMCAT_OPTS (3.3.x) or CATALINA_OPTS (4.x) env variable.
---------------------------------

site:
Created dir: C:\Server\htdocs\phpOpenTracker\website\build\tmp\cocoon-work
Warning: C:\Server\htdocs\phpOpenTracker\website\build\webapp\resources not foun
d.
Copied 1 empty directory to 1 empty directory under C:\Server\htdocs\phpOpenTrac
ker\website\build\site
Created dir: C:\Server\htdocs\phpOpenTracker\website\build\site\skin\images
Warning: D:\home\xml-forrest\build\dist\shbat\context\skins\phpOpenTracker\image
s not found.
Copying 19 files to C:\Server\htdocs\phpOpenTracker\website\build\site\skin\imag
es
Warning: C:\Server\htdocs\phpOpenTracker\website\src\documentation\skins\common\
images not found.
Copying 27 files to C:\Server\htdocs\phpOpenTracker\website\build\site\skin\imag
es
Warning: D:\home\xml-forrest\build\dist\shbat\context\skins\phpOpenTracker not f
ound.
Copying 6 files to C:\Server\htdocs\phpOpenTracker\website\build\site\skin
Copied 3 empty directories to 2 empty directories under C:\Server\htdocs\phpOpen
Tracker\website\build\site\skin
Warning: C:\Server\htdocs\phpOpenTracker\website\src\documentation\skins\common
not found.
Copying 3 files to C:\Server\htdocs\phpOpenTracker\website\build\site\skin

Static site will be generated at:
C:\Server\htdocs\phpOpenTracker\website\build\site

Note that there are various reasons for "build failed" messages.
* Cocoon will report the status of each document:
  - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
* Even if only one link is broken, you will still get "failed".
* Your site would still be generated, but some pages would be broken.
* Please check the file:
C:\Server\htdocs\phpOpenTracker\website\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.
------------------------------------------------------------------------
X [0]                                     index.html    BROKEN: Die Variable mit
 dem Namen root konnte nicht gefunden werden
Total time: 0 minutes 4 seconds,  Site size: 0 Site pages: 0

BUILD FAILED
D:\home\xml-forrest\build\dist\shbat\targets\site.xml:51: Java returned: 1



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org/jira//Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira