Ok, so in our old build system (ant) we were able to run a deploy-tomcat
target that I wrote, which executed the following steps:
(1) Create a war for the project
(2) Stop the Tomcat service (on Windows) using a call to the command line
(3) Delete the ${CATALINA_HOME}/webapps/${app-name} folder
(4) Copy the war to ${CATALINA_HOME}/webapps
(5) Start the Tomcat service, again making a call to the command line.

>From this list, I know how to accomplish (1), and I think I know how to do
(4), but (2), (3), and (5) I'm not sure how to accomplish in gradle, and my
googling just seems to bring me to various versions of the Gradle
Documention, chapter 9: Using the Gradle command line, which doesn't seem to
address what I'm looking for.  Any pointers?  Is there an easier way to do
this than making system calls? 

Thanks,
~Brian

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Execute-command-line-task-tp4311284p4311284.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