jQuery in Action, 3rd edition
The moose likes Ant, Maven and Other Build Tools and the fly likes Include antlib in antlib 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 "Include antlib in antlib" Watch "Include antlib in antlib" New topic

Include antlib in antlib

Jozef Neuschl

Joined: Aug 18, 2009
Posts: 1
Hi I have 3 files
1 project file
2 antlib files

in my project file I have

in my testhandler.xml

and tomcat.xml

The thing is that in testHandler class I can't user tomcat antlib I always have this error :

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.
No types or tasks have been defined in this namespace yet

I can see the echo outputs problem starts with <tomcat:deploy ....

Any ideas ??

Peter Johnson

Joined: May 14, 2008
Posts: 5852

I can't tell what is going on from your post. What name is the error complaining of? Seeing the target which generated the error, and all of the output for that target would help. Also, have you tried running with the -v option? That might give more clues as to what is going on.

JBoss In Action
I agree. Here's the link: http://aspose.com/file-tools
subject: Include antlib in antlib
It's not a secret anymore!