When I run the build.xml file , it gives an error stating:
C:\workspace\Work\build.xml:46: Problem: failed to create task or type wscompile
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Why doesn't the core wscompile task get recognised???
Joined: Oct 04, 2006
You need to define the wscompile task in your Ant script. One way to do it is by using the wscompile command:
An alaternative is to use the wscompile task that comes with, for instance, GlassFish. The example below is for wsgen, but wscompile is used in a similar fashion: