summaryrefslogtreecommitdiff
path: root/jvmfwk/source
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-06-17 09:12:55 +0000
committerOliver Bolte <obo@openoffice.org>2005-06-17 09:12:55 +0000
commitfb6a7a58777113a46d1eeff32abf66819708642f (patch)
tree792f3ebd38a4a3cbf3680375a1638165cf2fb66d /jvmfwk/source
parentf6a65692907791354abe9e70e6fddce035c2e080 (diff)
INTEGRATION: CWS sb31 (1.10.24); FILE MERGED
2005/04/18 14:30:01 sb 1.10.24.1: #121392# Changed findPlugin to first search the plugin library relative to a base URL that is set to the location of the javavendors.xml file itself.
Diffstat (limited to 'jvmfwk/source')
-rw-r--r--jvmfwk/source/fwkutil.hxx17
1 files changed, 14 insertions, 3 deletions
diff --git a/jvmfwk/source/fwkutil.hxx b/jvmfwk/source/fwkutil.hxx
index 755448a087b3..9c8beb35a23a 100644
--- a/jvmfwk/source/fwkutil.hxx
+++ b/jvmfwk/source/fwkutil.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fwkutil.hxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: hr $ $Date: 2004-11-09 14:01:18 $
+ * last change: $Author: obo $ $Date: 2005-06-17 10:12:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -90,10 +90,21 @@ rtl::OUString getLibraryLocation();
*/
rtl::OUString getExecutableDirectory();
/** Locates the plugin library and returns the file URL.
+
+ First tries to locate plugin relative to baseUrl. If that fails, tries to
+ locate plugin relative to the executable. If that fails, and plugin
+ contains no slashes, tries to locate plugin in a platform-specific way
+ (e.g., LD_LIBRARY_PATH).
+
+ @param baseUrl
+ The base file URL relative to which the plugin argument is interpreted.
+
+ @param plugin
The argument is just the name of the plugin or a relative path
from the directory of the executable.
*/
-rtl::OUString findPlugin(const rtl::OUString & plugin);
+rtl::OUString findPlugin(
+ const rtl::OUString & baseUrl, const rtl::OUString & plugin);
//Todo still needed?
rtl::OUString searchFileNextToThisLib(const rtl::OUString & sFile);
class CNodeJava;