IBM / cics-bundle-gradle

The plugin to build and deploy CICS bundles in a Gradle build.
Eclipse Public License 2.0
7 stars 20 forks source link

Deploying bundle with a JAR/OSGi bundle part fails #17

Closed tom-foyle closed 4 years ago

tom-foyle commented 4 years ago

I've not yet been able to successfully deploy a bundle with a JAR type cicsBundle dependency, such as:

dependencies {
    cicsBundle(group: 'org.codehaus.cargo', name: 'simple-bundle', version: '1.7.7', ext: 'jar')
}

DFHSJ1004 04/02/2020 13:22:12 IYCWEMW2 CICSUSER An exception has been thrown by the route method of class com/ibm/cics/router/Router running in JVMSERVER EYUCMCIJ. Exception 'Bundlepath: /u/expauto/bundles/gradle-demo-multi-bundle_1.0.0/ Symbolic-name: simple-bundle-1.7.7 Version: 1.7.7 could not be found.'.

ind1go commented 4 years ago

Looks like the version is being injected into the symbolic name - need to ensure we're using the symbolicName from the com.ibm.cics.bundle.parts.OsgiBundlePart, not just the name.