Hi all, 1. Choose File > New Project (Ctrl-Shift-N;⌘-Shift-N on Mac) from the main menu to open the New Project wizard. 2. Select Java Application in the Java category. Click Next. 3. Type *GroovyJavaDemo* as the Project Name and specify the folder where you want to create the application in the Project Location field. 4. Deselect the Create Main Class checkbox. Click Finish. 5. Next, I created a Groovy Script file with only this content *println "Hello" *and it caused the following problems:
*ant -f /home/ubuntu/NetBeansProjects/GroovyJavaDemo -Djavac.includes=Hello.groovy -Drun.class=Hello run-singleinit:deps-jar:Created dir: /home/ubuntu/NetBeansProjects/GroovyJavaDemo/buildUpdating property file: /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build/built-jar.propertiesCreated dir: /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build/classesCreated dir: /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build/emptyCompiling 1 source file to /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build/classes/home/ubuntu/NetBeansProjects/GroovyJavaDemo/nbproject/build-impl.xml:1120: The following error occurred while executing this line:/home/ubuntu/NetBeansProjects/GroovyJavaDemo/nbproject/groovy-build.xml:26: Error running forked groovyc.BUILD FAILED (total time: 1 second)* What did I miss? Thank you in advance, Mic