Meaningless Drivel is fun!*
The moose likes Web Services and the fly likes Deprecated method problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Deprecated method problem" Watch "Deprecated method problem" New topic

Deprecated method problem

Arun Kumar
Ranch Hand

Joined: May 22, 2006
Posts: 62
Hi Guys,
I have this ant task which I am using to generate the JAX-WS stubs

It fails in the middle throwing this error.

Can I somehow suppress this and move on, I am not interested in doing anything about the depreceted method, It can just hang in there.

Arun Kumar
Ranch Hand

Joined: May 22, 2006
Posts: 62
I added fork="true" in the ant task like below and it works.

I agree. Here's the link:
subject: Deprecated method problem
Similar Threads
about wsgen with ant error=5, Access is denied(While running build.xml in Ant editor)
Building with ant from eclipse
How to generate WSDL file for any JAX-WS?
JAX-WS create server and client jar in one build pass (ant)