United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4886352 jar tool: add provision to delete an entry from a jar file
JDK-4886352 : jar tool: add provision to delete an entry from a jar file

Details
Type:
Enhancement
Submit Date:
2003-07-03
Status:
Closed
Updated Date:
2006-02-24
Project Name:
JDK
Resolved Date:
2006-02-24
Component:
tools
OS:
solaris_8
Sub-Component:
jar
CPU:
generic
Priority:
P5
Resolution:
Duplicate
Affected Versions:
1.4.2
Fixed Versions:

Related Reports
Duplicate:

Sub Tasks

Description
Customer problem description:

jar uvf updates a jar, cvf creates a jar

Provide a flag to delete an entry from a jar file

                                    

Comments
WORK AROUND

It's clearly possible to write a script that:
- extracts the jar file into a temp directory
- removes the required files
- re-creates the jar file, being careful to specify the correct
  flags to preserve the manifest
###@###.### 2003-07-07
                                     
2003-07-07
EVALUATION

The jar command is patterned after the tar command, which also does not
have any entry deletion action flag, despite many years of use.  Although
such a flag would be convenient for users, it is certainly not required,
and it is unlikely that we will have the resources to add such a low-priority
RFE soon.
###@###.### 2003-07-07
                                     
2003-07-07



Hardware and Software, Engineered to Work Together