You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
svn commit 118 added the following line:
+ <exclude name="build.*"/>
(to samples/grails/build.xml)
Which causes build.properties to be excluded from the package. This seems
to be a problem...
Having installed the package on Ubuntu 8.10 I get the following symptoms:
---
$ grails create-app test
Welcome to Grails null - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /usr/share/grails
...
[propertyfile] Updating property file: /tmp/test/application.properties
Created Grails Application at /tmp/test
---
Note the null in "Welcome to Grails null".
The resulting application.properties file contains:
---
#Fri Nov 28 19:09:48 GMT 2008
app.version=0.1
app.servlet.version=2.4
app.grails.version=null
app.name=test
---
Note the "null" for app.grails.version.
Now when trying to run "grails create-domain-class" I get:
---
$ grails create-domain-class test1
Welcome to Grails null - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /usr/share/grails
Base Directory: /tmp/test
Note: No plugin scripts found
Running script /usr/share/grails/scripts/CreateDomainClass.groovy
Environment set to development
Application expects grails version [null], but GRAILS_HOME is version
[null] - use the correct Grails version or run 'grails upgrade' if this
Grails version is newer than the version your application expects.
---
Manually fixing application.properties to contain
"app.grails.version=1.0.4" alters the error slightly:
---
$ grails create-domain-class test1
Welcome to Grails null - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /usr/share/grails
Base Directory: /tmp/test
Note: No plugin scripts found
Running script /usr/share/grails/scripts/CreateDomainClass.groovy
Environment set to development
Application expects grails version [1.0.4], but GRAILS_HOME is version
[null] - use the correct Grails version or run 'grails upgrade' if this
Grails version is newer than the version your application expects.
---
Copying the build.properties file from the grails 1.0.4 binary available
from grails.org into /usr/share/grails fixes the problem.
---
$ grails create-domain-class test1
Welcome to Grails 1.0.4 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /usr/share/grails
Base Directory: /tmp/test
Note: No plugin scripts found
Running script /usr/share/grails/scripts/CreateDomainClass.groovy
Environment set to development
[copy] Copying 1 file to /tmp/test/grails-app/domain
Created Domain Class for Test1
[copy] Copying 1 file to /tmp/test/test/integration
Created Tests for Test1
---
Original issue reported on code.google.com by smnpithe...@gmail.com on 28 Nov 2008 at 7:18
The text was updated successfully, but these errors were encountered:
I was a bit to zealous when I removed unnecessary files from the package. Sorry
about
that, and thanks for reporting.
Uploading a new deb right now, grails_1.0.4-2_all.deb, should be up shortly.
Please
give it a try.
If it works then please change the status of this issue.
Original comment by marius.s...@gmail.com on 28 Nov 2008 at 7:43
Original issue reported on code.google.com by
smnpithe...@gmail.com
on 28 Nov 2008 at 7:18The text was updated successfully, but these errors were encountered: