JAR files and manifest: Class-Path
From: Karsten Wutzke (kwutzke-blahblah_at_emporis.com)
Date: 01/06/04
- Next message: Chris Smith: "Re: Java Code Convention Guidelines question..."
- Previous message: Marc Twain: "Re: this keyword and this() : difference?"
- Next in thread: Manish Hatwalne: "Re: JAR files and manifest: Class-Path"
- Reply: Manish Hatwalne: "Re: JAR files and manifest: Class-Path"
- Reply: Dave Glasser: "Re: JAR files and manifest: Class-Path"
- Reply: Thomas Schodt: "Re: JAR files and manifest: Class-Path"
- Reply: hiwa: "Re: JAR files and manifest: Class-Path"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 06 Jan 2004 17:24:33 +0100
Hi!
I have a base dir, where the application JAR file resides. In this base
dir, there's also a lib dir, nothing special really. In this lib dir are
some user look and feel JAR files, which are supposed to be loaded when
the application is started via the JAR file.
Is there any way to use the Class-Path entry in the manifest, so that it
scans that ./lib directory and loads all the JARs in there, *without
knowing up-front, what these files are*?
I tried
Class-Path: ./lib
Class-Path: ./lib/
Class-Path: ./lib/*
Class-Path: ./lib/*.jar
but none of them work.
Maybe there's some other way, which I don't know of. I simply don't want
to explicitly deploy the JAR's (versions, size etc.).
Anyway, how do I do it?
Karsten
- Next message: Chris Smith: "Re: Java Code Convention Guidelines question..."
- Previous message: Marc Twain: "Re: this keyword and this() : difference?"
- Next in thread: Manish Hatwalne: "Re: JAR files and manifest: Class-Path"
- Reply: Manish Hatwalne: "Re: JAR files and manifest: Class-Path"
- Reply: Dave Glasser: "Re: JAR files and manifest: Class-Path"
- Reply: Thomas Schodt: "Re: JAR files and manifest: Class-Path"
- Reply: hiwa: "Re: JAR files and manifest: Class-Path"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|