jax-ws
  1. jax-ws
  2. JAX_WS-1116

wsgen: relative ext metadata file is not found if s and/or d options are used

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.8
    • Fix Version/s: None
    • Component/s: wsgen
    • Labels:
      None

      Description

      culprit is in following method

      private List<File> getExternalFiles(List<String> exts) {
      ...
          if (!file.exists()) {
              // then relative path ...
              file = new File(options.sourceDir.getAbsolutePath() + File.separator + ext);
          }
      ...
      }
      

      so for following cmd line: wsgen -x a.xml -s dir -keep some.Service metadata file will be resolved to dir/a.xml which is wrong; it should be resolved to $WORK_DIR/a.xml instead

        Activity

        Lukas Jungmann created issue -
        Lukas Jungmann made changes -
        Field Original Value New Value
        Affects Version/s 2.2.8 [ 15918 ]
        Affects Version/s 2.2.7 [ 15838 ]

          People

          • Assignee:
            miroslav.kos
            Reporter:
            Lukas Jungmann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: