• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help with build.xml and taskdef not found please

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, I'm working on my first build.xml and I just tried to run it. This is the msg I got.

Buildfile: C:\development-workspace\test\build.xml
BUILD FAILED: C:\development-workspace\test\build.xml:146: taskdef class org.apache.catalina.ant.DeployTask cannot be found
Total time: 859 milliseconds

I followed the instructions in the example file that came with Tomcat to copy catalina-ant.jar to my ant installation directory. And for what it's worth, I'm doing this all within Eclipse 3.0. Do I need to do something extra within Eclipse or am I missing something else? Any ideas are greatly appreciated!
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does it work if you run the task from the command line? I'm not familiar with with the Ant/Eclipse integration; there may be something else you need to do.
 
Denise Hum
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I didn't think to try that, but I'll keep that in mind for next time. I figured it out though -- I had to import(?) the jar into Eclipse and then it worked. Thanks.
 
What could go wrong in a swell place like "The Evil Eye"? Or with this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic