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