Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 94406 invoked from network); 4 Aug 2008 17:01:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Aug 2008 17:01:16 -0000 Received: (qmail 13769 invoked by uid 500); 4 Aug 2008 17:01:15 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 13725 invoked by uid 500); 4 Aug 2008 17:01:15 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 13714 invoked by uid 99); 4 Aug 2008 17:01:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 10:01:15 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 17:00:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4B101234C186 for ; Mon, 4 Aug 2008 10:00:44 -0700 (PDT) Message-ID: <531227530.1217869244305.JavaMail.jira@brutus> Date: Mon, 4 Aug 2008 10:00:44 -0700 (PDT) From: "Gopalakrishnan U (JIRA)" To: dev@felix.apache.org Subject: [jira] Updated: (FELIX-660) "Class in different directory than declared" error when bundle classes in a directory other than bundle root In-Reply-To: <63515224.1217869004283.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gopalakrishnan U updated FELIX-660: ----------------------------------- Attachment: test_felix_660.zip A simple test eclipse project to recreate the problem. Unzip/Import the project into eclipse and run "mvn install' to recreate the problem. > "Class in different directory than declared" error when bundle classes in a directory other than bundle root > ------------------------------------------------------------------------------------------------------------ > > Key: FELIX-660 > URL: https://issues.apache.org/jira/browse/FELIX-660 > Project: Felix > Issue Type: Bug > Components: Maven Bundle Plugin > Affects Versions: maven-bundle-plugin-1.4.0, maven-bundle-plugin-1.4.1 > Environment: Maven version: 2.0.9 > Java version: 1.6.0_04 > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" > Reporter: Gopalakrishnan U > Attachments: test_felix_660.zip > > > Per the message http://www.mail-archive.com/users@felix.apache.org/msg01814.html in Felix mailing list, > When classes are not in a subdirectory under bundle root bundle:bundle fail with the error like: > [INFO] [bundle:bundle] > [ERROR] Error building bundle test:test:bundle:0.0.1-SNAPSHOT : Class in different directory than declared. Path from class name is test/Test.class but the path in the jar is /test/Test.class from Jar:dot > [ERROR] Error building bundle test:test:bundle:0.0.1-SNAPSHOT : Class in different directory than declared. Path from class name is test/Test.class but the path in the jar is /test/Test.class from Jar:dot > [ERROR] Error(s) found in bundle configuration > [ERROR] > My maven-bundle-plugin configuration is : > > > org.apache.felix > maven-bundle-plugin > true > > > {maven-resources},classes=target/classes > Test > ${pom.version} > XXX > XXX > test* > classes > > > > > A simple test project is attached. Run "mvn install" to recreate the problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.