Red Hat Bugzilla – Bug 798973
Add groovy 1.8.x support to Schema Tool.
Last modified: 2015-03-12 07:24:39 EDT
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";
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.
Created attachment 566831 [details]
Patched build file.
Resolved with revision 10739 of:
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.
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.