You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2016/07/13 10:18:20 UTC

[jira] [Closed] (GROOVY-7881) Unable to use importBuild

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

Paul King closed GROOVY-7881.
-----------------------------
    Resolution: Not A Problem

> Unable to use importBuild
> -------------------------
>
>                 Key: GROOVY-7881
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7881
>             Project: Groovy
>          Issue Type: Question
>          Components: Groovy Console
>    Affects Versions: 2.4.7
>         Environment: Mac OS El Capitan
>            Reporter: Igor Ganapolsky
>            Priority: Minor
>
> Hello,
> I am unable to run this script in Groovy Console:
> {code}
> import groovy.util.AntBuilder
>  AntBuilder ant = new AntBuilder()
>  ant.importBuild 'build.xml'
> {code}
> It gives me an error:
> > Problem: failed to create task or type importBuild
> Cause: The name is undefined.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)