OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Jar File Creation

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting
View previous topic :: View next topic  
Author Message
jlparise
General User
General User


Joined: 12 Mar 2008
Posts: 7
Location: Pittsburgh, PA

PostPosted: Wed Mar 12, 2008 12:03 pm    Post subject: Jar File Creation Reply with quote

Hey Everyone,

I am attempting to get my employer off C# and Excel and onto Java and OpenOffice. So far they like what I have done with my reporting apps.

Anyways, now it is time to deploy a beta and I have run into a problem. My JAR file references are wrong.

Could anyone show me how to properly write a manifest file for Open Office 2.3 SDK?

I have tried numerous thing, but they don't seem to work. Netbeans also fails at making the JAR because it wants to copy the files to a local lib folder, but they only run properly out of the program files\Open office 2.3 folder.

Thanks in advance for teh help. Sorry if this was posted before I searched, but couldn't find it.

Here is my manifest:
Quote:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 1.6.0_03-b05 (Sun Microsystems Inc.)
Main-Class: Logger.LoggerFrame
Class-Path: lib/postgresql.jar lib/swing-layout-1.0.3.jar "C:\Program Files\OpenOffice.org 2.3\program\classes\jurt.jar" "C:\Program Files\OpenOffice.org 2.3\program\classes\unoil.jar" "C:\Program Files\OpenOffice.org 2.3\program\classes\ridl.jar" "C:\Program Files\OpenOffice.org 2.3\program\classes\juh.jar"
X-COMMENT: Main-Class will be added automatically by build


Edit:

I am using:

Windows XP SP2(much to my dismay)
JDK 6
Netbeand 6
OO.org 2.3
Back to top
View user's profile Send private message
hol.sten
Super User
Super User


Joined: 14 Nov 2004
Posts: 3531
Location: Hamburg, Germany

PostPosted: Thu Mar 13, 2008 1:18 am    Post subject: Re: Jar File Creation Reply with quote

jlparise wrote:
Netbeans also fails at making the JAR because it wants to copy the files to a local lib folder, but they only run properly out of the program files\Open office 2.3 folder.

So you're using the Bootstrap Connection Mechanism and not the Interprocess Connection Mechanism. Try this thread to solve your problem:
[Java solution] "no office executable found!": http://user.services.openoffice.org/en/forum/viewtopic.php?f=44&t=2520. It makes the deployment of Java applications which use OOo much easier.
Back to top
View user's profile Send private message
jlparise
General User
General User


Joined: 12 Mar 2008
Posts: 7
Location: Pittsburgh, PA

PostPosted: Thu Mar 13, 2008 3:49 am    Post subject: Reply with quote

I wasn't aware there was an inter process communication method.

I am currently trying to bootstrap. Would the interprocess method solve this issue?
Back to top
View user's profile Send private message
hol.sten
Super User
Super User


Joined: 14 Nov 2004
Posts: 3531
Location: Hamburg, Germany

PostPosted: Thu Mar 13, 2008 4:03 am    Post subject: Reply with quote

jlparise wrote:
I wasn't aware there was an inter process communication method.

That's the reason I mentioned it.

jlparise wrote:
I am currently trying to bootstrap.

I guess that already. Thanks for the confirmation.

jlparise wrote:
Would the interprocess method solve this issue?

Yes. And it is discussed in much more detail in the three links I provided in my previous post in this thread. Using the solution provided by [Java solution] "no office executable found!" (http://user.services.openoffice.org/en/forum/viewtopic.php?f=44&t=2520) would solve your problem, too, as I already mentioned. Didn't you read at least one of them?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group