forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ross Gardler (JIRA)" <j...@apache.org>
Subject [jira] Closed: (FOR-913) failure when ${project.home}/forrest.properties does not exist
Date Wed, 02 Aug 2006 12:01:14 GMT
     [ http://issues.apache.org/jira/browse/FOR-913?page=all ]

Ross Gardler closed FOR-913.
----------------------------

    Resolution: Invalid

forrest.properties has nothing to do with ant. It provides configuration values for forrest.

A forrest.properties file is required.

> failure when ${project.home}/forrest.properties does not exist
> --------------------------------------------------------------
>
>                 Key: FOR-913
>                 URL: http://issues.apache.org/jira/browse/FOR-913
>             Project: Forrest
>          Issue Type: Bug
>          Components: Tools (general issues)
>    Affects Versions: 0.8-dev
>            Reporter: Mathieu Champlon
>            Priority: Minor
>
> Sometimes the ${project.home}/forrest.properties is not necessary, for example because
the build is launched from an ant script like this :
>         <ant antfile="${env.FORREST_HOME}/main/forrest.build.xml">
>           <property name="project.name" value="my-project"/>
>           <property name="project.content-dir" value="../src/documentation"/>
>           <property name="project.build-dir" location="../out/documentation"/>
>         </ant>
> However, even if an empty ${project.home}/forrest.properties yields a successfull build,
removing the file gives the following error :
> ------------------------------------------------------------------------
> cocoon 2.2.0-dev
> Copyright (c) 1999-2005 Apache Software Foundation. All rights reserved.
> Build: December 8 2005 (TargetVM=1.4, SourceVM=1.4, Debug=on, Optimize=on)
> ------------------------------------------------------------------------
> org.apache.avalon.framework.configuration.ConfigurationException: Invalid pattern '{project:skinconf}'
at file:/C:/Program%20Files/Apache%20Software%20Foundation/forrest/main/webapp/./sitemap.xmap:302:73
>         at org.apache.cocoon.components.treeprocessor.DefaultTreeBuilder.getParameters(DefaultTreeBuilder.java:568)
>         ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message