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

        heiko_braun created issue -
        kenaiadmin made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 542 12136
        Lukas Jungmann made changes -
        Assignee ramapulavarthi [ ramapulavarthi@java.net ] Lukas Jungmann [ jungicz ]
        Lukas Jungmann made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.2.7 [ 15838 ]
        Fix Version/s not determined [ 10132 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: