Issue Details (XML | Word | Printable)

Key: GRAILS-920
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Graeme Rocher
Reporter: Jeff Wild
Votes: 0
Watchers: 0
Operations

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

generate-xxx task finds multiple ApplicationBootStrap.groovy files

Created: 07/Mar/07 08:37 PM   Updated: 22/Aug/07 07:24 AM   Resolved: 22/Aug/07 07:24 AM
Return to search
Component/s: Scaffolding
Affects Version/s: 0.4.2
Fix Version/s: 0.6

Time Tracking:
Not Specified

Environment: Windows XP, Java 6


 Description  « Hide

I'm creating a very simple CRUD app but am having problems.

When I run a generate-xxx target, Grails finds multiple ApplicationBootStrap.groovy files. These files do exist in GRAILS_HOME/samples/** so I thought since GRAILS_HOME was in my classpath it might be picking them up there. But if I remove GRAILS_HOME then Grails chokes because it can't find GrailsApplicationFactoryBean. I read in a forum about someone who had the same problem and fixed it by removing '.' from the classpath, but that does't work in my case since I only have GRAILS_HOME in my classpath

With Java 5 and Java 1.4, I get an "Error starting Sun's native2ascii:" message.



Graeme Rocher added a comment - 22/Aug/07 07:24 AM

fixed by pre-compilation


Graeme Rocher made changes - 22/Aug/07 07:24 AM
Field Original Value New Value
Status Open [ 1 ] Closed [ 6 ]
Resolution Fixed [ 1 ]
Fix Version/s 0.6 [ 13679 ]