You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Alexander Veit (Jira)" <ji...@apache.org> on 2022/02/03 13:02:00 UTC

[jira] [Updated] (GROOVY-10470) Update from Groovy 3 to 4.0.0 breaks existing code

     [ https://issues.apache.org/jira/browse/GROOVY-10470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Veit updated GROOVY-10470:
------------------------------------
    Description: 
After updating from Groovy 3 to 4.0.0 scripts that use {{AntBuilder}} without an {{import}} statement no longer work.

This is probably caused by missing default includes for {{groovy.ant.*}} or {{groovy.ant.AntBuilder}}.

The same problem exists for {{XmlSlurper}} and {{XmlParser}}.

  was:
After updating from Groovy 3 to 4.0.0 scripts that use {{AntBuilder}} without an import statement no longer work.

This is probably caused by missing default includes for {{groovy.ant.*}} or {{groovy.ant.AntBuilder}}.

The same problem exists for {{XmlSlurper}} and {{XmlParser}}.


> Update from Groovy 3 to 4.0.0 breaks existing code
> --------------------------------------------------
>
>                 Key: GROOVY-10470
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10470
>             Project: Groovy
>          Issue Type: Bug
>          Components: groovy-runtime
>    Affects Versions: 4.0.0
>            Reporter: Alexander Veit
>            Priority: Major
>
> After updating from Groovy 3 to 4.0.0 scripts that use {{AntBuilder}} without an {{import}} statement no longer work.
> This is probably caused by missing default includes for {{groovy.ant.*}} or {{groovy.ant.AntBuilder}}.
> The same problem exists for {{XmlSlurper}} and {{XmlParser}}.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)