Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I am using ant 1.7 i am getting the error while running the ant script?

 
Satteli Kakumanu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Problem: failed to create task or type 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.

Please tell me what should i do for this?
 
Misha Ver
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your script is not able recognize the tasks defined in Ant-Contrib library. Look at http://ant-contrib.sourceforge.net/

 
Satteli Kakumanu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I added ant-contrib.jar in the classpath
 
Misha Ver
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is hard to tell what's wrong without seeing your ANT script code.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic