Bug 798973 - Add groovy 1.8.x support to Schema Tool.
Summary: Add groovy 1.8.x support to Schema Tool.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: Tooling
Version: 5.3.0 GA
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ER2
: 5.3.0 GA
Assignee: Marek Baluch
QA Contact: Marek Baluch
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-01 12:09 UTC by Marek Baluch
Modified: 2025-02-10 03:19 UTC (History)
3 users (show)

Fixed In Version: 5.3.0 GA
Clone Of:
Environment:
Last Closed: 2025-02-10 03:19:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patched build file. (34.02 KB, text/xml)
2012-03-01 12:12 UTC, Marek Baluch
no flags Details

Description Marek Baluch 2012-03-01 12:09:58 UTC
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.

Comment 1 Marek Baluch 2012-03-01 12:12:53 UTC
Created attachment 566831 [details]
Patched build file.

Comment 2 Julian Coleman 2012-03-01 15:51:15 UTC
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.

Comment 3 Marek Baluch 2012-05-09 19:20:30 UTC
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.

Comment 4 Suz 2012-07-17 00:32:06 UTC
    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.

Comment 5 Red Hat Bugzilla 2025-02-10 03:19:11 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


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