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

David Savage closed FELIX-1366.
-------------------------------

       Resolution: Fixed
    Fix Version/s: sigil-0.1.0

fixed on trunk by testing file exists:

Path p = ".".equals(cp) ? path : cache.append(cp);
f ( p.toFile().exists() ) {
// do previous logic
}


> Bundle classpath should verify that internal bundle classpath elements 
> actually exist inside bundle before adding them to eclipse classpath
> -------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1366
>                 URL: https://issues.apache.org/jira/browse/FELIX-1366
>             Project: Felix
>          Issue Type: Bug
>          Components: Sigil
>            Reporter: David Savage
>            Priority: Minor
>             Fix For: sigil-0.1.0
>
>
> Consider the following bundle from eclipse:
> $ unzip -p bldcommon/lib/org.eclipse.ui.workbench_3.4.1.M20080827-0800a.jar 
> META-INF/MANIFEST.MF | grep jar
> Bundle-ClassPath: compatibility.jar,.
> It claims to have an internal compatability jar inside it. But analysis shows 
> otherwise
> $ jar -tf bldcommon/lib/org.eclipse.ui.workbench_3.4.1.M20080827-0800a.jar | 
> grep jar
> $
> This leads to the error:
> Description   Resource        Path    Location        Type
> Project 'org.cauldron.sigil.core' is missing required library: 
> '/opt/development/eclipse/workspace/sigil-apache/.metadata/.plugins/org.cauldron.sigil.core/bundle-cache/org.eclipse.ui.workbench_version_3.4.1.M20080827-0800a/compatibility.jar'
>      org.cauldron.sigil.core         Build path      Build Path Problem
> Would be better to silently discard.

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

Reply via email to