Print Properties
Building Inforama with Open Office 3.x in Eclipse IDE

Steps below describe how to configure Inforama with Open Office 3.x in Eclipse IDE.

Configure Document Editor project's build path.

Right-click the DocumentEditor project and select Properties. Go to Java Build Path and remove all references to the jar files pointed to by the openoffice_lib variable. Click Add External JARs... and select all jar files from directories: openoffice_folder/Basis/program/classes (e.g. C:\Program Files\OpenOffice.org 3\Basis\program\classes) and openoffice_folder/URE/java (e.g. C:\Program Files\OpenOffice.org 3\URE\java).

configure the build path

Create the Launch configuration.

In the Document Editor project properties dialog select Run/Debug Settings, choose Java Application and click OK. In the Launch configuration properties dialog specify as follows:

  • Main Tab
Specify the main class as org.in4ama.editor.xui.Launcher.
specify the main class
  • Arguments Tab
Specify the Program arguments as "openoffice_folder" 3 (e.g. "C:\Program Files\OpenOffice.org" 3).
specify the program arguments
  • Environment Tab
Add a new variable named UNO_PATH and sets its value to openoffice_folder/program (e.g. C:\Program Files\OpenOffice.org\program).
specify UNO_PATH variable

Rebuild the DocumentEditor project

642 Views, 0 Attachments 0 Attachments

  • Comments
Copyright © 2008 - 2010