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 195553 - Support for Grapes
Summary: Support for Grapes
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal with 2 votes (vote)
Assignee: Martin Janicek
URL: http://groovy.codehaus.org/Grape
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-16 12:19 UTC by pinus
Modified: 2013-08-27 12:18 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pinus 2011-02-16 12:19:41 UTC
Groovy has the wonderful feature to load required libraries with:

@GrabResolver(name='MyRepository', root='http://myRepo/repo')
@Grab(group='com.xyz', module='MyMod', version='1.0-SNAPSHOT')

import com.xyz.Test

The issue is that the editor does not include the loaded libraries in its path and shows the import line as invalid code. The interpreter has no issue with this code.

Grape support would be very helpful to develop scripts.