Bug 724286 (BRMS-231) - When importing model jars package-info.java should be excluded from generated imported types
Summary: When importing model jars package-info.java should be excluded from generated...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: BRMS-231
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor)
Version: 5.0.0 GA
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: 5.1.0 GA
Assignee: Jervis Liu
QA Contact:
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-22 15:46 UTC by Tihomir Surdilovic
Modified: 2013-11-07 22:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-10 00:14:28 UTC
Type: Bug


Attachments (Terms of Use)
domain.objects-1.1.8 - Copy.jar (117.33 KB, application/java-archive)
2010-02-25 07:39 UTC, Jervis Liu
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-231 0 None Closed When importing model jars package-info.java should be excluded from generated imported types 2012-01-23 09:59:22 UTC

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.



Note You need to log in before you can comment on or make changes to this bug.