tdf#117331 Merge jurt and unoil into ridl
jurt.jar and unoil.jar are kept as effectively empty jars, each with a Class-Path: ridl.jar in their meta-inf/manifest.mf, so that 3rd-party code loading them (with or without also loading ridl.jar) will still have access to their content. Conceptually, the UNOIDL entities in unoil.jar (corresponding to module offapi) are not part of the URE, but are now made available by URE's ridl.jar. This should probably not cause problems in practice. At least for now, we seal exactly those packages in ridl.jar that were originally sealed in jurt.jar. Ideally, all of ridl.jar could be sealed now, but that would be mildly incompatible, as it would prevent 3rd-party code from introducing additional UNOIDL entities in the relevant namespaces (even if that is something we do not want 3rd-party code to do anyway). However, some JunitTest_jurt_* define classes in those sealed packages. In the past they got away with that by using gb_JunitTest_use_jar_classset,*,jurt. Instead they now need to gb_JunitTest_use_jar_classset,*,ridl and drop the gb_JunitTest_use_jar,*,ridl. But the former only makes available the classes that are specified in ridljar/Jar_ridl.mk with gb_Jar_add_sourcefiles, not the UNOIDL entities specified via gb_Jar_add_packagedirs. But the tests need the udkapi UNOIDL entities, so introduce gb_JunitTest_add_classpath to let the tests get them explicitly. (Curiously, JunitTest_jurt_uno and JnitTest_jurt_util use gb_JunitTest_use_jar_classset,*,jurt but don't seem to acutally need it; lets leave that for a follow-up clean up.) As a follow-up clean up, relevant files could be moved from jurt/ to ridljar/. Change-Id: I836f4e7bb47fb41f1306e3f223da90dba988eb9a Co-authored-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/84946 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
494092dc0c
commit
ae855bf481
70 changed files with 176 additions and 217 deletions
|
@ -28,11 +28,9 @@ dependencies {
|
|||
implementation fileTree(dir: "${liboInstdir}/${liboUREJavaFolder}", include: [
|
||||
"java_uno.jar",
|
||||
"juh.jar",
|
||||
"jurt.jar",
|
||||
"ridl.jar",
|
||||
"unoloader.jar"
|
||||
])
|
||||
implementation files("${liboInstdir}/${liboShareJavaFolder}/unoil.jar")
|
||||
implementation(name:'owncloud_android_lib', ext:'aar')
|
||||
implementation 'com.android.support:design:27.1.1' // also pulls-in corresponding support libraries
|
||||
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
|
||||
|
|
|
@ -12,8 +12,6 @@ $(eval $(call gb_Jar_Jar,officebean))
|
|||
|
||||
$(eval $(call gb_Jar_use_jars,officebean,\
|
||||
ridl \
|
||||
unoil \
|
||||
jurt \
|
||||
juh \
|
||||
))
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@ $(eval $(call gb_JunitTest_use_jars,bean_complex,\
|
|||
OOoRunner \
|
||||
ridl \
|
||||
test \
|
||||
unoil \
|
||||
officebean \
|
||||
))
|
||||
|
||||
|
|
|
@ -45,9 +45,7 @@ public class OOoViewer extends Applet {
|
|||
String officeURL = url.toString();
|
||||
URL[] arURL = new URL[] {
|
||||
new URL(officeURL + "/program/classes/officebean.jar"),
|
||||
new URL(officeURL + "/program/classes/jurt.jar"),
|
||||
new URL(officeURL + "/program/classes/ridl.jar"),
|
||||
new URL(officeURL + "/program/classes/unoil.jar"),
|
||||
new URL(officeURL + "/program/classes/java_uno.jar"),
|
||||
new URL(officeURL + "/program/classes/juh.jar")
|
||||
};
|
||||
|
|
|
@ -12,8 +12,6 @@ $(eval $(call gb_Jar_Jar,ConnectivityTools))
|
|||
|
||||
$(eval $(call gb_Jar_use_jars,ConnectivityTools,\
|
||||
ridl \
|
||||
unoil \
|
||||
jurt \
|
||||
juh \
|
||||
java_uno \
|
||||
OOoRunner \
|
||||
|
|
|
@ -22,7 +22,6 @@ $(eval $(call gb_Jar_set_packageroot,active_java,com))
|
|||
$(eval $(call gb_Jar_use_jars,active_java, \
|
||||
juh \
|
||||
ridl \
|
||||
unoil \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
|
|
@ -24,7 +24,6 @@ $(eval $(call gb_Jar_set_packageroot,passive_java,com))
|
|||
$(eval $(call gb_Jar_use_jars,passive_java, \
|
||||
juh \
|
||||
ridl \
|
||||
unoil \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
|
|
@ -36,11 +36,10 @@ c++)
|
|||
printf '%s' "$sd_prog/../Frameworks"
|
||||
;;
|
||||
java)
|
||||
printf '0%s\0%s\0%s\0%s\0%s' \
|
||||
printf '0%s\0%s\0%s' \
|
||||
"$sd_prog/../Resources/java/ridl.jar" \
|
||||
"$sd_prog/../Resources/java/jurt.jar" \
|
||||
"$sd_prog/../Resources/java/juh.jar" \
|
||||
"$sd_prog/../Resources/java/unoil.jar" "$sd_prog"
|
||||
"$sd_prog"
|
||||
;;
|
||||
*)
|
||||
exit 1
|
||||
|
|
|
@ -36,9 +36,9 @@ c++)
|
|||
printf '%s' "$sd_prog"
|
||||
;;
|
||||
java)
|
||||
printf '0%s\0%s\0%s\0%s\0%s' \
|
||||
"$sd_prog/classes/ridl.jar" "$sd_prog/classes/jurt.jar" \
|
||||
"$sd_prog/classes/juh.jar" "$sd_prog/classes/unoil.jar" "$sd_prog"
|
||||
printf '0%s\0%s\0%s' \
|
||||
"$sd_prog/classes/ridl.jar" \
|
||||
"$sd_prog/classes/juh.jar" "$sd_prog"
|
||||
;;
|
||||
*)
|
||||
exit 1
|
||||
|
|
|
@ -77,12 +77,8 @@ int wmain(int argc, wchar_t ** argv, wchar_t **) {
|
|||
wchar_t * pathEnd = getBrandPath(path);
|
||||
writePath(path, pathEnd, MY_STRING(L"classes\\ridl.jar"));
|
||||
writeNull();
|
||||
writePath(path, pathEnd, MY_STRING(L"classes\\jurt.jar"));
|
||||
writeNull();
|
||||
writePath(path, pathEnd, MY_STRING(L"classes\\juh.jar"));
|
||||
writeNull();
|
||||
writePath(path, pathEnd, MY_STRING(L"classes\\unoil.jar"));
|
||||
writeNull();
|
||||
writePath(path, pathEnd, MY_STRING(L""));
|
||||
} else {
|
||||
exit(EXIT_FAILURE);
|
||||
|
|
|
@ -17,7 +17,7 @@ Please note the semicolons!
|
|||
|
||||
|
||||
For the program to run make sure that the office has access
|
||||
to classes.zip, unoil.jar, jurt.jar, pgp.jar and swingall.jar.
|
||||
to classes.zip, ridl.jar, pgp.jar and swingall.jar.
|
||||
|
||||
Therefore do the necessary entries in
|
||||
Office/user/config/javarc
|
||||
|
@ -30,4 +30,4 @@ The TestPGP is called without ;iiop; :
|
|||
java TestPGP "socket,host=localhost,port=1111"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -98,13 +98,13 @@
|
|||
</p>
|
||||
<p>
|
||||
regcomp -env:UNO_JAVA_JFW_JREHOME=file:///d:/j2re1.4.2
|
||||
-env:"UNO_JAVA_JFW_CLASSPATH=d:\\solver\\bin\\classes.jar;d:\\solver\\bin\\jurt.jar"
|
||||
-env:"UNO_JAVA_JFW_CLASSPATH=d:\\solver\\bin\\classes.jar;d:\\solver\\bin\\ridl.jar"
|
||||
-register...
|
||||
</p>
|
||||
<p>If UNO_JAVA_JFW_VENDOR_SETTINGS is not set then a plugin library must be specified. For example:</p>
|
||||
<p>
|
||||
regcomp -env:UNO_JAVA_JFW_JREHOME=file:///d:/j2re1.4.2
|
||||
-env:"UNO_JAVA_JFW_CLASSPATH=d:\\solver\\bin\\classes.jar;d:\\solver\\bin\\jurt.jar"
|
||||
-env:"UNO_JAVA_JFW_CLASSPATH=d:\\solver\\bin\\classes.jar;d:\\solver\\bin\\ridl.jar"
|
||||
-register...
|
||||
</p>
|
||||
<p>Additional parameters for the Java VM can be provided. For every parameter
|
||||
|
@ -114,7 +114,7 @@
|
|||
regcomp -env:UNO_JAVA_JFW_PARAMETER_1=-Xdebug
|
||||
-env:UNO_JAVA_JFW_PARAMETER_2=-Xrunjdwp:transport=dt_socket,server=y,address=8100
|
||||
-env:UNO_JAVA_JFW_JREHOME=file:///d:/j2re1.4.2
|
||||
-env:"UNO_JAVA_JFW_CLASSPATH=d:\\solver\\bin\\classes.jar;d:\\solver\\bin\\jurt.jar"
|
||||
-env:"UNO_JAVA_JFW_CLASSPATH=d:\\solver\\bin\\classes.jar;d:\\solver\\bin\\ridl.jar"
|
||||
-register...</p>
|
||||
<p>
|
||||
Here is a complete list of the bootstrap parameter for the direct mode:
|
||||
|
|
|
@ -66,7 +66,7 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/$(call gb_Helper_get_
|
|||
&& echo 'URE_MORE_JAVA_CLASSPATH_URLS=$(if $(SYSTEM_HSQLDB),$(HSQLDB_JAR))' \
|
||||
&& echo 'URE_OVERRIDE_JAVA_JFW_SHARED_DATA=$${BRAND_BASE_DIR}/$(LIBO_SHARE_FOLDER)/config/javasettings_$${_OS}_$${_ARCH}.xml' \
|
||||
&& echo 'URE_OVERRIDE_JAVA_JFW_USER_DATA=$${$${BRAND_BASE_DIR}/$(LIBO_ETC_FOLDER)/$(call gb_Helper_get_rcfile,bootstrap):UserInstallation}/user/config/javasettings_$${_OS}_$${_ARCH}.xml' \
|
||||
&& echo 'URE_MORE_JAVA_TYPES=$${BRAND_BASE_DIR}/$(LIBO_SHARE_JAVA_FOLDER)/unoil.jar $${BRAND_BASE_DIR}/$(LIBO_SHARE_JAVA_FOLDER)/ScriptFramework.jar $${$${$$ORIGIN/$(call gb_Helper_get_rcfile,louno):PKG_UserUnoFile}:UNO_JAVA_CLASSPATH} $${$${$$ORIGIN/$(call gb_Helper_get_rcfile,louno):PKG_SharedUnoFile}:UNO_JAVA_CLASSPATH} $${$${$$ORIGIN/$(call gb_Helper_get_rcfile,louno):PKG_BundledUnoFile}:UNO_JAVA_CLASSPATH}' \
|
||||
&& echo 'URE_MORE_JAVA_TYPES=$${BRAND_BASE_DIR}/$(LIBO_SHARE_JAVA_FOLDER)/ridl.jar $${BRAND_BASE_DIR}/$(LIBO_SHARE_JAVA_FOLDER)/ScriptFramework.jar $${$${$$ORIGIN/$(call gb_Helper_get_rcfile,louno):PKG_UserUnoFile}:UNO_JAVA_CLASSPATH} $${$${$$ORIGIN/$(call gb_Helper_get_rcfile,louno):PKG_SharedUnoFile}:UNO_JAVA_CLASSPATH} $${$${$$ORIGIN/$(call gb_Helper_get_rcfile,louno):PKG_BundledUnoFile}:UNO_JAVA_CLASSPATH}' \
|
||||
&& echo 'URE_MORE_SERVICES=$${$${$$ORIGIN/$(call gb_Helper_get_rcfile,louno):PKG_UserUnoFile}:UNO_SERVICES} $${$${$$ORIGIN/$(call gb_Helper_get_rcfile,louno):PKG_SharedUnoFile}:UNO_SERVICES} $${$${$$ORIGIN/$(call gb_Helper_get_rcfile,louno):PKG_BundledUnoFile}:UNO_SERVICES} <$$ORIGIN/services>*' \
|
||||
&& echo 'URE_MORE_TYPES=<$$ORIGIN/types>* $${$${$$ORIGIN/$(call gb_Helper_get_rcfile,louno):PKG_UserUnoFile}:UNO_TYPES} $${$${$$ORIGIN/$(call gb_Helper_get_rcfile,louno):PKG_SharedUnoFile}:UNO_TYPES} $${$${$$ORIGIN/$(call gb_Helper_get_rcfile,louno):PKG_BundledUnoFile}:UNO_TYPES}' \
|
||||
) > $@
|
||||
|
|
|
@ -10,14 +10,12 @@
|
|||
$(eval $(call gb_Jar_Jar,juh))
|
||||
|
||||
$(eval $(call gb_Jar_use_jars,juh,\
|
||||
jurt \
|
||||
ridl \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_set_packageroot,juh,com))
|
||||
|
||||
$(eval $(call gb_Jar_add_manifest_classpath,juh, \
|
||||
jurt.jar \
|
||||
ridl.jar \
|
||||
$(if $(filter MACOSX,$(OS)),../../Frameworks/,../) \
|
||||
))
|
||||
|
|
|
@ -17,7 +17,6 @@ $(eval $(call gb_JunitTest_set_defs,juh,\
|
|||
$(eval $(call gb_JunitTest_use_jars,juh,\
|
||||
OOoRunner \
|
||||
ridl \
|
||||
jurt \
|
||||
))
|
||||
|
||||
$(eval $(call gb_JunitTest_use_jar_classset,juh,ridljar))
|
||||
|
|
|
@ -9,76 +9,8 @@
|
|||
|
||||
$(eval $(call gb_Jar_Jar,jurt))
|
||||
|
||||
$(eval $(call gb_Jar_use_jars,jurt,\
|
||||
ridl \
|
||||
unoloader \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_set_packageroot,jurt,com))
|
||||
|
||||
$(eval $(call gb_Jar_set_manifest,jurt,$(SRCDIR)/jurt/util/manifest))
|
||||
|
||||
$(eval $(call gb_Jar_add_manifest_classpath,jurt, \
|
||||
ridl.jar \
|
||||
unoloader.jar \
|
||||
$(if $(filter MACOSX,$(OS)),../../Frameworks/,../) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_add_sourcefiles,jurt,\
|
||||
jurt/com/sun/star/comp/bridgefactory/BridgeFactory \
|
||||
jurt/com/sun/star/comp/connections/Acceptor \
|
||||
jurt/com/sun/star/comp/connections/Connector \
|
||||
jurt/com/sun/star/comp/connections/ConstantInstanceProvider \
|
||||
jurt/com/sun/star/comp/connections/Implementation \
|
||||
jurt/com/sun/star/comp/connections/PipedConnection \
|
||||
jurt/com/sun/star/comp/loader/FactoryHelper \
|
||||
jurt/com/sun/star/comp/loader/JavaLoader \
|
||||
jurt/com/sun/star/comp/loader/JavaLoaderFactory \
|
||||
jurt/com/sun/star/comp/loader/RegistrationClassFinder \
|
||||
jurt/com/sun/star/comp/servicemanager/ServiceManager \
|
||||
jurt/com/sun/star/comp/urlresolver/UrlResolver \
|
||||
jurt/com/sun/star/lib/connections/pipe/PipeConnection \
|
||||
jurt/com/sun/star/lib/connections/pipe/pipeAcceptor \
|
||||
jurt/com/sun/star/lib/connections/pipe/pipeConnector \
|
||||
jurt/com/sun/star/lib/connections/socket/ConnectionDescriptor \
|
||||
jurt/com/sun/star/lib/connections/socket/SocketConnection \
|
||||
jurt/com/sun/star/lib/connections/socket/socketAcceptor \
|
||||
jurt/com/sun/star/lib/connections/socket/socketConnector \
|
||||
jurt/com/sun/star/lib/uno/Proxy \
|
||||
jurt/com/sun/star/lib/uno/bridges/java_remote/BridgedObject \
|
||||
jurt/com/sun/star/lib/uno/bridges/java_remote/ProxyFactory \
|
||||
jurt/com/sun/star/lib/uno/bridges/java_remote/RequestHandler \
|
||||
jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionInputStream_Adapter \
|
||||
jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionOutputStream_Adapter \
|
||||
jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge \
|
||||
jurt/com/sun/star/lib/uno/environments/java/java_environment \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/IProtocol \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/IReceiver \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/IThreadPool \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPool \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPoolFactory \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/Job \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/JobQueue \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/Message \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/NativeThreadPool \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/ThreadId \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/ThreadPoolManager \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/remote_environment \
|
||||
jurt/com/sun/star/lib/uno/protocols/urp/Cache \
|
||||
jurt/com/sun/star/lib/uno/protocols/urp/Marshal \
|
||||
jurt/com/sun/star/lib/uno/protocols/urp/PendingRequests \
|
||||
jurt/com/sun/star/lib/uno/protocols/urp/Unmarshal \
|
||||
jurt/com/sun/star/lib/uno/protocols/urp/UrpMessage \
|
||||
jurt/com/sun/star/lib/uno/protocols/urp/urp \
|
||||
jurt/com/sun/star/lib/util/AsynchronousFinalizer \
|
||||
jurt/com/sun/star/lib/util/NativeLibraryLoader \
|
||||
jurt/com/sun/star/lib/util/StringHelper \
|
||||
jurt/com/sun/star/lib/util/UrlToFileMapper \
|
||||
jurt/com/sun/star/uno/AnyConverter \
|
||||
jurt/com/sun/star/uno/Ascii \
|
||||
jurt/com/sun/star/uno/AsciiString \
|
||||
jurt/com/sun/star/uno/MappingException \
|
||||
jurt/com/sun/star/uno/WeakReference \
|
||||
))
|
||||
|
||||
# vim:set noet sw=4 ts=4:
|
||||
|
|
|
@ -9,11 +9,13 @@
|
|||
|
||||
$(eval $(call gb_JunitTest_JunitTest,jurt_bridgefactory))
|
||||
|
||||
$(eval $(call gb_JunitTest_use_jars,jurt_bridgefactory,\
|
||||
ridl \
|
||||
$(eval $(call gb_Jar_use_customtargets,jurt_bridgefactory, \
|
||||
ridljar/javamaker \
|
||||
))
|
||||
|
||||
$(eval $(call gb_JunitTest_use_jar_classset,jurt_bridgefactory,jurt))
|
||||
$(eval $(call gb_JunitTest_use_jar_classset,jurt_bridgefactory,ridl))
|
||||
|
||||
$(eval $(call gb_JunitTest_add_classpath,jurt_bridgefactory,$(call gb_CustomTarget_get_workdir,ridljar/javamaker)))
|
||||
|
||||
$(eval $(call gb_JunitTest_add_sourcefiles,jurt_bridgefactory,\
|
||||
jurt/test/com/sun/star/comp/bridgefactory/BridgeFactory_Test \
|
||||
|
|
|
@ -9,11 +9,13 @@
|
|||
|
||||
$(eval $(call gb_JunitTest_JunitTest,jurt_connections))
|
||||
|
||||
$(eval $(call gb_JunitTest_use_jars,jurt_connections,\
|
||||
ridl \
|
||||
$(eval $(call gb_Jar_use_customtargets,jurt_connections, \
|
||||
ridljar/javamaker \
|
||||
))
|
||||
|
||||
$(eval $(call gb_JunitTest_use_jar_classset,jurt_connections,jurt))
|
||||
$(eval $(call gb_JunitTest_use_jar_classset,jurt_connections,ridl))
|
||||
|
||||
$(eval $(call gb_JunitTest_add_classpath,jurt_connections,$(call gb_CustomTarget_get_workdir,ridljar/javamaker)))
|
||||
|
||||
$(eval $(call gb_JunitTest_add_sourcefiles,jurt_connections,\
|
||||
jurt/test/com/sun/star/comp/connections/PipedConnection_Test \
|
||||
|
|
|
@ -9,11 +9,13 @@
|
|||
|
||||
$(eval $(call gb_JunitTest_JunitTest,jurt_java))
|
||||
|
||||
$(eval $(call gb_JunitTest_use_jars,jurt_java,\
|
||||
ridl \
|
||||
$(eval $(call gb_Jar_use_customtargets,jurt_java, \
|
||||
ridljar/javamaker \
|
||||
))
|
||||
|
||||
$(eval $(call gb_JunitTest_use_jar_classset,jurt_java,jurt))
|
||||
$(eval $(call gb_JunitTest_use_jar_classset,jurt_java,ridl))
|
||||
|
||||
$(eval $(call gb_JunitTest_add_classpath,jurt_java,$(call gb_CustomTarget_get_workdir,ridljar/javamaker)))
|
||||
|
||||
$(eval $(call gb_JunitTest_add_sourcefiles,jurt_java,\
|
||||
jurt/test/com/sun/star/lib/uno/environments/java/java_environment_Test \
|
||||
|
|
|
@ -11,10 +11,15 @@ $(eval $(call gb_JunitTest_JunitTest,jurt_java_remote))
|
|||
|
||||
$(eval $(call gb_JunitTest_use_jars,jurt_java_remote,\
|
||||
OOoRunner \
|
||||
ridl \
|
||||
))
|
||||
|
||||
$(eval $(call gb_JunitTest_use_jar_classset,jurt_java_remote,jurt))
|
||||
$(eval $(call gb_Jar_use_customtargets,jurt_java_remote, \
|
||||
ridljar/javamaker \
|
||||
))
|
||||
|
||||
$(eval $(call gb_JunitTest_use_jar_classset,jurt_java_remote,ridl))
|
||||
|
||||
$(eval $(call gb_JunitTest_add_classpath,jurt_java_remote,$(call gb_CustomTarget_get_workdir,ridljar/javamaker)))
|
||||
|
||||
$(eval $(call gb_JunitTest_add_sourcefiles,jurt_java_remote,\
|
||||
jurt/test/com/sun/star/lib/uno/bridges/java_remote/BridgedObject_Test \
|
||||
|
|
|
@ -9,11 +9,13 @@
|
|||
|
||||
$(eval $(call gb_JunitTest_JunitTest,jurt_remote))
|
||||
|
||||
$(eval $(call gb_JunitTest_use_jars,jurt_remote,\
|
||||
ridl \
|
||||
$(eval $(call gb_Jar_use_customtargets,jurt_remote, \
|
||||
ridljar/javamaker \
|
||||
))
|
||||
|
||||
$(eval $(call gb_JunitTest_use_jar_classset,jurt_remote,jurt))
|
||||
$(eval $(call gb_JunitTest_use_jar_classset,jurt_remote,ridl))
|
||||
|
||||
$(eval $(call gb_JunitTest_add_classpath,jurt_remote,$(call gb_CustomTarget_get_workdir,ridljar/javamaker)))
|
||||
|
||||
$(eval $(call gb_JunitTest_add_sourcefiles,jurt_remote,\
|
||||
jurt/test/com/sun/star/lib/uno/environments/remote/JavaThreadPoolFactory_Test \
|
||||
|
|
|
@ -11,13 +11,12 @@ $(eval $(call gb_JunitTest_JunitTest,jurt_urp))
|
|||
|
||||
$(eval $(call gb_JunitTest_use_customtargets,jurt_urp,\
|
||||
jurt/test/com/sun/star/lib/uno/protocols/urp \
|
||||
ridljar/javamaker \
|
||||
))
|
||||
|
||||
$(eval $(call gb_JunitTest_use_jars,jurt_urp,\
|
||||
ridl \
|
||||
))
|
||||
$(eval $(call gb_JunitTest_use_jar_classset,jurt_urp,ridl))
|
||||
|
||||
$(eval $(call gb_JunitTest_use_jar_classset,jurt_urp,jurt))
|
||||
$(eval $(call gb_JunitTest_add_classpath,jurt_urp,$(call gb_CustomTarget_get_workdir,ridljar/javamaker)))
|
||||
|
||||
$(eval $(call gb_JunitTest_add_sourcefiles,jurt_urp,\
|
||||
jurt/test/com/sun/star/lib/uno/protocols/urp/Cache_Test \
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
Sealed: true
|
||||
|
||||
Name: com/sun/star/lib/util/
|
||||
Sealed: false
|
||||
|
||||
Name: com/sun/star/uno/
|
||||
Sealed: false
|
|
@ -29,8 +29,6 @@ $(eval $(call gb_JunitTest_use_jars,linguistic_complex,\
|
|||
ridl \
|
||||
test \
|
||||
test-tools \
|
||||
unoil \
|
||||
jurt \
|
||||
))
|
||||
|
||||
$(eval $(call gb_JunitTest_add_sourcefiles,linguistic_complex,\
|
||||
|
|
|
@ -21,8 +21,6 @@ $(eval $(call gb_Jar_Jar,nlpsolver))
|
|||
|
||||
$(eval $(call gb_Jar_use_jars,nlpsolver,\
|
||||
ridl \
|
||||
unoil \
|
||||
jurt \
|
||||
juh \
|
||||
java_uno \
|
||||
EvolutionarySolver \
|
||||
|
|
|
@ -953,10 +953,7 @@ function writeBatFile(fdir, file)
|
|||
"set OO_SDK_OFFICE_JAVA_DIR=%OFFICE_PROGRAM_PATH%\\classes\n" +
|
||||
"\n" +
|
||||
"REM Set classpath\n" +
|
||||
"set CLASSPATH=%OO_SDK_URE_JAVA_DIR%\\juh.jar;%OO_SDK_URE_JAVA_DIR%\\jurt.jar;%OO_SDK_URE_JAVA_DIR%\\ridl.jar;%OO_SDK_URE_JAVA_DIR%\\unoloader.jar;%OO_SDK_OFFICE_JAVA_DIR%\\unoil.jar\n" +
|
||||
"REM if defined OFFICE_HOME (\n" +
|
||||
"REM set CLASSPATH=%CLASSPATH%;%OO_SDK_OFFICE_JAVA_DIR%\\unoil.jar\n" +
|
||||
"REM )\n" +
|
||||
"set CLASSPATH=%OO_SDK_URE_JAVA_DIR%\\juh.jar;%OO_SDK_URE_JAVA_DIR%\\ridl.jar;%OO_SDK_URE_JAVA_DIR%\\unoloader.jar\n" +
|
||||
"\n" +
|
||||
"REM Add directory of the SDK tools to the path.\n" +
|
||||
"set PATH=%OO_SDK_HOME%\\bin;%OO_SDK_URE_BIN_DIR%;%OO_SDK_OFFICE_BIN_DIR%;%OO_SDK_HOME%\\WINexample.out\\bin;%PATH%\n" +
|
||||
|
|
|
@ -200,7 +200,7 @@ esac
|
|||
PATH=${OO_SDK_HOME}/bin:${OO_SDK_OUT}/${exampleout}/bin:${OO_SDK_URE_BIN_DIR}:${OFFICE_PROGRAM_PATH}:${PATH}
|
||||
|
||||
# Set the classpath
|
||||
CLASSPATH=${OO_SDK_URE_JAVA_DIR}/juh.jar:${OO_SDK_URE_JAVA_DIR}/jurt.jar:${OO_SDK_URE_JAVA_DIR}/ridl.jar:${OO_SDK_URE_JAVA_DIR}/unoloader.jar:${OFFICE_HOME}/$sdk_lo_java_dir/unoil.jar:${CLASSPATH}
|
||||
CLASSPATH=${OO_SDK_URE_JAVA_DIR}/juh.jar:${OO_SDK_URE_JAVA_DIR}/ridl.jar:${OO_SDK_URE_JAVA_DIR}/unoloader.jar:${CLASSPATH}
|
||||
export CLASSPATH
|
||||
|
||||
|
||||
|
|
|
@ -388,10 +388,8 @@
|
|||
<tr valign="top">
|
||||
<td class="cell20">CLASSPATH</td>
|
||||
<td class="cell80">=<i>$OO_SDK_URE_JAVA_DIR/juh.jar;
|
||||
$OO_SDK_URE_JAVA_DIR/jurt.jar;
|
||||
$OO_SDK_URE_JAVA_DIR/ridl.jar;
|
||||
$OO_SDK_URE_JAVA_DIR/unoloader.jar;
|
||||
$OO_SDK_URE_JAVA_DIR/unoil.jar;
|
||||
$CLASSPATH</i><br/>
|
||||
<p>The classpath will be set or extended to
|
||||
the necessary jar files of the specified
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
<path id="office.class.path">
|
||||
<filelist dir="${OFFICE_HOME}/program/classes"
|
||||
files="jurt.jar,unoil.jar,ridl.jar,juh.jar"/>
|
||||
files="ridl.jar,juh.jar"/>
|
||||
</path>
|
||||
|
||||
<fileset id="bootstrap.glue.code" dir="${OO_SDK_HOME}/classes">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# The Contents of this file are made available subject to the terms of
|
||||
# the BSD license.
|
||||
#
|
||||
#
|
||||
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
||||
# All rights reserved.
|
||||
#
|
||||
|
@ -29,7 +29,7 @@
|
|||
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
# TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
#
|
||||
#**************************************************************************
|
||||
|
||||
# Builds the OOoBean of the Developers Guide
|
||||
|
@ -50,10 +50,9 @@ JAVAFILES = \
|
|||
|
||||
CLASSFILES = $(patsubst %.java,$(OUT_COMP_CLASS)/$(PACKAGE)/%.class,$(JAVAFILES))
|
||||
|
||||
SDK_CLASSPATH = $(subst $(EMPTYSTRING) $(PATH_SEPARATOR),$(PATH_SEPARATOR),$(URE_CLASSES_DIR)/jurt.jar\
|
||||
SDK_CLASSPATH = $(subst $(EMPTYSTRING) $(PATH_SEPARATOR),$(PATH_SEPARATOR),\
|
||||
$(PATH_SEPARATOR)$(URE_CLASSES_DIR)/ridl.jar\
|
||||
$(PATH_SEPARATOR)$(URE_CLASSES_DIR)/juh.jar\
|
||||
$(PATH_SEPARATOR)$(OFFICE_CLASSES_DIR)/unoil.jar\
|
||||
$(PATH_SEPARATOR)$(OFFICE_CLASSES_DIR)/officebean.jar\
|
||||
$(PATH_SEPARATOR)$(OUT_COMP_CLASS))
|
||||
|
||||
|
@ -69,7 +68,7 @@ endif
|
|||
|
||||
include $(SETTINGS)/stdtarget.mk
|
||||
|
||||
$(CLASSFILES) : $(JAVAFILES)
|
||||
$(CLASSFILES) : $(JAVAFILES)
|
||||
-$(MKDIR) $(subst /,$(PS),$(@D))
|
||||
javac $(JAVAC_FLAGS) -classpath "$(SDK_CLASSPATH)" -d $(OUT_COMP_CLASS) $(JAVAFILES)
|
||||
|
||||
|
|
|
@ -41,9 +41,7 @@
|
|||
<!-- ==================== classpath setting ============================ -->
|
||||
<target name="init" depends="checksdk,initsdk,initnosdk">
|
||||
<path id="scriptclasspath">
|
||||
<pathelement location="${opp}/classes/unoil.jar"/>
|
||||
<pathelement location="${opp}/classes/ridl.jar"/>
|
||||
<pathelement location="${opp}/classes/jurt.jar"/>
|
||||
<pathelement location="${opp}/classes/juh.jar"/>
|
||||
<pathelement location="${opp}/classes/ScriptFramework.jar"/>
|
||||
</path>
|
||||
|
|
|
@ -41,9 +41,7 @@
|
|||
<!-- ==================== classpath setting ============================ -->
|
||||
<target name="init" depends="checksdk,initsdk,initnosdk">
|
||||
<path id="scriptclasspath">
|
||||
<pathelement location="${opp}/classes/unoil.jar"/>
|
||||
<pathelement location="${opp}/classes/ridl.jar"/>
|
||||
<pathelement location="${opp}/classes/jurt.jar"/>
|
||||
<pathelement location="${opp}/classes/juh.jar"/>
|
||||
<pathelement location="${opp}/classes/ScriptFramework.jar"/>
|
||||
</path>
|
||||
|
|
|
@ -10,9 +10,7 @@
|
|||
<classpathentry kind="lib" path="testdocs/qadevlibs/MyPersistObjectImpl.jar"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="lib" path="../instdir/program/classes/juh.jar"/>
|
||||
<classpathentry kind="lib" path="../instdir/program/classes/jurt.jar"/>
|
||||
<classpathentry kind="lib" path="../instdir/program/classes/ridl.jar"/>
|
||||
<classpathentry kind="lib" path="../instdir/program/classes/unoil.jar"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
|
||||
<classpathentry kind="output" path="../workdir/qadevooo-bin"/>
|
||||
</classpath>
|
||||
|
|
|
@ -15,15 +15,12 @@ $(eval $(call gb_Jar_Jar,OOoRunner))
|
|||
|
||||
$(eval $(call gb_Jar_add_manifest_classpath,OOoRunner,\
|
||||
ridl.jar \
|
||||
unoil.jar \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_set_manifest,OOoRunner,$(SRCDIR)/qadevOOo/runner/manifest))
|
||||
|
||||
$(eval $(call gb_Jar_use_jars,OOoRunner,\
|
||||
ridl \
|
||||
unoil \
|
||||
jurt \
|
||||
juh \
|
||||
java_uno \
|
||||
))
|
||||
|
|
|
@ -12,9 +12,7 @@ $(eval $(call gb_Jar_Jar,reportbuilder))
|
|||
$(eval $(call gb_Jar_use_jars,reportbuilder,\
|
||||
java_uno \
|
||||
juh \
|
||||
jurt \
|
||||
ridl \
|
||||
unoil \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_use_externals,reportbuilder,\
|
||||
|
|
|
@ -11,12 +11,25 @@ $(eval $(call gb_Jar_Jar,ridl))
|
|||
|
||||
$(eval $(call gb_Jar_use_customtargets,ridl,\
|
||||
ridljar/javamaker \
|
||||
unoil/javamaker \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_use_jars,ridl, \
|
||||
unoloader \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_set_packageroot,ridl,com))
|
||||
|
||||
$(eval $(call gb_Jar_set_manifest,ridl,$(SRCDIR)/ridljar/util/manifest))
|
||||
|
||||
$(eval $(call gb_Jar_add_manifest_classpath,ridl, \
|
||||
unoloader.jar \
|
||||
$(if $(filter MACOSX,$(OS)),../../Frameworks/,../) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_add_packagedirs,ridl,\
|
||||
$(call gb_CustomTarget_get_workdir,ridljar/javamaker)/com \
|
||||
$(call gb_CustomTarget_get_workdir,unoil/javamaker)/com \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_add_sourcefiles,ridl,\
|
||||
|
@ -41,6 +54,60 @@ $(eval $(call gb_Jar_add_sourcefiles,ridl,\
|
|||
ridljar/com/sun/star/uno/IQueryInterface \
|
||||
ridljar/com/sun/star/uno/Type \
|
||||
ridljar/com/sun/star/uno/UnoRuntime \
|
||||
jurt/com/sun/star/comp/bridgefactory/BridgeFactory \
|
||||
jurt/com/sun/star/comp/connections/Acceptor \
|
||||
jurt/com/sun/star/comp/connections/Connector \
|
||||
jurt/com/sun/star/comp/connections/ConstantInstanceProvider \
|
||||
jurt/com/sun/star/comp/connections/Implementation \
|
||||
jurt/com/sun/star/comp/connections/PipedConnection \
|
||||
jurt/com/sun/star/comp/loader/FactoryHelper \
|
||||
jurt/com/sun/star/comp/loader/JavaLoader \
|
||||
jurt/com/sun/star/comp/loader/JavaLoaderFactory \
|
||||
jurt/com/sun/star/comp/loader/RegistrationClassFinder \
|
||||
jurt/com/sun/star/comp/servicemanager/ServiceManager \
|
||||
jurt/com/sun/star/comp/urlresolver/UrlResolver \
|
||||
jurt/com/sun/star/lib/connections/pipe/PipeConnection \
|
||||
jurt/com/sun/star/lib/connections/pipe/pipeAcceptor \
|
||||
jurt/com/sun/star/lib/connections/pipe/pipeConnector \
|
||||
jurt/com/sun/star/lib/connections/socket/ConnectionDescriptor \
|
||||
jurt/com/sun/star/lib/connections/socket/SocketConnection \
|
||||
jurt/com/sun/star/lib/connections/socket/socketAcceptor \
|
||||
jurt/com/sun/star/lib/connections/socket/socketConnector \
|
||||
jurt/com/sun/star/lib/uno/Proxy \
|
||||
jurt/com/sun/star/lib/uno/bridges/java_remote/BridgedObject \
|
||||
jurt/com/sun/star/lib/uno/bridges/java_remote/ProxyFactory \
|
||||
jurt/com/sun/star/lib/uno/bridges/java_remote/RequestHandler \
|
||||
jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionInputStream_Adapter \
|
||||
jurt/com/sun/star/lib/uno/bridges/java_remote/XConnectionOutputStream_Adapter \
|
||||
jurt/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge \
|
||||
jurt/com/sun/star/lib/uno/environments/java/java_environment \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/IProtocol \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/IReceiver \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/IThreadPool \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPool \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPoolFactory \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/Job \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/JobQueue \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/Message \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/NativeThreadPool \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/ThreadId \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/ThreadPoolManager \
|
||||
jurt/com/sun/star/lib/uno/environments/remote/remote_environment \
|
||||
jurt/com/sun/star/lib/uno/protocols/urp/Cache \
|
||||
jurt/com/sun/star/lib/uno/protocols/urp/Marshal \
|
||||
jurt/com/sun/star/lib/uno/protocols/urp/PendingRequests \
|
||||
jurt/com/sun/star/lib/uno/protocols/urp/Unmarshal \
|
||||
jurt/com/sun/star/lib/uno/protocols/urp/UrpMessage \
|
||||
jurt/com/sun/star/lib/uno/protocols/urp/urp \
|
||||
jurt/com/sun/star/lib/util/AsynchronousFinalizer \
|
||||
jurt/com/sun/star/lib/util/NativeLibraryLoader \
|
||||
jurt/com/sun/star/lib/util/StringHelper \
|
||||
jurt/com/sun/star/lib/util/UrlToFileMapper \
|
||||
jurt/com/sun/star/uno/AnyConverter \
|
||||
jurt/com/sun/star/uno/Ascii \
|
||||
jurt/com/sun/star/uno/AsciiString \
|
||||
jurt/com/sun/star/uno/MappingException \
|
||||
jurt/com/sun/star/uno/WeakReference \
|
||||
))
|
||||
|
||||
# vim:set noet sw=4 ts=4:
|
||||
|
|
|
@ -49,7 +49,7 @@ public final class UnoClassLoader extends URLClassLoader {
|
|||
* Instantiates the root UNO class loader.
|
||||
*
|
||||
* @param base a base URL relative to which the URE JARs
|
||||
* (<code>java_uno.jar</code>, <code>juh.jar</code>, <code>jurt.jar</code>,
|
||||
* (<code>java_uno.jar</code>, <code>juh.jar</code>,
|
||||
* <code>ridl.jar</code>) can be found; must not be <code>null</code>.
|
||||
*
|
||||
* @param classPath an array of URLs that form the class path of this class
|
||||
|
@ -191,12 +191,11 @@ public final class UnoClassLoader extends URLClassLoader {
|
|||
private static URL[] createUrls(URL base, URL[] classPath)
|
||||
throws MalformedURLException
|
||||
{
|
||||
final int JARS = 4;
|
||||
final int JARS = 3;
|
||||
URL[] urls = new URL[JARS + (classPath == null ? 0 : classPath.length)];
|
||||
urls[0] = new URL(base, "java_uno.jar"); //TODO get rid of it here
|
||||
urls[1] = new URL(base, "juh.jar");
|
||||
urls[2] = new URL(base, "jurt.jar");
|
||||
urls[3] = new URL(base, "ridl.jar");
|
||||
urls[2] = new URL(base, "ridl.jar");
|
||||
if (classPath != null) {
|
||||
System.arraycopy(classPath, 0, urls, JARS, classPath.length);
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ public final class UnoLoader {
|
|||
* Executes a UNO JAR.
|
||||
*
|
||||
* @param base a base URL relative to which the URE JARs
|
||||
* (<code>jurt.jar</code>, <code>ridl.jar</code>, etc.) can be found; must
|
||||
* (<code>ridl.jar</code>, etc.) can be found; must
|
||||
* not be <code>null</code>.
|
||||
*
|
||||
* @param jar the URL of a UNO JAR that specifies a Main-Class; must not be
|
||||
|
|
37
ridljar/util/manifest
Normal file
37
ridljar/util/manifest
Normal file
|
@ -0,0 +1,37 @@
|
|||
Sealed: false
|
||||
|
||||
Name: com/sun/star/comp/bridgefactory/
|
||||
Sealed: true
|
||||
|
||||
Name: com/sun/star/comp/connections/
|
||||
Sealed: true
|
||||
|
||||
Name: com/sun/star/comp/loader/
|
||||
Sealed: true
|
||||
|
||||
Name: com/sun/star/comp/servicemanager/
|
||||
Sealed: true
|
||||
|
||||
Name: com/sun/star/comp/urlresolver/
|
||||
Sealed: true
|
||||
|
||||
Name: com/sun/star/lib/connections/pipe/
|
||||
Sealed: true
|
||||
|
||||
Name: com/sun/star/lib/connections/socket/
|
||||
Sealed: true
|
||||
|
||||
Name: com/sun/star/lib/uno/
|
||||
Sealed: true
|
||||
|
||||
Name: com/sun/star/lib/uno/bridges/java_remote/
|
||||
Sealed: true
|
||||
|
||||
Name: com/sun/star/lib/uno/environments/java/
|
||||
Sealed: true
|
||||
|
||||
Name: com/sun/star/lib/uno/environments/remote/
|
||||
Sealed: true
|
||||
|
||||
Name: com/sun/star/lib/uno/protocols/urp/
|
||||
Sealed: true
|
|
@ -754,7 +754,7 @@ ProfileItem gid_Brand_Profileitem_Fundamental_Ure_More_Java_Types
|
|||
ProfileID = gid_Brand_Profile_Fundamental_Ini;
|
||||
Section = "Bootstrap";
|
||||
Key = "URE_MORE_JAVA_TYPES";
|
||||
Value = "${BRAND_BASE_DIR}/" LIBO_SHARE_JAVA_FOLDER "/unoil.jar ${BRAND_BASE_DIR}/" LIBO_SHARE_JAVA_FOLDER "/ScriptFramework.jar ${${$ORIGIN/" PROFILENAME(louno) ":PKG_UserUnoFile}:UNO_JAVA_CLASSPATH} ${${$ORIGIN/" PROFILENAME(louno) ":PKG_SharedUnoFile}:UNO_JAVA_CLASSPATH} ${${$ORIGIN/" PROFILENAME(louno) ":PKG_BundledUnoFile}:UNO_JAVA_CLASSPATH}";
|
||||
Value = "${BRAND_BASE_DIR}/" LIBO_SHARE_JAVA_FOLDER "/ridl.jar ${BRAND_BASE_DIR}/" LIBO_SHARE_JAVA_FOLDER "/ScriptFramework.jar ${${$ORIGIN/" PROFILENAME(louno) ":PKG_UserUnoFile}:UNO_JAVA_CLASSPATH} ${${$ORIGIN/" PROFILENAME(louno) ":PKG_SharedUnoFile}:UNO_JAVA_CLASSPATH} ${${$ORIGIN/" PROFILENAME(louno) ":PKG_BundledUnoFile}:UNO_JAVA_CLASSPATH}";
|
||||
End
|
||||
|
||||
ProfileItem gid_Brand_Profileitem_Fundamental_Ure_Java_Jfw_Shared_Data
|
||||
|
|
|
@ -11,9 +11,7 @@ $(eval $(call gb_Jar_Jar,HelloWorld))
|
|||
|
||||
$(eval $(call gb_Jar_use_jars,HelloWorld,\
|
||||
juh \
|
||||
jurt \
|
||||
ridl \
|
||||
unoil \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_add_sourcefiles,HelloWorld,\
|
||||
|
|
|
@ -11,9 +11,7 @@ $(eval $(call gb_Jar_Jar,Highlight))
|
|||
|
||||
$(eval $(call gb_Jar_use_jars,Highlight,\
|
||||
juh \
|
||||
jurt \
|
||||
ridl \
|
||||
unoil \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_add_sourcefiles,Highlight,\
|
||||
|
|
|
@ -11,9 +11,7 @@ $(eval $(call gb_Jar_Jar,MemoryUsage))
|
|||
|
||||
$(eval $(call gb_Jar_use_jars,MemoryUsage,\
|
||||
juh \
|
||||
jurt \
|
||||
ridl \
|
||||
unoil \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_add_sourcefiles,MemoryUsage,\
|
||||
|
|
|
@ -11,9 +11,7 @@ $(eval $(call gb_Jar_Jar,ScriptFramework))
|
|||
|
||||
$(eval $(call gb_Jar_use_jars,ScriptFramework,\
|
||||
juh \
|
||||
jurt \
|
||||
ridl \
|
||||
unoil \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_set_componentfile,ScriptFramework,scripting/java/ScriptFramework,OOO))
|
||||
|
|
|
@ -11,9 +11,7 @@ $(eval $(call gb_Jar_Jar,ScriptProviderForBeanShell))
|
|||
|
||||
$(eval $(call gb_Jar_use_jars,ScriptProviderForBeanShell,\
|
||||
juh \
|
||||
jurt \
|
||||
ridl \
|
||||
unoil \
|
||||
ScriptFramework \
|
||||
))
|
||||
|
||||
|
|
|
@ -11,9 +11,7 @@ $(eval $(call gb_Jar_Jar,ScriptProviderForJava))
|
|||
|
||||
$(eval $(call gb_Jar_use_jars,ScriptProviderForJava,\
|
||||
juh \
|
||||
jurt \
|
||||
ridl \
|
||||
unoil \
|
||||
ScriptFramework \
|
||||
))
|
||||
|
||||
|
|
|
@ -11,9 +11,7 @@ $(eval $(call gb_Jar_Jar,ScriptProviderForJavaScript))
|
|||
|
||||
$(eval $(call gb_Jar_use_jars,ScriptProviderForJavaScript,\
|
||||
juh \
|
||||
jurt \
|
||||
ridl \
|
||||
unoil \
|
||||
ScriptFramework \
|
||||
))
|
||||
|
||||
|
|
|
@ -14,16 +14,12 @@ $(eval $(call gb_Jar_set_manifest,TestExtension,$(SRCDIR)/smoketest/com/sun/star
|
|||
|
||||
$(eval $(call gb_Jar_add_manifest_classpath,TestExtension,\
|
||||
juh.jar \
|
||||
jurt.jar \
|
||||
ridl.jar \
|
||||
unoil.jar \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_use_jars,TestExtension,\
|
||||
juh \
|
||||
jurt \
|
||||
ridl \
|
||||
unoil \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_set_packageroot,TestExtension,com))
|
||||
|
|
|
@ -23,7 +23,6 @@ $(eval $(call gb_Jar_set_packageroot,smoketest,org))
|
|||
$(eval $(call gb_Jar_use_jars,smoketest, \
|
||||
juh \
|
||||
ridl \
|
||||
unoil \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
|
|
@ -378,7 +378,7 @@ endef
|
|||
define gb_CppunitTest_use_java_ure
|
||||
$(call gb_CppunitTest_get_target,$(1)) : JAVA_URE := $(true)
|
||||
$(call gb_CppunitTest_get_target,$(1)) : \
|
||||
$(foreach jar,java_uno juh jurt unoil unoloader,$(call gb_Jar_get_target,$(jar))) \
|
||||
$(foreach jar,java_uno juh ridl unoloader,$(call gb_Jar_get_target,$(jar))) \
|
||||
$(call gb_Library_get_target,affine_uno_uno) \
|
||||
$(call gb_Library_get_target,java_uno) \
|
||||
$(call gb_Library_get_target,jpipe) \
|
||||
|
|
|
@ -89,7 +89,7 @@ $(call gb_Jar_get_target,$(1)) :
|
|||
endef
|
||||
|
||||
# resets scoped variables (see explanations where they are set)
|
||||
# creates a class set and a dependency to it
|
||||
# creates a class set and a dependency to it
|
||||
# registers target and clean target
|
||||
# adds jar files to DeliverLogTarget
|
||||
define gb_Jar_Jar
|
||||
|
@ -250,7 +250,7 @@ define gb_Jar_use_external_project
|
|||
$(call gb_JavaClassSet_use_external_project,$(call gb_Jar_get_classsetname,$(1)),$(2))
|
||||
endef
|
||||
|
||||
# possible directories for jar files containing UNO services
|
||||
# possible directories for jar files containing UNO services
|
||||
gb_Jar_COMPONENTPREFIXES := \
|
||||
OOO:vnd.sun.star.expand:\dLO_JAVA_DIR/ \
|
||||
URE:vnd.sun.star.expand:\dURE_INTERNAL_JAVA_DIR/ \
|
||||
|
|
|
@ -117,6 +117,12 @@ $(call gb_JunitTest_get_target,$(1)) : T_CP := $$(T_CP)$$(gb_CLASSPATHSEP)$(call
|
|||
|
||||
endef
|
||||
|
||||
define gb_JunitTest_add_classpath
|
||||
$(call gb_JavaClassSet_add_classpath,$(call gb_JunitTest_get_classsetname,$(1)),$(2))
|
||||
$(call gb_JunitTest_get_target,$(1)) : T_CP := $$(T_CP)$$(gb_CLASSPATHSEP)$(2)
|
||||
|
||||
endef
|
||||
|
||||
define gb_JunitTest_use_system_jar
|
||||
$(call gb_JavaClassSet_use_system_jar,$(call gb_JunitTest_get_classsetname,$(1)),$(2))
|
||||
|
||||
|
@ -155,10 +161,8 @@ endef
|
|||
define gb_JunitTest_use_unoapi_jars
|
||||
$(eval $(call gb_JunitTest_use_jars,$(1),\
|
||||
OOoRunner \
|
||||
jurt \
|
||||
ridl \
|
||||
test \
|
||||
unoil \
|
||||
))
|
||||
|
||||
endef
|
||||
|
|
|
@ -16,9 +16,7 @@ $(eval $(call gb_Jar_set_manifest,mediawiki,$(SRCDIR)/swext/mediawiki/src/com/su
|
|||
|
||||
$(eval $(call gb_Jar_use_jars,mediawiki,\
|
||||
juh \
|
||||
jurt \
|
||||
ridl \
|
||||
unoil \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_add_sourcefiles,mediawiki,\
|
||||
|
|
|
@ -39,7 +39,7 @@ $(testtools_BRIDGEDIR)/bridgetest_server$(testtools_BATCHSUFFIX) :| $(testtools_
|
|||
$(if $(filter-out WNT,$(OS)),chmod +x $@)
|
||||
|
||||
|
||||
testtools_MY_CLASSPATH := $(call gb_Jar_get_target,ridl)$(gb_CLASSPATHSEP)$(call gb_Jar_get_target,java_uno)$(gb_CLASSPATHSEP)$(call gb_Jar_get_target,jurt)$(gb_CLASSPATHSEP)$(call gb_Jar_get_target,juh)
|
||||
testtools_MY_CLASSPATH := $(call gb_Jar_get_target,ridl)$(gb_CLASSPATHSEP)$(call gb_Jar_get_target,java_uno)$(gb_CLASSPATHSEP)$(call gb_Jar_get_target,juh)
|
||||
|
||||
$(testtools_BRIDGEDIR)/bridgetest_javaserver$(testtools_BATCHSUFFIX) :| $(testtools_BRIDGEDIR)/.dir
|
||||
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,1)
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
$(eval $(call gb_Jar_Jar,testComponent))
|
||||
|
||||
$(eval $(call gb_Jar_use_jars,testComponent,\
|
||||
jurt \
|
||||
ridl \
|
||||
juh \
|
||||
))
|
||||
|
|
|
@ -22,7 +22,6 @@ $(eval $(call gb_JunitTest_use_jars,toolkit_complex,\
|
|||
OOoRunner \
|
||||
ridl \
|
||||
test \
|
||||
unoil \
|
||||
))
|
||||
|
||||
$(eval $(call gb_JunitTest_add_sourcefiles,toolkit_complex,\
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Manifest-Version: 1.0
|
||||
Main-Class: AccessibilityWorkBench
|
||||
Class-Path: classes.jar ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar xt.jar xml-apis.jar
|
||||
Class-Path: classes.jar ridl.jar juh.jar java_uno.jar xt.jar xml-apis.jar
|
||||
|
|
|
@ -9,12 +9,8 @@
|
|||
|
||||
$(eval $(call gb_Jar_Jar,unoil))
|
||||
|
||||
$(eval $(call gb_Jar_use_customtargets,unoil,\
|
||||
unoil/javamaker \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_add_packagedirs,unoil,\
|
||||
$(call gb_CustomTarget_get_workdir,unoil/javamaker)/com \
|
||||
$(eval $(call gb_Jar_add_manifest_classpath,unoil, \
|
||||
ridl.jar \
|
||||
))
|
||||
|
||||
# vim:set noet sw=4 ts=4:
|
||||
|
|
|
@ -13,13 +13,11 @@ $(eval $(call gb_Jar_Jar,test-tools))
|
|||
$(eval $(call gb_Jar_add_manifest_classpath,test-tools,\
|
||||
juh.jar \
|
||||
ridl.jar \
|
||||
unoil.jar \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_use_jars,test-tools,\
|
||||
juh \
|
||||
ridl \
|
||||
unoil \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_set_packageroot,test-tools,org))
|
||||
|
|
|
@ -13,13 +13,11 @@ $(eval $(call gb_Jar_Jar,test))
|
|||
$(eval $(call gb_Jar_add_manifest_classpath,test,\
|
||||
$(call gb_Helper_make_url,$(call gb_Jar_get_target,juh)) \
|
||||
$(call gb_Helper_make_url,$(call gb_Jar_get_target,ridl)) \
|
||||
$(call gb_Helper_make_url,$(call gb_Jar_get_target,unoil)) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Jar_use_jars,test,\
|
||||
juh \
|
||||
ridl \
|
||||
unoil \
|
||||
OOoRunner \
|
||||
))
|
||||
|
||||
|
|
|
@ -186,8 +186,10 @@ functionality that these libraries offer, see the "C++ Reference" section of the
|
|||
SDK HTML documentation. The corresponding C++ header files are not in the URE,
|
||||
but rather in the SDK.
|
||||
|
||||
- unoloader.jar, juh.jar, jurt.jar, and ridl.jar are the public Java UNO runtime
|
||||
Java[tm] Archives (JARs) that client code can call. For details on the
|
||||
- unoloader.jar, juh.jar, and ridl.jar are the public Java UNO runtime
|
||||
Java[tm] Archives (JARs) that client code can call (jurt.jar is still provided
|
||||
for backwards compatibility, but is basically empty and has been merged into
|
||||
ridl.jar). For details on the
|
||||
functionality that these files offer, see the "Java UNO Runtime Reference"
|
||||
section of the SDK HTML documentation.
|
||||
|
||||
|
|
|
@ -143,7 +143,7 @@ out.pln/class/javamain/test/java/javamain/JavaMain.class: JavaMain.java \
|
|||
rm -rf out.pln/class/javamain
|
||||
mkdir out.pln/class/javamain
|
||||
javac -classpath \
|
||||
$(URE_HOME)/program/classes/jurt.jar:$(URE_HOME)/program/classes/ridl.jar:out.pln/tester.jar \
|
||||
$(URE_HOME)/program/classes/ridl.jar:out.pln/tester.jar \
|
||||
-sourcepath . -d out.pln/class/javamain $<
|
||||
|
||||
|
||||
|
@ -194,7 +194,7 @@ out.pln/class/javatest/test/java/javatest/JavaTest.class: JavaTest.java \
|
|||
rm -rf out.pln/class/javatest
|
||||
mkdir out.pln/class/javatest
|
||||
javac -classpath \
|
||||
$(URE_HOME)/program/classes/jurt.jar:$(URE_HOME)/program/classes/ridl.jar:out.pln/types.jar \
|
||||
$(URE_HOME)/program/classes/ridl.jar:out.pln/types.jar \
|
||||
-sourcepath . -d out.pln/class/javatest $<
|
||||
|
||||
|
||||
|
|
|
@ -21,8 +21,6 @@ $(eval $(call gb_Jar_Jar,commonwizards))
|
|||
|
||||
$(eval $(call gb_Jar_use_jars,commonwizards,\
|
||||
ridl \
|
||||
unoil \
|
||||
jurt \
|
||||
juh \
|
||||
java_uno \
|
||||
))
|
||||
|
|
|
@ -21,8 +21,6 @@ $(eval $(call gb_Jar_Jar,form))
|
|||
|
||||
$(eval $(call gb_Jar_use_jars,form,\
|
||||
ridl \
|
||||
unoil \
|
||||
jurt \
|
||||
juh \
|
||||
java_uno \
|
||||
commonwizards \
|
||||
|
|
|
@ -21,8 +21,6 @@ $(eval $(call gb_Jar_Jar,query))
|
|||
|
||||
$(eval $(call gb_Jar_use_jars,query,\
|
||||
ridl \
|
||||
unoil \
|
||||
jurt \
|
||||
juh \
|
||||
java_uno \
|
||||
commonwizards \
|
||||
|
|
|
@ -21,8 +21,6 @@ $(eval $(call gb_Jar_Jar,report))
|
|||
|
||||
$(eval $(call gb_Jar_use_jars,report,\
|
||||
ridl \
|
||||
unoil \
|
||||
jurt \
|
||||
juh \
|
||||
java_uno \
|
||||
commonwizards \
|
||||
|
|
|
@ -21,8 +21,6 @@ $(eval $(call gb_Jar_Jar,reportbuilderwizard))
|
|||
|
||||
$(eval $(call gb_Jar_use_jars,reportbuilderwizard,\
|
||||
ridl \
|
||||
unoil \
|
||||
jurt \
|
||||
juh \
|
||||
java_uno \
|
||||
commonwizards \
|
||||
|
|
|
@ -21,8 +21,6 @@ $(eval $(call gb_Jar_Jar,table))
|
|||
|
||||
$(eval $(call gb_Jar_use_jars,table,\
|
||||
ridl \
|
||||
unoil \
|
||||
jurt \
|
||||
juh \
|
||||
java_uno \
|
||||
commonwizards \
|
||||
|
|
|
@ -18,9 +18,7 @@ $(eval $(call gb_Jar_set_packageroot,XMergeBridge,*.class))
|
|||
|
||||
$(eval $(call gb_Jar_use_jars,XMergeBridge,\
|
||||
xmerge \
|
||||
unoil \
|
||||
ridl \
|
||||
jurt \
|
||||
juh \
|
||||
))
|
||||
|
||||
|
|
|
@ -13,9 +13,7 @@ $(eval $(call gb_Jar_Jar,xmerge))
|
|||
$(eval $(call gb_Jar_set_manifest,xmerge,$(SRCDIR)/xmerge/source/xmerge/xmerge.mf))
|
||||
|
||||
$(eval $(call gb_Jar_use_jars,xmerge,\
|
||||
unoil \
|
||||
ridl \
|
||||
jurt \
|
||||
juh \
|
||||
))
|
||||
|
||||
|
|
Loading…
Reference in a new issue