A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Java in General
Need Help on :: Programatically Creating Jar file From Existing Jar file
Joined: Mar 02, 2009
Mar 02, 2009 10:39:41
I am trying to create dummy jar file based on existing jar file; using java.util.Jar package classes like
, Manifest class objects.
What I am tryig to do is
I have A.jar file
get its manifest object with JarFile.getManifest()
If i specify this manifest in
-> Duplicate META-INF\META-INF.MF entry
What is the best way to achieve creating copy of one jar to another with slight change to manifest file.
Help is Appreciated
Joined: Oct 13, 2005
Mar 02, 2009 13:29:40
Easiest done from the command line, I would think. There should be something in the
; there is a section about modifying the manifest file.
Joined: Oct 14, 2002
Mar 03, 2009 11:00:57
Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
I agree. Here's the link:
subject: Need Help on :: Programatically Creating Jar file From Existing Jar file
creating jar file programatically
Executable Jar and Class-Path
Question about Jar file
Manifest file not working in J2EE project?
creating jar using java.util.jar
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014