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.
Summary: | [65cat] Cannot enable Groovy on Java project | ||
---|---|---|---|
Product: | groovy | Reporter: | dynamite <dynamite> |
Component: | Code | Assignee: | martin_adamek <martin_adamek> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=85666 | ||
Issue Type: | DEFECT | Exception Reporter: | 85666 |
Attachments: | stacktrace |
Description
dynamite
2008-08-02 22:17:59 UTC
Created attachment 66401 [details]
stacktrace
Could this have something to do with the upgrade of ant to 1.7.1? A probably related problem, so I'll state it here: If I create a Groovy file on a Java project and then create a Groovy file I find that "fix imports" doesn't work for that file. If I try to compile that project I get the following error in the output window: Trying to override old definition of task http://www.netbeans.org/ns/j2se-project/3:javac Created dir: /home/dshe/NetBeansProjects/spbuild/build/classes /home/dshe/NetBeansProjects/spbuild/nbproject/build-impl.xml:339: The following error occurred while executing this line: /home/dshe/NetBeansProjects/spbuild/nbproject/groovy-build.xml:16: groovyc doesn't support the nested "javac" element. BUILD FAILED (total time: 0 seconds) duplicate of #142230 *** This issue has been marked as a duplicate of 142230 *** |