Search code examples
grailsgroovygrails-2.0versions

How to manage development in multiple grails/groovy version?


I have a project which uses groovy 1.7.5 and grails 1.3.4. but my new project yet start which will use latest version of groovy (1.8.6) and grails (2.0.4) i will be working in both project. so how to manage different versions of grails in Windows environment.

i do not want to upgrade the project which uses old version of grails(1.3.4)


Solution

  • There are several ways to archieve automatic version switching for grails.

    I am not using windows, but a colleague of mine used a bat file for automatic version detection/switching.

    Hope that helps!

    P.S.: I also found this stackoverflow question.