felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Kriens (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-401) Import packages contains classes after plugin run
Date Sat, 03 Nov 2007 05:43:09 GMT

    [ https://issues.apache.org/jira/browse/FELIX-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539857

Peter Kriens commented on FELIX-401:

I have made a fix in 0.0.205 ... I tested it against sun + eclipse in
1.1-1.6. It is a nasty problem ...

Kind regards,

     Peter Kriens

SMJ>     [
SMJ> https://issues.apache.org/jira/browse/FELIX-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536251

SMJ> Stuart McCulloch commented on FELIX-401:
SMJ> ----------------------------------------

SMJ> FYI, this was introduced by Bnd 0.0.199 - there's new code to
SMJ> detect classes referred to by Class.forName, where the class
SMJ> references are stored in an odd format (ie. class$com$foo...) so
SMJ> Bnd changes the $s to dots to get the package - unfortunately
SMJ> when the class is an inner class, this will cause the classname
SMJ> to get picked up in the package.

SMJ> In this case, the problem caused by a reference to
SMJ> "org/apache/jackrabbit/rmi/remote/RemoteEventCollection$RemoteEvent.class".

SMJ> Will need to sort out a proper fix with PeterK.

Peter Kriens                              Tel +33467542167
9C, Avenue St. Drézéry                    AOL,Yahoo: pkriens
34160 Beaulieu, France                    ICQ 255570717
Skype pkriens                             Fax +1 8153772599

> Import packages contains classes after plugin run
> -------------------------------------------------
>                 Key: FELIX-401
>                 URL: https://issues.apache.org/jira/browse/FELIX-401
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>            Reporter: Carsten Ziegeler
>            Assignee: Stuart McCulloch
>            Priority: Critical
> The latest version of the maven bundle plugin from svn creates strange import package
structures. We have the case that it adds a class to this package list.
> An example for this can be found in Apache Sling (http://svn.apache.org/repos/asf/incubator/sling/trunk/)
> I currently have no other repoducable test case appart from sling. If you want to test
it, you have to check out sling and then invoke mvn in the root directory. The problematic
module is the jackrabbit-client module.
> Pleae note that the import package directive in the pom of the jackrabbit-client module
contains a a starr. I tried to replace the starr with all required packages and even in that
case the maven bundle plugin adds the import to a class.

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

View raw message