Script for auto-switching Grails versions

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Script for auto-switching Grails versions

Deluan Cotts Quintão
Hi there,

I have finally published my script for auto-switching Grails versions, based on project's application.properties:

http://github.com/deluan/grails.sh

It runs on Mac OS X, Linux and Windows+Cygwin

There is some documentation there, feedbacks are welcome!

Deluan.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Script for auto-switching Grails versions

lucastex
cool!

Lucas Frare Teixeira .·.
- [hidden email]
- lucastex.com.br
- blog.lucastex.com
- twitter.com/lucastex


On Wed, Jul 14, 2010 at 12:10 AM, Deluan Cotts Quintão <[hidden email]> wrote:

Hi there,

I have finally published my script for auto-switching Grails versions, based
on project's application.properties:

http://github.com/deluan/grails.sh

It runs on Mac OS X, Linux and Windows+Cygwin

There is some documentation there, feedbacks are welcome!

Deluan.
--
View this message in context: http://grails.1312388.n4.nabble.com/Script-for-auto-switching-Grails-versions-tp2288269p2288269.html
Sent from the Grails - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Script for auto-switching Grails versions

Daniel Latorre
Great job! Very useful script for me :)

2010/7/14 Lucas F. A. Teixeira <[hidden email]>
cool!

Lucas Frare Teixeira .·.
- [hidden email]
- lucastex.com.br
- blog.lucastex.com
- twitter.com/lucastex



On Wed, Jul 14, 2010 at 12:10 AM, Deluan Cotts Quintão <[hidden email]> wrote:

Hi there,

I have finally published my script for auto-switching Grails versions, based
on project's application.properties:

http://github.com/deluan/grails.sh

It runs on Mac OS X, Linux and Windows+Cygwin

There is some documentation there, feedbacks are welcome!

Deluan.
--
View this message in context: http://grails.1312388.n4.nabble.com/Script-for-auto-switching-Grails-versions-tp2288269p2288269.html
Sent from the Grails - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email






--
Daniel Latorre
Co-founder: http://www.jobsket.com/
My CV: http://www.jobsket.es/cv/dani
My website: http://www.danilat.com/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Script for auto-switching Grails versions

Gavin-15
In reply to this post by Deluan Cotts Quintão
Deluan Cotts Quintão wrote:
Hi there,

I have finally published my script for auto-switching Grails versions, based
on project's application.properties:

http://github.com/deluan/grails.sh

It runs on Mac OS X, Linux and Windows+Cygwin

There is some documentation there, feedbacks are welcome!

Deluan.
  
Thanks Deluan!

I also added an OPTS override (tested in Debian with Grails-1.1 through Grails-1.2.2):

+# Override OPTS.
+export GRAILS_OPTS=" "
+export JAVA_OPTS="-server -Xmx512m -XX:MaxPermSize=256m"

export GRAILS_HOME=${BASE_GRAILS_PATH}/grails-${VERSION}
GRAILS_CMD=${GRAILS_HOME}/bin/grails

if [ ! -x "$GRAILS_CMD" ]; then
        echo "Error: grails command not found at '$GRAILS_CMD'!"
        exit 3
fi

exec $GRAILS_CMD $*


--
www.gnumims.org
www.kromhouts.net
Everything in moderation, including moderation itself.
Loading...