forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathieu Champlon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-913) failure when ${project.home}/forrest.properties does not exist
Date Wed, 02 Aug 2006 11:14:15 GMT
    [ http://issues.apache.org/jira/browse/FOR-913?page=comments#action_12425191 ] 
            
Mathieu Champlon commented on FOR-913:
--------------------------------------

Reproducing the issue is quite straight-forward :
. run 'forrest seed'
. delete 'forrest.properties'
. run 'forrest'

> 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