Even I like to find out the same.

But in the meantime I am using the exec task, i.e. running system
command, to open my url in the browser, in Win2k.


<project>
        <property name="url" value="http://ant.apache.org"; />

        <exec executable="cmd.exe" os="Windows 2000,Windows NT,Windows
XP" >
                <arg line="/C start ${url}" />
        </exec>
</project>


-----Original Message-----
From: Nir Geier [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 18, 2005 2:59 PM
To: Ant Users List
Subject: How to open URL from ANT.

Hi all.

How can I open url from ant?
For example I have a documentation page that I want to display (HTML
page)
I want to click on ant target which opens the page in browser.

Is there any option to open URL with Browser?

Ty in advance.


---------------------------------------------------------------------
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