Alexey, There numerous sources. [1] is jar file specification - look for Class-Path attribute description, [2] is from "Java tutorials" series - read through first paragraph. I'm sure that more direct statement can be found at java.sun.com.
[1] http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html [2] http://java.sun.com/docs/books/tutorial/ext/basics/load.html On 9/25/06, Alexey Varlamov <[EMAIL PROTECTED]> wrote:
Pavel, Just to be clear, could you please point to some documentation which declares such responsibility? This seems logical and now I recall why I let it to be forgotten ;) 2006/9/25, Pavel Pervov <[EMAIL PROTECTED]>: > Chris, > > As far as I understant, this is responsibility of a class loader to parse > Class-Path attribute of any jar file it has in its class path. > System class loader for DRLVM (which is URLClassLoader) does this. > > Any objections? > > Regards, > Pavel Pervov. > Intel Middleware Products Division. > > On 9/25/06, Chris Gray <[EMAIL PROTECTED]> wrote: > > > > As I understand it, the classpath of the jarred application should include > > the > > jar file itself and the contents of its Class-Path attribute (if any). You > > probably need to create a special class loader for the application and use > > that whenever the application (or a library loaded by it) is the > > initiator. > > -- > > Chris Gray /k/ Embedded Java Solutions BE0503765045 > > Embedded & Mobile Java, OSGi http://www.k-embedded-java.com/ > > [EMAIL PROTECTED] +32 3 216 0369 > > > > > > --------------------------------------------------------------------- > > Terms of use : http://incubator.apache.org/harmony/mailing.html > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]