Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wscompile gives problem

 
Sachet Varma
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are the best help Ivan!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic