7 messages in com.canoo.lists.webtestRE: [Webtest] Compilation problem
FromSent OnAttachments
Jon Poulton [kinomi]03 Aug 2005 04:39 
Jon Poulton [kinomi]03 Aug 2005 06:38 
Jon Poulton [kinomi]03 Aug 2005 06:44 
Paul King03 Aug 2005 07:00 
Marc Guillemot03 Aug 2005 07:00 
Jon Poulton [kinomi]03 Aug 2005 07:16 
Marc Guillemot03 Aug 2005 07:42 
Subject:RE: [Webtest] Compilation problem
From:Jon Poulton [kinomi] (jo@kinomi.com)
Date:08/03/2005 06:38:30 AM
List:com.canoo.lists.webtest

OK. I've managed to get it to compile using the build.xml file, and it also jar's the classes into a new webtest.jar file, although it fails a large number of the Junit tests at the moment, so the build as a whole fails.

I still have a problem though. I have introduced some new behaviour for <verifyLinks> (2 new attributes), although this is not what I had in mind for the completed version I just wanted to see if I could get _some_ changes to work. I have also manually altered the relevant bit of webtest.dtd to read the following:

<!ELEMENT verifylinks EMPTY> <!ATTLIST verifylinks id ID #IMPLIED taskname CDATA #IMPLIED steptype CDATA #IMPLIED regex CDATA #IMPLIED text CDATA #IMPLIED onsiteonly %boolean; #IMPLIED description CDATA #IMPLIED stepid CDATA #IMPLIED depth CDATA #IMPLIED>

The two new bits being "regex" and "text". However, when I alter some existing tests to use the new verifyLinks elements I get an error message when I run canoo (using the new jar file naturally) telling me that verifyLinks does not support the regex/text attributes:

Why is this happening? Are the attributes that a step supports defined somewhere I'm missing - outside the class file and the .dtd?

Jon

-----Original Message----- From: webt@gate2.canoo.com [mailto:webt@gate2.canoo.com] On Behalf Of Jon Poulton [kinomi] Sent: 03 August 2005 12:40 To: webt@gate2.canoo.com Subject: [Webtest] Compilation problem

Hi there, I have made some local changes to some of the Canoo source and have just tried to compile using the ant build file provided in the src.zip.

I have gotten a compilation problem on build.xml 253, with the message "taskdef class org.codehaus.groovy.ant.Groovy cannot be found".

Any clue how to fix this?

Btw. Your src zip should contain the .xdt files under \canoo\doc\xdoclet\, I had to manually download them from your CVS tree to get the first part of the compile working.