-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
> I have an eclipse rcp app which uses Plugin A - my
> OpenOffice handling code and PlugIn B - My User
> Interface code which uses the Swt Bridge, Plugin C -
> My OpenOffice "Lib" ie all the classes and dll's, and
> other files openoffice needs.
some time ago I had a similar problem:
I tried to use a swt dialog from a oo component ... and found the following
solution:
First I added the eclipse rcp/swt jar files to the oo userClassPath
(javasettings_Windows_x86.xml)
<userClassPath xsi:nil="false">
D:\swt.win.runtime\org.eclipse.core.runtime_3.1.0.jar;
D:\swt.win.runtime\org.eclipse.jface.text_3.1.0.jar;
D:\swt.win.runtime\org.eclipse.jface_3.2.0.jar;
D:\swt.win.runtime\org.eclipse.osgi_3.1.0.jar;
D:\swt.win.runtime\org.eclipse.swt.win32.win32.x86_3.1.0.jar
</userClassPath>
and second I added "D:\swt.win.runtime" to the windows environment "Path"
variable, otherwise
the native swt dll's (swt-awt-win32-3201.dll, swt-win32-3201.dll,
swt-gdip-win32-3201.dll) can't be
found ...
(I had to extract the dlls from the org.eclipse.swt.win32.win32.x86_3.1.0.jar
file into
"D:\swt.win.runtime")
it seems not to be possible to *extend* the java.library.path using the
"-Djava.library.path=D:\swt.win.runtime"
option inside the javasettings_Windows_x86.xml, afaik using this option will
replace the current
setting with
your settings, and thats probably not what you want ...
Oliver
- --
GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFD46wLTiyrQM/QSkURAmxLAJ9RBOMo9DjSnw0wgywmocnmGY5V1ACff860
+UJPqIBmVZhrAnGMcxOSOSA=
=DSVg
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]