Bug 1118698

Summary: Invalid bundle definition in RTGov & S-RAMP features.xml
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Stefan Bunciak <sbunciak>
Component: Build Process, RT Governance, DT GovernanceAssignee: Julian Coleman <jcoleman>
Status: MODIFIED --- QA Contact: Matej Melko <mmelko>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: soa-p-jira, theute
Target Milestone: DR2   
Target Release: FUTURE   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Stefan Bunciak 2014-07-11 09:21:10 UTC
Description of problem:

Both S-RAMP & RTGov features.xml contains invalid bundle definition

<bundle>wrap:mvn:javax.activation/activation/1.1.1-redhat-2$Bundle-SymbolicName=javax.activation.activation&amp;Bundle-Version=1.1.1&amp;Bundle-Name=${extension.name} API v.${spec.version}</bundle>

Version-Release number of selected component (if applicable):

FSW 6.1 DR1

How reproducible:

Steps to Reproduce:
1. Unzip FSW 6.1 on top of fuse 6.1
2. Start fuse, execute commands:
3. features:addurl mvn:org.overlord.rtgov/overlord-rtgov-features-fuse6/2.0.0.Alpha1_1-redhat-1/xml/features
4. features:install -v rtgov-all

Actual results:

Error executing command: Invalid syntax for instruction [Bundle-Name=${extension.name} API v.${spec.version}]. Take a look at http://www.aqute.biz/Code/Bnd.

Expected results:

RTGov is installed correctly

Additional info:

Comment 1 Brett Meyer 2014-07-16 19:35:39 UTC
Cannot reproduce upstream.  Both S-RAMP and RTGov produce the following in the features:

<bundle>wrap:mvn:javax.activation/activation/1.1.1$Bundle-SymbolicName=javax.activation.activation&amp;Bundle-Version=1.1.1&amp;Bundle-Name=JavaBeans(TM) Activation Framework</bundle>

In your description, the Bundle-Name is changed to:

${extension.name} API v.${spec.version}

Where is that coming from?  Odds are, those variables are either not resolving, or include characters that trip-up BND.

Comment 2 Brett Meyer 2014-07-25 17:44:13 UTC
Improving our features.xml generation util.  If unresolved variables are found, we'll simply fall back to using the GAV for the Bundle-Name.

Comment 3 JBoss JIRA Server 2014-07-25 18:58:52 UTC
Brett Meyer <brmeyer@redhat.com> updated the status of jira SRAMP-523 to Resolved

Comment 5 JBoss JIRA Server 2014-07-29 16:42:11 UTC
Brett Meyer <brmeyer@redhat.com> updated the status of jira SRAMP-523 to Closed