同一環境下執行多個版本的Grails

jieforest發表於2012-09-28
Typically you have your grails installed into some directory, created environment variable GRAILS_HOME and you are ready to go.

But what if you have few projects with different grails versions? You can have different reasons for that, but nevertheless you need it.

Here is short tip how this process can be simplified, example for linux (Ubuntu).

Usually I install all applications to /usr/local/. Lets try to work with two grails versions 2.0.0 and 2.1.1(latest for this period)

So after unpacking we have

CODE:

/usr/local/grails-2.0.0
/usr/local/grails-2.1.1Lets create link to any version of grails

CODE:

ln-s/usr/local/grails-2.1.1 grails

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/301743/viewspace-745381/,如需轉載,請註明出處,否則將追究法律責任。

相關文章