jax-ws
  1. jax-ws
  2. JAX_WS-542

WsGen output not correctly redirected

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.2.7
    • Component/s: wsgen
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      542

      Description

      WsgenTool delegates to APT, but doesn't pass the it's PrintWriter to it.
      Therefore the APT output is redirected to System.out and not handled by the
      WsgenTool implementation.

      See WsgenTool#buildModel(...)

      [...]

      int result = com.sun.tools.apt.Main.process(this, args);

      which should actually be

      int result = com.sun.tools.apt.Main.process(this, <PrintWriter>, args);

        Activity

          People

          • Assignee:
            Lukas Jungmann
            Reporter:
            heiko_braun
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: