agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] User defined Function
Date: Mon, 18 Feb 2008 12:48:11 +0100
Message-ID: <002c01c87224$250ff110$a5c8a8c0@perantoarr> (raw)
In-Reply-To: <Pine.BSO.4.64.0802151851520.15289@leary.csoft.net>
References: <001001c86f02$27e9ca70$a5c8a8c0@perantoarr>
	<Pine.BSO.4.64.0802151851520.15289@leary.csoft.net>


:~\-----Urspr?ngliche Nachricht-----
:~\Von: Kris Jurka [mailto:books at ejurka.com]
:~\Gesendet: Samstag, 16. Februar 2008 00:59
:~\
:~\On Thu, 14 Feb 2008, Andreas Rossel wrote:
:~\
:~\> I found a workaround to my problem. If I put my method in a second class
:~\> beside the class with the main-routine it works! :D
:~\>
:~\> Is this the way it should be?
:~\>
:~\
:~\No, that's not right.  Perhaps your jar file isn't being created
:~\correctly?  Your original description stated that you needed to add a main
:~\method to be able to create the jar in the first place which sounds
:~\suspicious.  Perhaps verifying it with "jar -tf myjarfile.jar" and
:~\checking to see that everything is there would tell us something.
:~\


You found the prime suspect!
I tried to create the JAR without a main() by deleting the line:

	Main-Class: test

out of my JAR-manifest. But doing so produced an error. Now I just deleted the classname and it works.


Thanks a lot.

Andreas 






view thread (6+ messages)  latest in thread

Message-ID: <002c01c87224$250ff110$a5c8a8c0@perantoarr>
Permalink:  ../002c01c87224$250ff110$a5c8a8c0@perantoarr/
Also on:    postgresql.org/message-id/002c01c87224$250ff110$a5c8a8c0@perantoarr

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] User defined Function
  In-Reply-To: <002c01c87224$250ff110$a5c8a8c0@perantoarr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox