download command line URL utility (CURL) located at
http://www.cs.sunysb.edu/documentation/curl/index.html

then execute the CURL utility with ant exec (reference located at)
http://ant.apache.org/manual/CoreTasks/exec.html
<target name="getURL">
 <exec executable="cmd">
   <arg value="/c"/>
   <arg value="curl.exe"/>
   <arg value=http://curl.haxx.se/>
 </exec>
</target>

M--

This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- From: "Angelo Chen" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, September 08, 2007 10:03 AM
Subject: How to open a URL?



Hi,

Is there a way to open a url from Ant? this is needed when a war file is
deployed. Thanks,

A.C.
--
View this message in context: http://www.nabble.com/How-to-open-a-URL--tf4406098.html#a12570003
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to