Bug 798973
| Summary: | Add groovy 1.8.x support to Schema Tool. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 5 | Reporter: | Marek Baluch <mbaluch> | ||||
| Component: | Tooling | Assignee: | Marek Baluch <mbaluch> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | Marek Baluch <mbaluch> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 5.3.0 GA | CC: | ldimaggi, mvecera, soa-p-jira | ||||
| Target Milestone: | ER2 | Keywords: | FutureFeature | ||||
| Target Release: | 5.3.0 GA | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 5.3.0 GA | Doc Type: | Enhancement | ||||
| Doc Text: |
An error occurred when attempting to use Groovy with the Schema tool. Running the Schema tool with Groovy version 1.8.x caused an error message to display. This has been patched. As a result, the two components will work together properly.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2025-02-10 03:19:11 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: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Created attachment 566831 [details]
Patched build file.
Resolved with revision 10739 of: src/main/resources/soa-p/schema-tool/build.xml Commit message: BZ-798973 Add groovy 1.8 support. Patch from Marek Baluch. Verified in ER2. Most of our Hudson/Jenkins RiftSaw jobs are running on Groovy 1.8.x anyway and I haven't seen a single error.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
An error occurred when attempting to use Groovy with the Schema tool. Running the Schema tool with Groovy version 1.8.x caused an error message to display. This has been patched. As a result, the two components will work together properly.
This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |
Description of problem: Running schema tool with groovy version 1.8.x produces 21 errors like: embedded_script_in__home_mbaluch_work_build_soa53dev1_jboss_as_tools_schema_build_dot_xml: 279: Modifier 'private' not allowed here. @ line 279, column 17. private tmppath = pathname + ".tmp"; ^ Additional info: The fix for this issue is pretty simple. All you need to do is replace all 'private' fields with 'def'. Please see attachment which contains the fixed build file.