You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Derek Baum (JIRA)" <ji...@apache.org> on 2009/09/17 15:52:57 UTC

[jira] Created: (FELIX-1611) -resource: @path-to-jar should only resolve path-to-jar if it exists

-resource: @path-to-jar should only resolve path-to-jar if it exists
--------------------------------------------------------------------

                 Key: FELIX-1611
                 URL: https://issues.apache.org/jira/browse/FELIX-1611
             Project: Felix
          Issue Type: Bug
          Components: Sigil
            Reporter: Derek Baum
            Assignee: Derek Baum
            Priority: Minor


-resource: @path-to-jar

falls through to BND with embeds the content of the jar.

Sigil resolves the specified path against the location of sigil.properties, so BND can still find the jar when invoked from higher-level builds.

However, this stops the BND feature of searching the classpath for a jar of the specified name.

So if the resolved path that sigil creates does not exist, then the original path should be passed to BND.

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


[jira] Work started: (FELIX-1611) -resource: @path-to-jar should only resolve path-to-jar if it exists

Posted by "Derek Baum (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on FELIX-1611 started by Derek Baum.

> -resource: @path-to-jar should only resolve path-to-jar if it exists
> --------------------------------------------------------------------
>
>                 Key: FELIX-1611
>                 URL: https://issues.apache.org/jira/browse/FELIX-1611
>             Project: Felix
>          Issue Type: Bug
>          Components: Sigil
>            Reporter: Derek Baum
>            Assignee: Derek Baum
>            Priority: Minor
>
> -resource: @path-to-jar
> falls through to BND with embeds the content of the jar.
> Sigil resolves the specified path against the location of sigil.properties, so BND can still find the jar when invoked from higher-level builds.
> However, this stops the BND feature of searching the classpath for a jar of the specified name.
> So if the resolved path that sigil creates does not exist, then the original path should be passed to BND.

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


[jira] Resolved: (FELIX-1611) -resource: @path-to-jar should only resolve path-to-jar if it exists

Posted by "Derek Baum (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Derek Baum resolved FELIX-1611.
-------------------------------

    Resolution: Fixed

in-line jar path is now only resolved if it exists, allowing BND to search classpath for jar.

> -resource: @path-to-jar should only resolve path-to-jar if it exists
> --------------------------------------------------------------------
>
>                 Key: FELIX-1611
>                 URL: https://issues.apache.org/jira/browse/FELIX-1611
>             Project: Felix
>          Issue Type: Bug
>          Components: Sigil
>            Reporter: Derek Baum
>            Assignee: Derek Baum
>            Priority: Minor
>
> -resource: @path-to-jar
> falls through to BND with embeds the content of the jar.
> Sigil resolves the specified path against the location of sigil.properties, so BND can still find the jar when invoked from higher-level builds.
> However, this stops the BND feature of searching the classpath for a jar of the specified name.
> So if the resolved path that sigil creates does not exist, then the original path should be passed to BND.

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