[Webtest] Examples and the current Ant version

Scot Hale webtest@lists.canoo.com
Wed, 19 Feb 2003 09:10:43 -0800


<html><div style='background-color:'><DIV></DIV>
<DIV></DIV>
<P>It took me a few minutes to figure this out.&nbsp; I noticed the taskdef for ant 1.4 </P>
<P><!--StartFragment -->&nbsp;&lt;<FONT color=blue>taskdef</FONT>&nbsp;<FONT color=darkgreen>name</FONT>="<FONT color=brown>testSpec</FONT>"&nbsp;<FONT color=darkgreen>classname</FONT>="<FONT color=brown>com.canoo.webtest.ant.TestSpecificationTask</FONT>"&gt;<BR>&nbsp;&nbsp; &lt;<FONT color=blue>classpath</FONT>&gt;<BR>&nbsp;&nbsp; &nbsp;&nbsp; &lt;<FONT color=blue>fileset</FONT>&nbsp;<FONT color=darkgreen>dir</FONT>="<FONT color=brown>C:/java/webtest</FONT>"&nbsp;<FONT color=darkgreen>includes</FONT>="<FONT color=brown>/lib/*.jar</FONT>"/&gt;<BR>&nbsp;&nbsp; &lt;/<FONT color=blue>classpath</FONT>&gt;<BR>&lt;/<FONT color=blue>taskdef</FONT>&gt; </P>
<P>&nbsp;</P>
<P>Has changed so it should appear as ( I am using 1.5.1beta)<BR><BR>&lt;taskdef name="testSpec" classname="com.canoo.webtest.ant.TestSpecificationTask"&gt;<BR>&nbsp;&lt;classpath&gt;<BR>&nbsp;&nbsp;&lt;fileset dir="C:/java/webtest/lib"&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;include name="*.jar"/&gt;<BR>&nbsp;&nbsp;&lt;/fileset&gt;<BR>&nbsp;&lt;/classpath&gt;<BR>&lt;/taskdef&gt;<BR></P>
<P>&nbsp;</P>
<DIV>Scot Hale </DIV>
<DIV></DIV>
<DIV></DIV>phone: (425)&nbsp;442-7970 
<DIV></DIV>
<DIV></DIV>email: halesm@hotmail.com 
<DIV></DIV></div><br clear=all><hr>MSN 8 helps <a href="http://g.msn.com/8HMRENUS/2743">ELIMINATE E-MAIL VIRUSES. </a> Get 2 months FREE*.</html>