Age | Commit message (Collapse) | Author |
|
Add a java module named "org.libreoffice.unoloader" for this jar.
Require this module from org.libreoffice.uno
(libreoffice.jar has unoloader.jar in its classpath,
so add the same dependency to the modules)
Change-Id: I7471d65ac7a0d2c6a11c002027a21f0c441dd1f2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94419
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
|
|
Add a java module named "org.libreoffice.uno" for this jar.
This needs to be compiled with Java 9.
But since we want to keep b/c with Java 8,
the rest of the jar has to be compiled with Java 8.
This bumps the *build* requirement to Java 9 while keeping
the *runtime* requirement at Java 8.
The gbuild JavaClassSet class is changed to invoke javac twice,
where the 2nd invocation compiles with --release 9 and a --patch-modules
argument so that it finds the results of the first invocation and also
the javamaker generated files in CustomTargets.
Change-Id: I888f5dbe097cc37136e68db5919939877c981862
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91105
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
|
|
This moves the classes from juh.jar and ridl.jar to libreoffice.jar
The goal is to have one single jar (and Java module, will be added later)
which developers can include to work with LO.
juh.jar and ridl.jar are kept as basically empty jars with libreoffice.jar
on its classpath to keep backwards compatibility.
This is a continuation of ae855bf48163ff64d94cfc34aff8e37abdb5518d
and a preparation to have Java 9 module support.
Change-Id: Ifbbfb97f60373d14256e62ae3122913bd17d5bbb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91930
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
|
|
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>
|
|
Set up the toolchain to create sources and javadocs artifacts in
addition to JARs created during the build. Use Buck build tool for
that: [1]. This is a fork of Google's build tool Blaze, created by
Xooglers at Facebook. This build tool (like Blaze itself) uses
Python to write build files.
Add needed tools and build files to install LibreOffice API artifacts
to local Maven repository or deploy them to Maven Central.
To build all needed artifacts LibreOffice must be built regularly
with GNU make first. To build the rest of the API (sources and
javadocs):
$> buck build api
To replace version number with upcoming release version:
$> solenv/bin/version.py 5.1.0
To install the API to local Maven repository:
$> buck build api_install
To deploy the API to Maven Central:
$> buck build api_deploy
Detailed documentation is added to document the prerequisites and
the workflow to upload LibreOffice API to Maven Central.
* [1] https://buckbuild.com
Change-Id: Ibdd552a01110836703bc069abe829b9921491cac
Reviewed-on: https://gerrit.libreoffice.org/20343
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
|
|
Note that WeakMap no longer extends Map, because it does not conform
to the generic Map interface.
Change-Id: I72ea681528c932d84c95f095434e1dc95b0a3d16
|
|
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
|
|
|
|
|
|
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
|
|
2008/03/31 07:25:37 rt 1.5.34.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:25:37 rt 1.7.16.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:25:37 rt 1.5.16.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:25:37 rt 1.3.50.1: #i87441# Change license header to LPGL v3.
|
|
|
|
2007/01/25 13:25:22 sb 1.4.24.1: #i72612# Creating a class loader should be done priviliged.
|
|
2006/03/13 10:38:15 sb 1.2.4.3: RESYNC: (1.3-1.4); FILE MERGED
2005/09/22 04:13:21 sb 1.2.4.2: RESYNC: (1.2-1.3); FILE MERGED
2005/07/11 13:24:40 sb 1.2.4.1: #i51803# Changed parameters of UnoClassLoader ctor, to specifiy a per-UnoClassLoader classpath.
|
|
2006/03/14 14:33:15 sb 1.2.4.4: #i51803# Reverted additional ctor introduced in 1.4, which is not used until now, and is obsoleted by the classPath parameter of the other ctor; marked the class as internal again.
2006/03/13 10:38:08 sb 1.2.4.3: RESYNC: (1.3-1.4); FILE MERGED
2005/09/22 04:13:04 sb 1.2.4.2: RESYNC: (1.2-1.3); FILE MERGED
2005/07/11 13:24:40 sb 1.2.4.1: #i51803# Changed parameters of UnoClassLoader ctor, to specifiy a per-UnoClassLoader classpath.
|
|
2006/07/10 14:35:32 sb 1.4.20.1: #i66004# More robust now.
|
|
2005/10/27 13:12:19 sb 1.3.4.1: #i56785# Fixed @since tag.
|
|
2005/10/27 13:12:01 sb 1.3.4.1: #i56785# Added ctor with extraTypes; fixed @since tag.
|
|
2005/09/05 13:57:00 rt 1.3.4.1: #i54170# Change license header: remove SISSL
|
|
2005/09/05 13:56:59 rt 1.2.8.1: #i54170# Change license header: remove SISSL
|
|
2005/06/29 12:32:17 sb 1.2.2.1: #i51194# Make sure build works w/o SOLAR_JAVA (patch supplied by kendy).
|
|
2005/04/29 10:25:41 sb 1.1.2.1: #120220# Generate javadoc for unoloader.jar; this required some files to be moved from source/unoloader to source/unoloader/com/sun/star/lib/unoloader.
|
|
2005/04/29 10:25:25 sb 1.1.2.1: #120220# Generate javadoc for unoloader.jar; this required some files to be moved from source/unoloader to source/unoloader/com/sun/star/lib/unoloader.
|
|
2005/04/29 10:24:51 sb 1.1.2.1: #120220# Generate javadoc for unoloader.jar; this required some files to be moved from source/unoloader to source/unoloader/com/sun/star/lib/unoloader.
|
|
2005/05/03 12:28:35 sb 1.1.2.2: #121392# Excluded jut.jar from URE.
2005/04/29 10:25:09 sb 1.1.2.1: #120220# Generate javadoc for unoloader.jar; this required some files to be moved from source/unoloader to source/unoloader/com/sun/star/lib/unoloader.
|
|
2005/04/29 10:22:13 sb 1.1.2.4: #120220# Generate javadoc for unoloader.jar; this required some files to be moved from source/unoloader to source/unoloader/com/sun/star/lib/unoloader.
2005/04/21 13:32:02 sb 1.1.2.3: #120220# Reworked unoloader.jar: UnoLoader.execute to launch applications; UNO-Type-Path for type JARs; no need to include unoil.jar any longer.
2005/04/07 13:49:13 sb 1.1.2.2: #120220# Fixed copyright statement.
2005/04/07 12:24:54 sb 1.1.2.1: #120220# Added unoloader.jar.
|
|
2005/04/29 10:22:50 sb 1.1.2.1: #120220# Generate javadoc for unoloader.jar.
|