• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache Axis sample application build

Viru Sagar
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am using Apache Axis 1.4 and trying to build the OOTB sample applications.
Ant throws me a compile time error that

C:\axis-1_4\xmls\taskdefs_post_compile.xml:2: taskdef A class needed by class org.apache.axis.tools.ant.foreach.ForeachTask ca
nnot be found: org/apache/tools/ant/Task

"org/apache/tools/ant/Task" is available in ant.jar.

It seemed to me a classpath problem but I printed classpath on console and found that all the ANT jar files were there.

I explicitely provided these jar files in build script but somehow still "org.apache.axis.tools.ant.foreach" AXIS'S subclass of "org/apache/tools/ant/Task" can not see my ant.jar.

Any clue/Idea/Resolution is much appreciated.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic