JDK-4886352 : jar tool: add provision to delete an entry from a jar file
  • Type: Enhancement
  • Component: tools
  • Sub-Component: jar
  • Affected Version: 1.4.2
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_8
  • CPU: generic
  • Submitted: 2003-07-03
  • Updated: 2006-02-24
  • Resolved: 2006-02-24
Related Reports
Duplicate :  
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
07-07-2003

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
07-07-2003