You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephane Nicoll (JIRA)" <ji...@codehaus.org> on 2010/01/10 15:20:56 UTC

[jira] Commented: (MEAR-117) Ear resource filtering fails if target destination doesn't exist

    [ http://jira.codehaus.org/browse/MEAR-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=206081#action_206081 ] 

Stephane Nicoll commented on MEAR-117:
--------------------------------------

please attach a projet that reproduces the issue

> Ear resource filtering fails if target destination doesn't exist
> ----------------------------------------------------------------
>
>                 Key: MEAR-117
>                 URL: http://jira.codehaus.org/browse/MEAR-117
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>         Environment: Windows XP, Maven 2.0.9
>            Reporter: Eric Miles
>
> In our project structure, we have src/main/application/APP-INF/classes and in this folder contains all of our resources.  The desired final outcome is to have an ear with APP-INF/classes with the filtered resources.  There are no other sources in this ear module so when it is time for the ear plugin to filter, we receive an error similar to the following:
> Embedded error: C:\projects\hrs2-workspace\hrs2-ear\target\hrs2-ear-2.0.0-SNAPSHOT\APP-INF\app.properties (The system cannot find the path specified)
> If I create the ${project.build.directory}/${project.build.finalName}/APP-INF/classes directory on disk before I package, I get no error.  I would think that the resource mechanism would be responsible for creating the destination in addition to copying/filtering.

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