This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 139271 - Groovy script is not being executed
Summary: Groovy script is not being executed
Status: RESOLVED DUPLICATE of bug 143788
Alias: None
Product: groovy
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: martin_adamek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-08 15:25 UTC by Lukas Jungmann
Modified: 2008-10-30 14:24 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2008-07-08 15:25:25 UTC
-create new javaapp
-create new groovy script there
-set it as a main class in project properties
-run project

=> nothing happens
Comment 1 Petr Jiricka 2008-07-25 17:14:24 UTC
Reproducible in today's build.
Comment 2 Lukas Jungmann 2008-07-25 17:20:24 UTC
this is compile on save related, workaround is to disable it...
Comment 3 martin_adamek 2008-08-04 09:53:18 UTC
The original compile on save problem is solved (disabled for projects with enabled Groovy), but there is another problem cause by VirtualSourceProvider 
infrastructure changes, that prevents Groovy class to be set as main for the project. Workaround is to invoke Run File. Downgrading to P3.
Comment 4 Tomas Zezula 2008-08-13 18:48:30 UTC
The same case as #143788

*** This issue has been marked as a duplicate of 143788 ***