ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nir Geier" <Nir.Ge...@unipier.com>
Subject RE: How to open URL from ANT.
Date Wed, 18 May 2005 10:31:50 GMT
I wrote my own task based on source i found on the web.
The source is on:
http://www.javaworld.com/javaworld/javatips/jw-javatip66.html




-----Original Message-----
From: manoj puthran [mailto:manoj.puthran@igenesys.com]
Sent: Wednesday, May 18, 2005 11:19 AM
To: 'Ant Users List'
Subject: RE: How to open URL from ANT.


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:Nir.Geier@unipier.com] 
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message