Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #10572
| From | Tom Anderson <twic@urchin.earth.li> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Linking Jars |
| Date | 2011-12-06 22:06 +0000 |
| Organization | Stack Usenet News Service |
| Message-ID | <alpine.DEB.2.00.1112062203320.9866@urchin.earth.li> (permalink) |
| References | <darld75fmiqqj4s6pnl9mk06va039uq1bv@4ax.com> <t1sld7dcg6vugp2thgf0ub1f9e52luulpg@4ax.com> <9k0vruFa01U1@mid.individual.net> <alpine.DEB.2.00.1112041958420.3416@urchin.earth.li> <jbgpit$5jf$1@dont-email.me> |
On Sun, 4 Dec 2011, markspace wrote: > On 12/4/2011 12:25 PM, Tom Anderson wrote: > >> The problem is that the Class-Path header expresses the dependency as a >> URL; a direct path that can be resolved in the filesystem. > > I thought class path entries in the manifest file were always relative to the > location of the containing Jar file? Yep. They're relative URLs! The spec says Class-Path: The value of this attribute specifies the relative URLs of the extensions or libraries that this application or extension needs. URLs are separated by one or more spaces. The application or extension class loader uses the value of this attribute to construct its internal search path. > I guess you could specify an absolute path, but I don't think it's > required. Indeed it's not. But a relative URL is still a URL. tom -- I'd better quit my talking, 'cause I told you all I know. But please remember, pardner, wherever you may go: the people are building a peaceful world, and when the job is done, that'll be the biggest thing that man has ever done.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Linking Jars Roedy Green <see_website@mindprod.com.invalid> - 2011-12-03 19:53 -0800
Re: Linking Jars Roedy Green <see_website@mindprod.com.invalid> - 2011-12-03 20:00 -0800
Re: Linking Jars Robert Klemme <shortcutter@googlemail.com> - 2011-12-04 11:20 +0100
Re: Linking Jars Lew <lewbloch@gmail.com> - 2011-12-04 10:37 -0800
Re: Linking Jars Robert Klemme <shortcutter@googlemail.com> - 2011-12-04 23:24 +0100
Re: Linking Jars Roedy Green <see_website@mindprod.com.invalid> - 2011-12-05 04:20 -0800
Re: Linking Jars ilAn <idonot@wantspam.net> - 2011-12-05 21:49 +0200
Re: Linking Jars Tom Anderson <twic@urchin.earth.li> - 2011-12-06 22:11 +0000
Re: Linking Jars Arne Vajhøj <arne@vajhoej.dk> - 2011-12-05 22:11 -0500
OT: Was Re: Linking Jars RedGrittyBrick <RedGrittyBrick@spamweary.invalid> - 2011-12-07 15:11 +0000
Re: Linking Jars Tom Anderson <twic@urchin.earth.li> - 2011-12-04 20:25 +0000
Re: Linking Jars markspace <-@.> - 2011-12-04 13:43 -0800
Re: Linking Jars Tom Anderson <twic@urchin.earth.li> - 2011-12-06 22:06 +0000
Re: Linking Jars Ronny Schütz <usenet.r96@gishpuppy.com> - 2011-12-04 23:18 +0100
csiph-web