aspose file tools*
The moose likes Web Services and the fly likes wscompile gives problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "wscompile gives problem" Watch "wscompile gives problem" New topic
Author

wscompile gives problem

Sachet Varma
Ranch Hand

Joined: Jun 07, 2009
Posts: 39
Hi,

When I run the build.xml file , it gives an error stating:

BUILD FAILED
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???
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
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:

Best wishes!
Sachet Varma
Ranch Hand

Joined: Jun 07, 2009
Posts: 39
You are the best help Ivan!
 
Don't get me started about those stupid light bulbs.
 
subject: wscompile gives problem