Re: stupid question about loading driver - Mailing list pgsql-jdbc

From Richard Welty
Subject Re: stupid question about loading driver
Date
Msg-id E18aIB3-0004Iq-00@skipper.averillpark.net
Whole thread Raw
In response to Re: stupid question about loading driver  (Dave Cramer <Dave@micro-automation.net>)
Responses Re: stupid question about loading driver
Re: stupid question about loading driver
List pgsql-jdbc
On 19 Jan 2003 10:14:27 -0500 Dave Cramer <Dave@micro-automation.net> wrote:
> Everything does look right here, so the only possibility that I can
> think of is that the jar is spelled wrong, or isn't where you are saying
> it is?

i cut and pasted it out of the classpath into an ls command, and the path
is correct.

this is my first cut at using ant and the jar builder tools, and i don't
know for a fact that i got the manifest.mf file right:

--cut here--
Manifest-Version: 0.1
Signature-Version: 0.1
Main-Class: com.example.foo.exampleFooApp
--cut here--

is the trivial one i'm using, modulo the obfuscation required by my NDA.

i had a classpath: entry in there, but removed it, it doesn't seem to make
a difference if it's there or not, but the documentation i went through is
mildly unclear about what form a classpath: entry in an manifest is
supposed to look like. should i have something like:

Classpath: org.postgresql.Driver

which is what i had before, or something else, or nothing at all? i can't
believe that they would want me to hardcode paths in the local file system
in to the manifest for a theoretically portable jar file.

richard
--
Richard Welty                                         rwelty@averillpark.net
Averill Park Networking                                         518-573-7592
              Unix, Linux, IP Network Engineering, Security

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: stupid question about loading driver
Next
From: Anders Hermansen
Date:
Subject: Re: stupid question about loading driver