Bug 724286 (BRMS-231)

Summary: When importing model jars package-info.java should be excluded from generated imported types
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Tihomir Surdilovic <tsurdilo>
Component: BRM (Guvnor)Assignee: Jervis Liu <jliu>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: high    
Version: 5.0.0 GACC: mproctor
Target Milestone: ---   
Target Release: 5.1.0 GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-231
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-10 00:14:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
domain.objects-1.1.8 - Copy.jar none

Description Tihomir Surdilovic 2009-09-22 15:46:23 UTC
Date of First Response: 2010-02-25 02:39:35
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/343252
securitylevel_name: Public

When importing model jars package-info.java should be excluded from generated imported types.

Comment 1 Jervis Liu 2010-02-25 07:39:35 UTC
This jar can be used to reproduce the problem. This jar contains package-info.class files. With this jar uploaded, "Save and validate configuration" or "Build package" will fail. The error message is not very clear though, it said "[ERR 102] Line 10:38 mismatched input '-'". 



Comment 2 Jervis Liu 2010-02-25 07:39:35 UTC
Attachment: Added: domain.objects-1.1.8 - Copy.jar


Comment 3 Jervis Liu 2010-02-25 07:41:46 UTC
Even though we can state in the document very clearly that the model jar should not contain any package-info.class, it will do no harm if we can exclude these package-info.class files manually during importing. 

Comment 4 Dana Mison 2010-10-27 03:06:18 UTC
Release Notes Text: Added: test


Comment 5 Dana Mison 2010-10-27 03:13:34 UTC
Release Notes Text: Removed: test 


Comment 6 Dana Mison 2010-11-19 05:12:08 UTC
Release Notes Docs Status: Added: Not Yet Documented
Writer: Added: Darrin


Comment 7 Jiri Locker 2010-11-26 09:50:20 UTC
Verified in BRMS 5.1.0 ER4.

Comment 8 David Le Sage 2010-12-10 00:13:24 UTC
Labels: Removed: rn-open Added: rn-dlesage rn-done-resolved


Comment 9 David Le Sage 2010-12-10 00:14:20 UTC
Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Resolved Issue
Writer: Removed: Darrin Added: dlesage
Release Notes Text: Added: BRMS-231

When importing models, package-info.java was not being excluded.  This caused validation and package building to fail.  This file is now excluded from the importation process so that validation and package building proceed without error.