History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GRVY-1643
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Dmitry Krasilschikov
Reporter: Peter Ledbrook
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Groovy

Grails domain classes should be compiled with GrailsCompiler

Created: 15 Jul 08 12:57   Updated: 13 Nov 08 17:26
Component/s: Grails other
Affects Version/s: jetgroovy 1.5
Fix Version/s: jetgroovy 2.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
When Grails compiles a domain class like this:
class Author {
    String name

    static hasMany = [ books: Book ]
}

it automatically adds a "books" property to the class. This doesn't happen with IntelliJ-compiled classes which means that unit testing domain classes from within IntelliJ is awkward at best. Ideally, JetGroovy should compile Grails domain classes using the Grails compiler: org.codehaus.groovy.grails.compiler.GrailsCompiler.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.