I am glad you are back on the true path, Grasshopper. Wax on, wax off .
-- Jonathan Rosenberg Founder & Executive Director, Tabby's Place http://www.tabbysplace.org/ From: [email protected] [mailto:[email protected]] On Behalf Of Victor Havens Sent: Friday, July 24, 2009 2:04 PM To: Jonathan Rosenberg; [email protected] Subject: [Webtest] RE: Ant syntax problem in example Duh. I changed ant to antfile rather than changing file to antfile. With your correction I am back on the true path. Thank you. Vic Havens -----Original Message----- From: Jonathan Rosenberg [mailto:[email protected]] Sent: Fri 7/24/2009 11:59 AM To: Victor Havens Subject: RE: [SPAM] - RE: [Webtest] Ant syntax problem in example - Email found in subject The error message makes me think you mistyped. The line should read <ant dir="tests" antfile="allTests.xml" />. From: Victor Havens [mailto:[email protected]] Sent: Friday, July 24, 2009 12:42 PM To: Jonathan Rosenberg; [email protected] Subject: RE: [SPAM] - RE: [Webtest] Ant syntax problem in example - Email found in subject Thank you for the suggestion, but the situation compounds when I use 'antfile' instead of 'ant'. The error message becomes BUILD FAILED C:\Program Files\Canoo\Lynx\build.xml:7: Problem: failed to create task or type antfile Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any <presetdef>/<macrodef> declarations have taken place. Vic Havens -----Original Message----- From: Jonathan Rosenberg [mailto:[email protected]] Sent: Fri 7/24/2009 11:30 AM To: [email protected]; Victor Havens Subject: [SPAM] - RE: [Webtest] Ant syntax problem in example - Email found in subject It's a typo in the example. "file" should be "antfile". -- Jonathan Rosenberg Founder & Executive Director, Tabby's Place <http://www.tabbysplace.org/> http://www.tabbysplace.org/ From: [email protected] [mailto:[email protected]] On Behalf Of Victor Havens Sent: Friday, July 24, 2009 12:27 PM To: [email protected] Subject: [Webtest] Ant syntax problem in example Using the example from the Manual/Samples page, I created a build.xml file where line 7 reads <ant dir="tests" file="allTests.xml" />. I have the needed tests directory and the needed alltests.xml file in that directory. When I run the webtest -buildfile I get the error message '...build.xml:7: ant doesn't support the "file" attribute'. Has the ant syntax changed or am I simply misusing it? Thanks Vic Havens

