Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.9.5-rc1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
I ran this command to create a Java Griffon project:
griffon create-app griffon-on-java -fileType=java
My Application.groovy file is bad. It names the MVC group correctly, but puts a bad name in the startup property:
application {
title = 'GriffonOnJava'
startupGroups = ['griffonOnJava']
// Should Griffon exit when no Griffon created frames are showing?
autoShutdown = true
// If you want some non-standard application class, apply it here
//frameClass = 'javax.swing.JFrame'
}
mvcGroups {
// MVC Group for "griffon-on-java"
'griffon-on-java' {
model = 'griffon.on.java.GriffonOnJavaModel'
view = 'griffon.on.java.GriffonOnJavaView'
controller = 'griffon.on.java.GriffonOnJavaController'
}
}
Actually the MVC is the one that has the wrong name (as well as the default package). The name of the group should be the propertyName representation (griffonOnJava) and the default package should be 'griffononjava'.