Tool | Provided with |
idlc | OpenOffice SDK |
regmerge | OpenOffice SDK |
javamaker | OpenOffice SDK |
javap | Java SDK |
javac | Java SDK |
jar | Java SDK |
zip | Unix distribution |
unopkg | OpenOffice suite |
|
Required OOo JARs |
ridl.jar |
unoil.jar |
jurt.jar |
juh.jar |
|
|
Compiles the UNO binary file
idlc -C -cid -w -I $OO_SDK_HOME/idl org/geotools/openoffice/XReferencing.idl
Compiles the UNO registry file
regmerge geotools.rdb /UCR org/geotools/openoffice/XReferencing.urd
Creates the file for Java interfaces
javamaker -BUCR -nD -Torg.geotools.openoffice.XReferencing geotools.rdb $OFFICE_PROGRAM_PATH/types.rdb
Derives a source from the file
javap org.geotools.openoffice.XReferencing
Compiles source files
javac org/geotools/openoffice/*.java
Creates the file
jar -cfm0 openoffice-2.3-SNAPSHOT.jar META-INF/MANIFEST.MF org/geotools/openoffice/*.class
Creates the file
zip -9 geotools.uno.pkg geotools.rdb openoffice-2.3-SNAPSHOT.jar META-INF/manifest.xml
Register the component to OpenOffice
unopkg add geotools.uno.pkg
|