Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.4.1
-
Component/s: None
-
Labels:None
-
Environment:Grails 1.1-beta2 with quartz-0.4.1-SNAPSHOT
-
Patch Submitted:Yes
Description
$ grails install-quartz-config
Welcome to Grails 1.1-beta2 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /Users/niko/DevTools/grails-1.1-beta2
Base Directory: /Users/niko/Projekte/cmbrowser
Running script /Users/niko/.grails/1.1-beta2/projects/cmbrowser/plugins/quartz-0.4.1-SNAPSHOT/scripts/InstallQuartzConfig.groovy
Error executing script InstallQuartzConfig: null/scripts/Init.groovy (No such file or directory)
java.io.FileNotFoundException: null/scripts/Init.groovy (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at gant.Gant$_closure1.doCall(Gant.groovy:114)
at gant.Gant$_closure1.call(Gant.groovy)
at InstallQuartzConfig.run(InstallQuartzConfig:26)
at InstallQuartzConfig$run.call(Unknown Source)
at gant.Gant.processTargets(Gant.groovy:460)
at gant.Gant.processTargets(Gant.groovy:446)
Seems like GRAILS_HOME cannot be read, because environment properties are not setup in script.
Fixed by adding in scripts/InstallQuartzConfig.groovy at the very beginning:
Ant.property(environment:"env")