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
  


Reply via email to