<macrodef name="openInBrowser">
<attribute name="url"/>
<sequential>
<exec dir="${basedir}" executable="rundll32.exe">
<arg line="url.dll, FileProtocolHandler"/>
<arg line="@{url}"/>
</exec>
</sequential>
</macrodef>
<target name="openTestResults" depends="tomcat-start">
<echo message="Opening test results in default browser" />
<openInBrowser url="http://localhost:2020/TrackingGadget-0.1-dev/gvHome"/>
</target>
This comment has been removed by the author.
ReplyDelete