You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Walter Kruse (Jira)" <ji...@apache.org> on 2021/01/31 10:11:00 UTC

[jira] [Commented] (NETBEANS-2438) Groovy project

    [ https://issues.apache.org/jira/browse/NETBEANS-2438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17275831#comment-17275831 ] 

Walter Kruse commented on NETBEANS-2438:
----------------------------------------

[~geertjan] _"You can't be having too hard a time of it, since you have my plugin that does a lot of what you want."_

It stopped working around NB V 10 with:

ant -q -f D:\\D\\projects\\NetBeansProjects\\GroovyProject -Djavac.includes=SimpleGroovyScript.groovy -Drun.class=SimpleGroovyScript run-single
D:\D\projects\NetBeansProjects\GroovyProject\nbproject\build-impl.xml:1145: The following error occurred while executing this line:
D:\D\projects\NetBeansProjects\GroovyProject\nbproject\groovy-build.xml:26: Error running forked groovyc.
BUILD FAILED (total time: 0 seconds)

> Groovy project
> --------------
>
>                 Key: NETBEANS-2438
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2438
>             Project: NetBeans
>          Issue Type: New Feature
>          Components: apisupport - Project
>    Affects Versions: 11.0
>            Reporter: Walter Kruse
>            Assignee: Vldimir Orlyansky
>            Priority: Major
>             Fix For: 12.0
>
>
> As a test automator using Groovy scripting, when I create a new project I want to be able to:
> -create a Groovy project (with or without Maven/Ivy)
> -that will be able to run a classless script
> -execute @Grab statements to collect jars upon executing
> Test case:
> {{groovy.grape.Grape.grab(group:'org.apache.commons', module:'commons-lang3', version:'3.3.2')}}
> {{def s = "A silly string with words"}}
> {{assert org.apache.commons.lang3.text.WordUtils.capitalizeFully(s) == 'A Silly String With Words'}}
> or:
> {{@Grab(group='org.apache.commons', module='commons-lang3', version='3.3.2')}}
> {{def s = "A silly string with words"}}
> {{assert org.apache.commons.lang3.text.WordUtils.capitalizeFully(s) == 'A Silly String With Words'}}
> At the moment I am using [~GeertjanWielenga]'s Pure Groovy Project from [http://plugins.netbeans.org/plugin/49928/pure-groovy-project]
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists