Wednesday, March 19, 2008

Hpw to change the default context of Grails server

Today I commit my code into google code project.As before my project named sparrow,because sparrow is another project's name so I can't use it now,I changed it to gria.but when I run the command
>>grails run-app
I found the context of Grails server is still sparrow.Oh,how to change it.I found there is application.properties file in my project directory,I edit it like this
app.name=gria
Then the server's context change to gria.

No comments: