Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2438

Groovy project

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.0
    • Fix Version/s: 12.0
    • Component/s: apisupport - Project
    • Labels:
      None

      Description

      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

       

       

        Attachments

          Activity

            People

            • Assignee:
              ou_ryperd Walter Kruse
              Reporter:
              ou_ryperd Walter Kruse
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: