Error in j2se1.3 Jar tool example documentation: option c example

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.3.1
    • Affects Version/s: 1.3.0
    • Component/s: docs
    • 1.3.1
    • generic
    • generic



        Name: rmT116609 Date: 02/26/2001


        java version "1.3.0"

        There appears to be a mistake in the jar tool documentation at

        http://java.sun.com/j2se/1.3/docs/tooldocs/win32/jar.html
         
        The problem is in the EXAMPLES part, see excerpt below. In contradiction to the
        documentation, the c option will not add files to an existing jar file, instead
        it will overwrite the archive file. Adding of files to an archive is done via
        the u option.

        Excerpt from [http://java.sun.com/j2se/1.3/docs/tooldocs/win32/jar.html]
         
        EXAMPLES

          To add all the files in a particular directory to an archive
           jar cvf bundle.jar *
           ...
         If you already have subdirectories for images, audio files and classes
         in your html directory, you might jar up each directory into a single
         jar file
         
           jar cvf bundle.jar audio classes images
        (Review ID: 117612)
        ======================================================================

              Assignee:
              Scott Hommel (Inactive)
              Reporter:
              Ranjith Mandala (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: