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 151983 - [cc] Provide CC for Grails specific methods/fields
Summary: [cc] Provide CC for Grails specific methods/fields
Status: NEW
Alias: None
Product: groovy
Classification: Unclassified
Component: Grails (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: schmidtm
URL: http://wiki.netbeans.org/GroovyDevelo...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-31 14:49 UTC by Petr Hejl
Modified: 2015-04-03 01:04 UTC (History)
1 user (show)

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 Petr Hejl 2008-10-31 14:49:44 UTC
CC should be offered in grails for dynamic methods properties: http://grails.org/Controller+Dynamic+Methods.

This should be done through SPI that would enrich MetaElementHandler in groovy.editor. SPI would be implemented by
groovy.grailsproject.
Comment 1 Petr Hejl 2008-10-31 15:03:42 UTC
Wrong assignment.
Comment 2 Petr Hejl 2008-11-25 15:26:17 UTC
Some prototyping/basic spi - main 28c74847c596.
Comment 3 Petr Hejl 2008-11-26 15:27:44 UTC
Fields prototyping - main 6a78756da948.
Comment 4 Petr Hejl 2008-11-26 19:39:36 UTC
Controller property accessors - main 1c0add4b773d.
Comment 5 Quality Engineering 2008-11-27 05:32:42 UTC
Integrated into 'main-golden', will be available in build *200811270201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/28c74847c596
User: phejl@netbeans.org
Log: #151983 [cc] Provide CC for Grails specific methods/fields (prototyping, spi)
Comment 6 MarkFlacy 2015-04-03 01:04:13 UTC
Netbeans 8.0.2, grails 2.4.4, JDK7-u76

Grails *also* injects a log object into the classes.  It is available as the "log" variable.  See http://grails.github.io/grails-doc/2.4.4/guide/conf.html#logging and scroll down to "Loggers", where you will see...

"There are two main ways to get hold of a logger:

 1.  use the log instance injected into artifacts such as domain classes, controllers and services;
 2.   use the Commons Logging API directly."


NetBeans is currently clueless about bullet #1.