You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2012/09/03 15:11:07 UTC

[jira] [Resolved] (FELIX-3597) Hard to debug fileinstall because shaded classes lack source in -sources.jar

     [ https://issues.apache.org/jira/browse/FELIX-3597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved FELIX-3597.
------------------------------------

       Resolution: Fixed
    Fix Version/s: fileinstall-3.2.6
         Assignee: Guillaume Nodet

URL: http://svn.apache.org/viewvc?rev=1380225&view=rev

                
> Hard to debug fileinstall because shaded classes lack source in -sources.jar
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-3597
>                 URL: https://issues.apache.org/jira/browse/FELIX-3597
>             Project: Felix
>          Issue Type: Wish
>          Components: File Install
>    Affects Versions: fileinstall-3.2.2
>         Environment: Apache Karaf 2.2.7, IDEA 10.5
>            Reporter: Chris Dolan
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: fileinstall-3.2.6
>
>
> fileinstall uses bnd arguments to slurp in classes from other jars:
> {code}
> <Embed-Dependency>
>        org.apache.felix.configadmin;inline="org/apache/felix/cm/file/ConfigurationHandler.*",
>        org.apache.felix.utils;inline="org/apache/felix/utils/collections/DictionaryAsMap*.*"
> </Embed-Dependency>
> {code}
> However, this does not pull the sources for those classes into the fileinstall-sources.jar file. This makes it difficult to debug into the classes (specifically, I got stuck trying to debug a parsing problem in ConfigurationHandler)
> I'm guessing this isn't the fault of fileinstall at all but instead is the fault of the maven plugin that does the shading...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira