Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #19534
| From | Jan Burse <janburse@fastmail.fm> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: a question about creating the JAR file |
| Date | 2012-10-27 17:24 +0200 |
| Organization | albasani.net |
| Message-ID | <k6gubm$6kk$1@news.albasani.net> (permalink) |
| References | <c34600e7-78d9-44a5-a79c-ee804ed992e2@googlegroups.com> <af2agsFbm4U1@mid.dfncis.de> <k6gu3q$655$1@news.albasani.net> |
Jan Burse schrieb: > > I guess javac does not understand the Class-Path: manifest > attribute. Right? So you would need to unpack/pack the two > .jars into one .jar. I guess you can use something along the > fileset in the jar ant task for this purpose, no need to > buy an expensive tool. Corr.: Somebody says javac does, since jdk 1.5: "Everything comes with a reason. Since jdk1.5, both java and javac recurse the manifest classpath of a jar on the java classpath." http://j2eeblogger.blogspot.ch/2008/04/will-it-compile.html Oki, Doki, thats colo. So for after 1.5, with the right basic tools, Sven Köhlers advice is valid. Although there are still some reasons for option 2), also from the above blog: "Conclusion? Well, I don't know what to say here, but this looks something similiar to the windows DLL hell problem. And it was called DLL 'Hell' for a reason." Bye
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
a question about creating the JAR file zyng <xsli2@yahoo.com> - 2012-10-26 13:58 -0700
Re: a question about creating the JAR file Lew <lewbloch@gmail.com> - 2012-10-26 14:14 -0700
Re: a question about creating the JAR file zyng <xsli2@yahoo.com> - 2012-10-31 12:41 -0700
Re: a question about creating the JAR file Lew <lewbloch@gmail.com> - 2012-10-31 15:19 -0700
Re: a question about creating the JAR file Sven Köhler <remove-sven.koehler@gmail.com> - 2012-10-27 16:54 +0200
Re: a question about creating the JAR file Jan Burse <janburse@fastmail.fm> - 2012-10-27 17:20 +0200
Re: a question about creating the JAR file Jan Burse <janburse@fastmail.fm> - 2012-10-27 17:24 +0200
Re: a question about creating the JAR file Sven Köhler <remove-sven.koehler@gmail.com> - 2012-10-27 19:06 +0200
Re: a question about creating the JAR file Lew <lewbloch@gmail.com> - 2012-10-28 09:44 -0700
Re: a question about creating the JAR file Roedy Green <see_website@mindprod.com.invalid> - 2012-11-01 18:26 -0700
csiph-web