ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 同一环境下运行多个版本的Grails

同一环境下运行多个版本的Grails

原创 Linux操作系统 作者:jieforest 时间:2012-09-28 15:58:42 0 删除 编辑
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博客 ” ,链接:https://blog.itpub.net/301743/viewspace-745381/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 有人恨MongoDB吗?
请登录后发表评论 登录
全部评论

注册时间:2008-04-23

  • 博文量
    441
  • 访问量
    602346