Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Include antlib in antlib

 
Jozef Neuschl
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!