Ant - Windows Service control
When we make any changes to our databases we like to restart the application servers to refresh the datasources. Some of our development environments are run as Windows services and so it would be nice to restart them remotely from the build machines. Here's how with Ant:
I hope you can see in this snippet that the code runs 2 tasks - Stop and Start. You can break down the code if you just want a Start or Stop only script.
Subscribe to:
Post Comments (Atom)
1 comments:
Thanks, this helps me with my work.
Post a Comment