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 145700 - [65cat] classpath not added to groovyc task when Groovy is enabled in J2SE project
Summary: [65cat] classpath not added to groovyc task when Groovy is enabled in J2SE pr...
Status: VERIFIED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: martin_adamek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-30 19:11 UTC by wobster
Modified: 2008-10-30 14:24 UTC (History)
0 users

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 wobster 2008-08-30 19:11:21 UTC
I created a J2SE project and then enabled groovy support. 

The project wouldn't build so I added the attribute classpath to groovyc.
 
<groovyc destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" includes="@{includes}"
sourcepath="@{sourcepath}" srcdir="@{srcdir}" classpath="@{classpath}" >

The attribute should be included by default.
Comment 1 martin_adamek 2008-09-05 11:42:16 UTC
Fixed. It was working anyway, because taskdef had whole project classpath. I moved cp def from javac one level higher to groovyc. Javac then obtains that 
classpath from groovyc.
http://hg.netbeans.org/main/rev/96a2339474cb
Comment 2 Quality Engineering 2008-09-05 17:31:35 UTC
Integrated into 'main-golden', will be available in build *200809051401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/96a2339474cb
User: Martin Adamek <martin_adamek@netbeans.org>
Log: #145700: [65cat] classpath not added to groovyc task when Groovy is enabled in J2SE project
Comment 3 Lukas Jungmann 2008-09-29 14:43:11 UTC
v.