You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Igor Ganapolsky (JIRA)" <ji...@apache.org> on 2016/07/06 16:34:11 UTC

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

Igor Ganapolsky created GROOVY-7881:
---------------------------------------

             Summary: 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:
`import groovy.util.AntBuilder
 AntBuilder ant = new AntBuilder()
 ant.importBuild 'build.xml'`

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)