Jar tool extract should support the "-C" option

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 5.0
    • Component/s: tools
    • jar
    • x86
    • windows_2000

      A DESCRIPTION OF THE REQUEST :
      The -C option to change the directory is not supported when extracting files from a JAR file.

      e.g.:
       jar xf test.jar -C c:\temp *

      JUSTIFICATION :
      It would make scripts clearer, that have to unpack and repack JAR/WAR files.

      The x (extract) command would work analogous to the c (create) command.

      I assume that Implementing the -C option for the extract command would be easy.

            Assignee:
            Xueming Shen
            Reporter:
            Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: