Return-Path: Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: (qmail 15102 invoked from network); 16 Jan 2010 15:43:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jan 2010 15:43:28 -0000 Received: (qmail 45453 invoked by uid 500); 16 Jan 2010 15:43:27 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 45362 invoked by uid 500); 16 Jan 2010 15:43:27 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 45352 invoked by uid 99); 16 Jan 2010 15:43:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jan 2010 15:43:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jan 2010 15:43:16 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 6BBCB14AC008 for ; Sat, 16 Jan 2010 09:42:55 -0600 (CST) Date: Sat, 16 Jan 2010 09:42:55 -0600 (CST) From: "Stephane Nicoll (JIRA)" To: issues@maven.apache.org Message-ID: <19548611.64371.1263656575429.JavaMail.haus-jira@codehaus01.managed.contegix.com> In-Reply-To: <31328136.22923.1259608195340.JavaMail.haus-jira@codehaus01.managed.contegix.com> Subject: [jira] Closed: (MEAR-117) Ear resource filtering fails if target destination doesn't exist MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/MEAR-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stephane Nicoll closed MEAR-117. -------------------------------- Resolution: Fixed Done. Snapshot deployed. > 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 > Assignee: Stephane Nicoll > Fix For: 2.4.1 > > > 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