All,

If anybody is interested, I have now developed a very basic task to deploy a
war to CATALINA_HOME/webapps, etc, according to the original needs I posted
in this thread.

Some notes:  It will only work in windows, and it is NOT a full plugin, it
is simply intended to be placed in the PROJECTROOT/buildSrc/src/main/groovy
folder and compiled automatically by gradle.  This is really all that is
needed for our little 2-man software shop, but since there's nothing
proprietary to our company I thought I'd share it in case somebody wants to
develop it further.

Further, you'll need to verify for yourself that your apache tomcat service
is named the same as mine - i've run into some issues with newer
installations where the service name was different and I had to go into the
registry and make it match the script (since my boss uses this too I can't
just change the script).

To see the source code, follow this link:
http://gradle.1045684.n5.nabble.com/file/n4332061/DeployTomcatTask.groovy
DeployTomcatTask.groovy 


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Execute-command-line-task-tp4311284p4332061.html
Sent from the gradle-user mailing list archive at Nabble.com.

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

    http://xircles.codehaus.org/manage_email


Reply via email to