Thanks Craig, I will try this. Thanks, Atul
> On 21-Dec-2019, at 11:40 PM, Craig Pell <a...@erasurewars.net> wrote: > > On 12/20/19 1:47 PM, Atul Pendse wrote: >> Does anyone have an example of wsimport ant task that works with JDK 11 or >> above? >> I would greatly appreciate any help around this. >> We are migrating from jdk8 to jdk 11/12/13, but can't seem to get wsimport >> working with ant. > > JAX-WS has been removed from Java SE starting with Java 11. This means > wsimport and its corresponding Ant task are no longer part of Java SE. > > You can download JAX-WS at: https://javaee.github.io/metro-jax-ws/ > > I haven’t tried this, but you should be able to declare the wsimport task in > a manner pretty similar to how it was done in Java 8: > > <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport"> > <classpath> > <fileset dir="/path/to/jaxws-ri/lib" includes="**/*.jar"/> > </classpath> > </taskdef> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org