Aled Sage created BROOKLYN-585:
----------------------------------
Summary: Bundle not re-installed on change when using
brooklyn.library's URL
Key: BROOKLYN-585
URL: https://issues.apache.org/jira/browse/BROOKLYN-585
Project: Brooklyn
Issue Type: Bug
Affects Versions: 0.12.0
Reporter: Aled Sage
A user built a big zip and uploaded it via `br catalog add ...`. Inside this
zip was another bundle. Inside the zip's catalog.bom it referenced the nested
bundle with something like:
{noformat}
brooklyn.libraries:
- classpath://example.com:my-bundle-0.1.0-SNAPSHOT.jar
{noformat}
The user modified and rebuilt the zip (including changes made to
\{{my-bundle}}), and ran `br catalog add ...` again.
However, the bundle \{{my-bundle-0.1.0-SNAPSHOT.jar}} was not updated.
The log showed:
{noformat}
2018-03-08T14:45:41,055 DEBUG 127 o.a.b.c.c.i.CatalogUtils [qtp960400918-234]
Loading bundles in LocalManagementContext[CXm7RHiX-H18T4PLb]:
CatalogBundleDto\{symbolicName=null, version=null,
url=classpath://example.com:my-bundle-0.1.0-SNAPSHOT.jar}
2018-03-08T14:45:41,056 DEBUG 127 o.a.b.c.c.i.CatalogUtils [qtp960400918-234]
Installation of library CatalogBundleDto\{symbolicName=null, version=null,
url=classpath://example.com:my-bundle-0.1.0-SNAPSHOT.jar}:
OsgiBundleInstallationResult[IGNORING_BUNDLE_AREADY_INSTALLED,
BasicManagedBundle\{symbolicName=com.example.my-bundle, version=0.1.0.SNAPSHOT,
url=classpath://example.com:my-bundle-0.1.0-SNAPSHOT.jar}, Bundle
example.com.my-bundle:0.1.0.SNAPSHOT already installed as wr5u3ubbae]
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)