jax-ws
  1. jax-ws
  2. JAX_WS-526

wsmport patch to manage folder resources

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: 2.2.2
    • Component/s: wsimport
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      526

      Description

      wsimport doesnt work when specifying a folder.
      In class com.sun.tools.ws.wscompile.WsimportOptions we have:
      protected void addFile(String arg) throws BadCommandLineException

      { addFile(arg, wsdls, "*.wsdl"); }

      The problem is in the suffix passed in parameter to addFile. Later in
      addRecursive we only add files ending with suffix. But no files end with "*.wsdl".
      So you can patch addFile or you can develop suffix regex filtering in
      addRecursive().
      It should look like :
      protected void addFile(String arg) throws BadCommandLineException

      { addFile(arg, wsdls, ".wsdl"); }

        Activity

        Hide
        jitu added a comment -

        assigning it to Rama

        Show
        jitu added a comment - assigning it to Rama
        Hide
        ramapulavarthi added a comment -

        I appreciate for attaching the patch.

        Would you be interested in contributing a fix for this issue? Please see email
        from jitu (https://jax-ws.dev.java.net/servlets/ReadMsg?list=dev&msgNo=1077) on
        contributing to JAX-WS RI issues as well as sending patches.

        Show
        ramapulavarthi added a comment - I appreciate for attaching the patch. Would you be interested in contributing a fix for this issue? Please see email from jitu ( https://jax-ws.dev.java.net/servlets/ReadMsg?list=dev&msgNo=1077 ) on contributing to JAX-WS RI issues as well as sending patches.
        Hide
        ramapulavarthi added a comment -

        Thanks for the patch.
        Fixed the suffix to ".wsdl".

        Show
        ramapulavarthi added a comment - Thanks for the patch. Fixed the suffix to ".wsdl".

          People

          • Assignee:
            ramapulavarthi
            Reporter:
            lwi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: