| 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 GA | CC: | 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
Tihomir Surdilovic
2009-09-22 15:46:23 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 '-'". Attachment: Added: domain.objects-1.1.8 - Copy.jar 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. Release Notes Text: Added: test Release Notes Text: Removed: test Release Notes Docs Status: Added: Not Yet Documented Writer: Added: Darrin Verified in BRMS 5.1.0 ER4. Labels: Removed: rn-open Added: rn-dlesage rn-done-resolved 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. |