• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Selenium_Build xml

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When we run the build.xml , it is throwing the error as below
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.


My Build xml contains the path for library like this
<!-- Define the classpath which includes all jar for compiling -->
<path id="class.path">

<fileset dir="lib/">
<include name="**/**.jar" />
</fileset>
</path>

Could you please help me how to these errors
 
author & internet detective
Posts: 40035
809
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kodanda,
Welcome to CodeRanch!

That snippet of code doesn't look like the problem. Can you re-run your build in verbose mode (-v flag)? And show the exact error including line number. And more of the build.xml.
 
Kodanda rama
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not getting how to run in verbose mode, could you please help me how to set it up to verbose mode.
 
Jeanne Boyarsky
author & internet detective
Posts: 40035
809
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ant -verbose

Or if you are running in an IDE (rather than the command line), which one?
 
Kodanda rama
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I run the build.xml(ANT) in the selenium webDriver
 
Jeanne Boyarsky
author & internet detective
Posts: 40035
809
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Kodanda rama wrote:I run the build.xml(ANT) in the selenium webDriver


I don't follow. Can you show the code that calls Ant?
 
Kodanda rama
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please find the attachments of build .xml and let me know if anything more required.

Thanks
Rama
BuildXML1.png
[Thumbnail for BuildXML1.png]
build xml screenshot
BuildXML2.png
[Thumbnail for BuildXML2.png]
build xml screenshot
Capture.PNG
[Thumbnail for Capture.PNG]
lib screenshot
 
    Bookmark Topic Watch Topic
  • New Topic