File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Include antlib in antlib" Watch "Include antlib in antlib" New topic
Author

Include antlib in antlib

Jozef Neuschl
Greenhorn

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
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

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