grails-plugins/grails-tomcat-plugin — pull request #11 by rmorrise (2014-10-07 22:05:43+00:00)
Title: Added "stop" and "start" to list of available commands....

Hi,

This fork introduces 'tomcat start' and 'tomcat stop', following the pattern used by the other, existing tasks.

I found that these commands only start and stop the webapp context if it's already deployed; they don't stop and start the container instance. I introduced this fork as an experiment to see if I could eliminate PermGen space errors in our build. Because the instance is not restarted, the stop and start commands didn't fix the issue.

I thought I would submit the changes anyway, in case other people might find it useful. I smoke tested the commands and they seem to work normally.

I updated the plugin to the latest minor version of grails (2.3.11). Feel free to drop this change if it causes some kind of issue. I didn't see any problems in my testing.

I wasn't sure what to do about the plugin version, since it seems to correspond to the tomcat version and the tomcat version didn't change. I added ".1" to the end of the version number for testing but I was worried that it might not be the correct thing to do.

Thanks in advance for your feedback!
-Russ