metro-jax-ws icon indicating copy to clipboard operation
metro-jax-ws copied to clipboard

wsimport ant task : unable to use an episode jar with xjcarg

Open Tomas-Kraus opened this issue 3 years ago • 0 comments

I can not use a jar containing a Meta-inf/sun-jaxb.episode with wsimport ant task :

1/ if I do (ant script) :

it generates this :

wsimport -d classes -g -s gen\java myService.wsdl episodejar.jar

==> -B is missing before episodejar.jar

2/ if i do :

it generates :

wsimport -d classes -g -s gen\java myService.wsdl episodejar.jar "-B -B episodejar.jar"

=> there are two -B and some quotes.

the problem seems to be in class com.sun.tools.ws.ant.WsImport2

Environment

Operating System: All Platform: All

Affected Versions

[2.1.2]

Source: https://github.com/javaee/metro-jax-ws/issues/368 Author: glassfishrobot

Tomas-Kraus avatar Jun 02 '22 16:06 Tomas-Kraus