Re: ClassDepAndJar update a jar file

Gregg Wonderly <[email protected]>
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
Calum Shaw-Mackay wrote:
> Anyone know how you can request classdepandjar to update an existing
> Jar file rather than create a new one?

I'm not aware of such functionality.  The original tooling that still exists in
the JTSK just builds the class list.  You could create a tool which might just
validate that the file list is represented in the content of the jar, and output
a list of missing files that you could then use to add additional content?

I've always just rebuilt the jar and then unpacked it, added the preferred.list
and other resources and then rejar'd it with any needed manifest for external
dependencies in the Class-Path: manifest entry.

Gregg Wonderly

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.