aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes I am using ant 1.7 i am getting the error while running the ant script? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "I am using ant 1.7 i am getting the error while running the ant script?" Watch "I am using ant 1.7 i am getting the error while running the ant script?" New topic
Author

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

Satteli Kakumanu
Greenhorn

Joined: Dec 02, 2008
Posts: 8


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

Joined: Mar 03, 2008
Posts: 470
Your script is not able recognize the tasks defined in Ant-Contrib library. Look at http://ant-contrib.sourceforge.net/

Satteli Kakumanu
Greenhorn

Joined: Dec 02, 2008
Posts: 8
I added ant-contrib.jar in the classpath
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
It is hard to tell what's wrong without seeing your ANT script code.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I am using ant 1.7 i am getting the error while running the ant script?