I'm gonna try and cover the two OS's here so be kind.
First things first, goto http://ant.apache.org/bindownload.cgi and download the appropriate archive (zip) file: apache-ant-[VERSION NUMBER HERE]-bin.zip
Then for Windows: Extract the .zip to c:\ant. From the command line set the following environment variables:
For Mac: Unpack the zip file to /usr/local/ant/. Then from the command line set the following environment variables:Now open up the Terminal(Mac)/Command line(Win) and just type "ANT" and hit return. You should see:
To demonstrate calling a file we're gonna create a quick build.xml. Create a new text file, enter the following bit of XML and save it as build.xml
If you are on Windows save this file to the root of c:\ and from the command line run the following
That's pretty much it, from here you you are now set to run Ant from the Terminal/Command line so in theory you should be able to schedule tasks etc!
Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
[Add Comment]
http://www.microsoft.com/msagent/default.asp
http://www.andyjarrett.co.uk/andy/blog/index.cfm/2...
danke
I hope it's useful, and let me know if you'd like to develop it further.