Re: stupid question about loading driver

Поиск
Список
Период
Сортировка
От Richard Welty
Тема Re: stupid question about loading driver
Дата
Msg-id E18aIB3-0004Iq-00@skipper.averillpark.net
обсуждение исходный текст
Ответ на Re: stupid question about loading driver  (Dave Cramer <Dave@micro-automation.net>)
Ответы Re: stupid question about loading driver  ("Paul Stead" <pstead@elementallogic.com>)
Re: stupid question about loading driver  ("Paul Stead" <pstead@envoysoftware.com>)
Список 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 по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: stupid question about loading driver
Следующее
От: Anders Hermansen
Дата:
Сообщение: Re: stupid question about loading driver