Ant build error with WebLogic 10.3
Hi,
I am trying to compile the web service example found in the tutorial
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/webserv/use_cases.html#wp228687
Use cases nr 1
And I get this error when trying the command ">ant build-service":
>
D:\myExamples\hello_world\src>ant build_service
Buildfile: D:\myExamples\hello_world\src\build.xml
BUILD FAILED
D:\myExamples\hello_world\src\build.xml:4: taskdef class weblogic.wsee.tools.anttasks.JwscTask cannot be found
using the classloader AntClassLoader[]
Total time: 0 seconds
At this point in the tutorial, the build.xml file contains:
>
<project name="webservices-hello_world" default="all">
<taskdef name="jwsc"
classname="weblogic.wsee.tools.anttasks.JwscTask" />
<target name="build-service">
<jwsc
srcdir="src"
destdir="output/helloWorldEar">
<jws file="examples/webservices/hello_world/HelloWorldImpK.java"
type="JAXWS"/>
</jwsc>
</target>
</project>
I wonder if I should set a variable in the environment?
I know that my ant installation is good since I managed to compile and run a java program with a manifest in the jar.
Many thanks for your help.