[Pljava-dev] User defined Function

From: rossel at peranto(dot)de (Andreas Rossel)
To:
Subject: [Pljava-dev] User defined Function
Date: 2008-02-18 11:48:11
Message-ID: 002c01c87224$250ff110$a5c8a8c0@perantoarr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev


:~\-----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

In response to

Browse pljava-dev by date

  From Date Subject
Next Message Andreas Rossel 2008-02-18 12:05:16 [Pljava-dev] User defined Function
Previous Message Kris Jurka 2008-02-15 23:58:39 [Pljava-dev] User defined Function