You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Thorsten Scherler (JIRA)" <ji...@apache.org> on 2007/10/01 13:11:51 UTC

[jira] Created: (FOR-1048) forrest.properties.xml is getting ignored

forrest.properties.xml is getting ignored
-----------------------------------------

                 Key: FOR-1048
                 URL: https://issues.apache.org/jira/browse/FOR-1048
             Project: Forrest
          Issue Type: Bug
          Components: Launch servlet WAR
            Reporter: Thorsten Scherler


The forrest.properties.xml will not be copied when generating a war.

This leaves e.g. the dispatcher without any possibility to configure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-1048) forrest.properties.xml is getting ignored

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531497 ] 

Thorsten Scherler commented on FOR-1048:
----------------------------------------

Can be reproduced with our site-author.

I think it is because:
project.content-dir=.

which then in webapp.xml (114)
<copy toDir="${project.webapp}/project" overwrite="true" failonerror="false">
      <fileset dir="${project.home}">
        <include name="forrest.properties"/>
        <include name="${project.status}"/>
        <include name="${project.content-dir}/**"/>
...

cannot be processed. 

> forrest.properties.xml is getting ignored
> -----------------------------------------
>
>                 Key: FOR-1048
>                 URL: https://issues.apache.org/jira/browse/FOR-1048
>             Project: Forrest
>          Issue Type: Bug
>          Components: Launch servlet WAR
>            Reporter: Thorsten Scherler
>
> The forrest.properties.xml will not be copied when generating a war.
> This leaves e.g. the dispatcher without any possibility to configure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-1048) forrest.properties.xml is getting ignored

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531504 ] 

Thorsten Scherler commented on FOR-1048:
----------------------------------------

from the ant documentation:
"FileSet
A FileSet is a group of files. These files can be found in a directory tree starting in a base directory and are matched by patterns taken from a number of PatternSets and Selectors. "

in above comment we can see that we defined @dir="${project.home}" but in the site-author ${project.content-dir}=.

meaning we want to include "./**" which does not compute for ant since we are already in the project.home.

Chancing  <include name="${project.content-dir}/**"/> to <include name="**/"/> solves the problem but as well copies all directories.



> forrest.properties.xml is getting ignored
> -----------------------------------------
>
>                 Key: FOR-1048
>                 URL: https://issues.apache.org/jira/browse/FOR-1048
>             Project: Forrest
>          Issue Type: Bug
>          Components: Launch servlet WAR
>            Reporter: Thorsten Scherler
>
> The forrest.properties.xml will not be copied when generating a war.
> This leaves e.g. the dispatcher without any possibility to configure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-1048) forrest.properties.xml is getting ignored

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531489 ] 

Thorsten Scherler commented on FOR-1048:
----------------------------------------

As well everything in the project.resources dir will be ignored.

> forrest.properties.xml is getting ignored
> -----------------------------------------
>
>                 Key: FOR-1048
>                 URL: https://issues.apache.org/jira/browse/FOR-1048
>             Project: Forrest
>          Issue Type: Bug
>          Components: Launch servlet WAR
>            Reporter: Thorsten Scherler
>
> The forrest.properties.xml will not be copied when generating a war.
> This leaves e.g. the dispatcher without any possibility to configure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FOR-1048) project.content-dir is getting ignored if "." in forrest war

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FOR-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Scherler updated FOR-1048:
-----------------------------------

    Priority: Critical  (was: Major)
     Summary: project.content-dir is getting ignored if "." in forrest war  (was: forrest.properties.xml is getting ignored)

> project.content-dir is getting ignored if "." in forrest war
> ------------------------------------------------------------
>
>                 Key: FOR-1048
>                 URL: https://issues.apache.org/jira/browse/FOR-1048
>             Project: Forrest
>          Issue Type: Bug
>          Components: Launch servlet WAR
>            Reporter: Thorsten Scherler
>            Priority: Critical
>
> The forrest.properties.xml will not be copied when generating a war.
> This leaves e.g. the dispatcher without any possibility to configure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.