Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Won't Fix
-
Affects Version/s: 2.0.1
-
Fix Version/s: 2.0.2
-
Component/s: None
-
Labels:None
-
Environment:Windows 7 x64
Description
See the discussion here: http://grails.1312388.n4.nabble.com/Grails-2-0-1-create-service-command-results-in-error-tp4391153p4391702.html
Here's the error:
| Loading Grails 2.0.1 | Configuring classpath | Configuring classpath. | Environment set to development | Environment set to development. | Environment set to development.. | Environment set to development... | Environment set to development.... | Environment set to development..... | Created file grails-app/services/com/mycompany/mypackage/MyClassService.groovy | Error Error executing script CreateService: java.io.FileNotFoundException: /Users/deandelponte/grails/grails-2.0.1/grails-resources/src/grails/templates/artifacts/UnitTest.groovy (No such file or directory) (Use --stacktrace to see the full trace)
Notice the grails-resources directory in there, if you remove that then the directory path is valid. I'm on Windows and running into this issue, but the first person to report it looks like they were on Mac/Linux of some kind.
Activity
Graeme Rocher
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 2.0.2 [ 13064 ] | |
| Priority | Major [ 3 ] | Blocker [ 1 ] |
Jeff Brown
made changes -
| Assignee | Jeff Brown [ brownj ] |
Graeme Rocher
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Won't Fix [ 2 ] |
For now can be avoided by removing the "~/.grails" directory.