Get rid of apache-commons-logging
...using Java 1.4 java.util.logging.Logger instead also for the last remaining
uses in reportbuilder.
(The mention in swext/mediawiki/src/THIRDPARTYLICENSEREADME.html was presumably
a leftover from 4b6ceed4a4
"swext: Wiki Publisher
does not use those apache-commons libraries".)
Change-Id: Ia0bc598fe5844ced11cae497548ec7d09453a99d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113939
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
@@ -101,7 +101,6 @@ $(WORKDIR)/download: $(BUILDDIR)/config_$(gb_Side).mk $(SRCDIR)/download.lst $(S
|
|||||||
@date >> $(fetch_LOGFILE)
|
@date >> $(fetch_LOGFILE)
|
||||||
$(foreach item, \
|
$(foreach item, \
|
||||||
$(call fetch_Optional,ABW,ABW_TARBALL) \
|
$(call fetch_Optional,ABW,ABW_TARBALL) \
|
||||||
$(call fetch_Optional,APACHE_COMMONS,APACHE_COMMONS_LOGGING_TARBALL) \
|
|
||||||
$(call fetch_Optional,APR,APR_TARBALL) \
|
$(call fetch_Optional,APR,APR_TARBALL) \
|
||||||
$(call fetch_Optional,APR,APR_UTIL_TARBALL) \
|
$(call fetch_Optional,APR,APR_UTIL_TARBALL) \
|
||||||
$(call fetch_Optional,BOOST,BOOST_TARBALL) \
|
$(call fetch_Optional,BOOST,BOOST_TARBALL) \
|
||||||
|
@@ -3723,32 +3723,6 @@ endif # SYSTEM_RHINO
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(SYSTEM_APACHE_COMMONS),)
|
|
||||||
|
|
||||||
define gb_Jar__use_commons-logging
|
|
||||||
$(call gb_Jar_use_system_jar,$(1),$(COMMONS_LOGGING_JAR))
|
|
||||||
endef
|
|
||||||
gb_ExternalProject__use_commons-logging :=
|
|
||||||
|
|
||||||
else # !SYSTEM_APACHE_COMMONS
|
|
||||||
|
|
||||||
ifeq ($(ENABLE_JAVA),TRUE)
|
|
||||||
$(eval $(call gb_Helper_register_jars_for_install,OOO,reportbuilder,\
|
|
||||||
commons-logging-$(COMMONS_LOGGING_VERSION) \
|
|
||||||
))
|
|
||||||
endif
|
|
||||||
|
|
||||||
define gb_Jar__use_commons-logging
|
|
||||||
$(call gb_Jar_use_external_project,$(1),apache_commons_logging)
|
|
||||||
$(call gb_Jar_use_jar,$(1),commons-logging-$(COMMONS_LOGGING_VERSION))
|
|
||||||
endef
|
|
||||||
define gb_ExternalProject__use_commons-logging
|
|
||||||
$(call gb_ExternalProject_use_external_project,$(1),apache_commons_logging)
|
|
||||||
endef
|
|
||||||
|
|
||||||
endif # SYSTEM_APACHE_COMMONS
|
|
||||||
|
|
||||||
|
|
||||||
ifneq ($(SYSTEM_JFREEREPORT),)
|
ifneq ($(SYSTEM_JFREEREPORT),)
|
||||||
|
|
||||||
define gb_Jar__use_flow-engine
|
define gb_Jar__use_flow-engine
|
||||||
|
@@ -76,8 +76,6 @@ export CLUCENE_LIBS=$(gb_SPACE)@CLUCENE_LIBS@
|
|||||||
export LIBCMIS_CFLAGS=$(gb_SPACE)@LIBCMIS_CFLAGS@
|
export LIBCMIS_CFLAGS=$(gb_SPACE)@LIBCMIS_CFLAGS@
|
||||||
export LIBCMIS_LIBS=$(gb_SPACE)@LIBCMIS_LIBS@
|
export LIBCMIS_LIBS=$(gb_SPACE)@LIBCMIS_LIBS@
|
||||||
export COM=@COM@
|
export COM=@COM@
|
||||||
export COMMONS_LOGGING_JAR=@COMMONS_LOGGING_JAR@
|
|
||||||
export COMMONS_LOGGING_VERSION=@COMMONS_LOGGING_VERSION@
|
|
||||||
export COMPATH=@COMPATH@
|
export COMPATH=@COMPATH@
|
||||||
export COMPILER_PLUGINS=@COMPILER_PLUGINS@
|
export COMPILER_PLUGINS=@COMPILER_PLUGINS@
|
||||||
export COMPILER_PLUGINS_ANALYZER_PCH=@COMPILER_PLUGINS_ANALYZER_PCH@
|
export COMPILER_PLUGINS_ANALYZER_PCH=@COMPILER_PLUGINS_ANALYZER_PCH@
|
||||||
@@ -543,7 +541,6 @@ export STRIP=@STRIP@
|
|||||||
export STRIP_COMPONENTS=@STRIP_COMPONENTS@
|
export STRIP_COMPONENTS=@STRIP_COMPONENTS@
|
||||||
export SYSBASE=@SYSBASE@
|
export SYSBASE=@SYSBASE@
|
||||||
export SYSTEM_ABW=@SYSTEM_ABW@
|
export SYSTEM_ABW=@SYSTEM_ABW@
|
||||||
export SYSTEM_APACHE_COMMONS=@SYSTEM_APACHE_COMMONS@
|
|
||||||
export SYSTEM_APR=@SYSTEM_APR@
|
export SYSTEM_APR=@SYSTEM_APR@
|
||||||
export SYSTEM_BLUEZ=@SYSTEM_BLUEZ@
|
export SYSTEM_BLUEZ=@SYSTEM_BLUEZ@
|
||||||
export SYSTEM_BOOST=@SYSTEM_BOOST@
|
export SYSTEM_BOOST=@SYSTEM_BOOST@
|
||||||
|
40
configure.ac
40
configure.ac
@@ -2053,11 +2053,6 @@ AC_ARG_WITH(system-gpgmepp,
|
|||||||
[Use gpgmepp already on system]),,
|
[Use gpgmepp already on system]),,
|
||||||
[with_system_gpgmepp="$with_system_libs"])
|
[with_system_gpgmepp="$with_system_libs"])
|
||||||
|
|
||||||
AC_ARG_WITH(system-apache-commons,
|
|
||||||
AS_HELP_STRING([--with-system-apache-commons],
|
|
||||||
[Use Apache commons libraries already on system.]),,
|
|
||||||
[with_system_apache_commons="$with_system_jars"])
|
|
||||||
|
|
||||||
AC_ARG_WITH(system-mariadb,
|
AC_ARG_WITH(system-mariadb,
|
||||||
AS_HELP_STRING([--with-system-mariadb],
|
AS_HELP_STRING([--with-system-mariadb],
|
||||||
[Use MariaDB/MySQL libraries already on system.]),,
|
[Use MariaDB/MySQL libraries already on system.]),,
|
||||||
@@ -2135,11 +2130,6 @@ AC_ARG_WITH(rhino-jar,
|
|||||||
[Specify path to jarfile manually.]),
|
[Specify path to jarfile manually.]),
|
||||||
RHINO_JAR=$withval)
|
RHINO_JAR=$withval)
|
||||||
|
|
||||||
AC_ARG_WITH(commons-logging-jar,
|
|
||||||
AS_HELP_STRING([--with-commons-logging-jar=JARFILE],
|
|
||||||
[Specify path to jarfile manually.]),
|
|
||||||
COMMONS_LOGGING_JAR=$withval)
|
|
||||||
|
|
||||||
AC_ARG_WITH(system-jfreereport,
|
AC_ARG_WITH(system-jfreereport,
|
||||||
AS_HELP_STRING([--with-system-jfreereport],
|
AS_HELP_STRING([--with-system-jfreereport],
|
||||||
[Use JFreeReport already on system.]),,
|
[Use JFreeReport already on system.]),,
|
||||||
@@ -12317,36 +12307,6 @@ AC_SUBST(LIBREPOSITORY_JAR)
|
|||||||
AC_SUBST(LIBFONTS_JAR)
|
AC_SUBST(LIBFONTS_JAR)
|
||||||
AC_SUBST(LIBSERIALIZER_JAR)
|
AC_SUBST(LIBSERIALIZER_JAR)
|
||||||
|
|
||||||
# this has to be here because both the Wiki Publisher and the SRB use
|
|
||||||
# commons-logging
|
|
||||||
COMMONS_LOGGING_VERSION=1.2
|
|
||||||
if test "$ENABLE_REPORTBUILDER" = "TRUE"; then
|
|
||||||
AC_MSG_CHECKING([which Apache commons-* libs to use])
|
|
||||||
if test "$with_system_apache_commons" = "yes"; then
|
|
||||||
SYSTEM_APACHE_COMMONS=TRUE
|
|
||||||
AC_MSG_RESULT([external])
|
|
||||||
if test -z $COMMONS_LOGGING_JAR; then
|
|
||||||
if test -f /usr/share/java/commons-logging-${COMMONS_LOGGING_VERSION}.jar; then
|
|
||||||
COMMONS_LOGGING_JAR=/usr/share/java/commons-logging-${COMMONS_LOGGING_VERSION}.jar
|
|
||||||
elif test -f /usr/share/java/commons-logging.jar; then
|
|
||||||
COMMONS_LOGGING_JAR=/usr/share/java/commons-logging.jar
|
|
||||||
else
|
|
||||||
AC_MSG_ERROR(commons-logging.jar replacement not found.)
|
|
||||||
fi
|
|
||||||
elif ! test -f $COMMONS_LOGGING_JAR; then
|
|
||||||
AC_MSG_ERROR(commons-logging.jar not found.)
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT([internal])
|
|
||||||
SYSTEM_APACHE_COMMONS=
|
|
||||||
BUILD_TYPE="$BUILD_TYPE APACHE_COMMONS"
|
|
||||||
NEED_ANT=TRUE
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
AC_SUBST(SYSTEM_APACHE_COMMONS)
|
|
||||||
AC_SUBST(COMMONS_LOGGING_JAR)
|
|
||||||
AC_SUBST(COMMONS_LOGGING_VERSION)
|
|
||||||
|
|
||||||
# scripting provider for BeanShell?
|
# scripting provider for BeanShell?
|
||||||
AC_MSG_CHECKING([whether to build support for scripts in BeanShell])
|
AC_MSG_CHECKING([whether to build support for scripts in BeanShell])
|
||||||
if test "${enable_scripting_beanshell}" != "no" -a "x$with_java" != "xno"; then
|
if test "${enable_scripting_beanshell}" != "no" -a "x$with_java" != "xno"; then
|
||||||
|
@@ -10,7 +10,6 @@
|
|||||||
--without-export-validation
|
--without-export-validation
|
||||||
--without-junit
|
--without-junit
|
||||||
--without-lxml
|
--without-lxml
|
||||||
--without-system-apache-commons
|
|
||||||
--without-system-beanshell
|
--without-system-beanshell
|
||||||
--without-system-bluez
|
--without-system-bluez
|
||||||
--without-system-boost
|
--without-system-boost
|
||||||
|
@@ -5,8 +5,6 @@
|
|||||||
|
|
||||||
export ABW_SHA256SUM := e763a9dc21c3d2667402d66e202e3f8ef4db51b34b79ef41f56cacb86dcd6eed
|
export ABW_SHA256SUM := e763a9dc21c3d2667402d66e202e3f8ef4db51b34b79ef41f56cacb86dcd6eed
|
||||||
export ABW_TARBALL := libabw-0.1.3.tar.xz
|
export ABW_TARBALL := libabw-0.1.3.tar.xz
|
||||||
export APACHE_COMMONS_LOGGING_SHA256SUM := 49665da5a60d033e6dff40fe0a7f9173e886ae859ce6096c1afe34c48b677c81
|
|
||||||
export APACHE_COMMONS_LOGGING_TARBALL := commons-logging-1.2-src.tar.gz
|
|
||||||
export APR_SHA256SUM := 1af06e1720a58851d90694a984af18355b65bb0d047be03ec7d659c746d6dbdb
|
export APR_SHA256SUM := 1af06e1720a58851d90694a984af18355b65bb0d047be03ec7d659c746d6dbdb
|
||||||
export APR_TARBALL := apr-1.5.2.tar.gz
|
export APR_TARBALL := apr-1.5.2.tar.gz
|
||||||
export APR_UTIL_SHA256SUM := 976a12a59bc286d634a21d7be0841cc74289ea9077aa1af46be19d1a6e844c19
|
export APR_UTIL_SHA256SUM := 976a12a59bc286d634a21d7be0841cc74289ea9077aa1af46be19d1a6e844c19
|
||||||
|
1
external/Module_external.mk
vendored
1
external/Module_external.mk
vendored
@@ -16,7 +16,6 @@ endif
|
|||||||
$(eval $(call gb_Module_add_moduledirs,external,\
|
$(eval $(call gb_Module_add_moduledirs,external,\
|
||||||
$(call gb_Helper_optional,XMLSEC,xmlsec) \
|
$(call gb_Helper_optional,XMLSEC,xmlsec) \
|
||||||
$(call gb_Helper_optional,ABW,libabw) \
|
$(call gb_Helper_optional,ABW,libabw) \
|
||||||
$(call gb_Helper_optional,APACHE_COMMONS,apache-commons) \
|
|
||||||
$(call gb_Helper_optional,APR,apr) \
|
$(call gb_Helper_optional,APR,apr) \
|
||||||
$(call gb_Helper_optional,BOOST,boost) \
|
$(call gb_Helper_optional,BOOST,boost) \
|
||||||
$(call gb_Helper_optional,BOX2D,box2d) \
|
$(call gb_Helper_optional,BOX2D,box2d) \
|
||||||
|
@@ -1,16 +0,0 @@
|
|||||||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
||||||
#
|
|
||||||
# This file is part of the LibreOffice project.
|
|
||||||
#
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
#
|
|
||||||
|
|
||||||
$(eval $(call gb_ExternalPackage_ExternalPackage,apache_commons_logging,apache_commons_logging))
|
|
||||||
|
|
||||||
$(eval $(call gb_ExternalPackage_use_external_project,apache_commons_logging,apache_commons_logging))
|
|
||||||
|
|
||||||
$(eval $(call gb_ExternalPackage_add_file,apache_commons_logging,$(LIBO_SHARE_JAVA_FOLDER)/commons-logging-$(COMMONS_LOGGING_VERSION).jar,target/commons-logging-$(COMMONS_LOGGING_VERSION).jar))
|
|
||||||
|
|
||||||
# vim: set noet sw=4 ts=4:
|
|
@@ -1,32 +0,0 @@
|
|||||||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
||||||
#
|
|
||||||
# This file is part of the LibreOffice project.
|
|
||||||
#
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
#
|
|
||||||
|
|
||||||
$(eval $(call gb_ExternalProject_ExternalProject,apache_commons_logging))
|
|
||||||
|
|
||||||
$(eval $(call gb_ExternalProject_register_targets,apache_commons_logging,\
|
|
||||||
build \
|
|
||||||
))
|
|
||||||
|
|
||||||
$(call gb_ExternalProject_get_state_target,apache_commons_logging,build) :
|
|
||||||
$(call gb_Trace_StartRange,apache_commons_logging,EXTERNAL)
|
|
||||||
$(call gb_ExternalProject_run,build,\
|
|
||||||
JAVA_HOME=$(JAVA_HOME_FOR_BUILD) \
|
|
||||||
ANT_OPTS="$$ANT_OPTS -Dfile.encoding=ISO-8859-1" \
|
|
||||||
$(ICECREAM_RUN) "$(ANT)" \
|
|
||||||
$(if $(verbose),-v,-q) \
|
|
||||||
-f build.xml \
|
|
||||||
-Dbuild.label="build-$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)" \
|
|
||||||
-Dant.build.javac.source=$(JAVA_SOURCE_VER) \
|
|
||||||
-Dant.build.javac.target=$(JAVA_TARGET_VER) \
|
|
||||||
$(if $(debug),-Dcompile.debug="true",-Dcompile.debug="false") \
|
|
||||||
compile build-jar \
|
|
||||||
)
|
|
||||||
$(call gb_Trace_EndRange,apache_commons_logging,EXTERNAL)
|
|
||||||
|
|
||||||
# vim: set noet sw=4 ts=4:
|
|
7
external/apache-commons/Makefile
vendored
7
external/apache-commons/Makefile
vendored
@@ -1,7 +0,0 @@
|
|||||||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
||||||
|
|
||||||
module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
|
|
||||||
|
|
||||||
include $(module_directory)/../../solenv/gbuild/partial_build.mk
|
|
||||||
|
|
||||||
# vim: set noet sw=4 ts=4:
|
|
18
external/apache-commons/Module_apache-commons.mk
vendored
18
external/apache-commons/Module_apache-commons.mk
vendored
@@ -1,18 +0,0 @@
|
|||||||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
||||||
#
|
|
||||||
# This file is part of the LibreOffice project.
|
|
||||||
#
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
#
|
|
||||||
|
|
||||||
$(eval $(call gb_Module_Module,apache-commons))
|
|
||||||
|
|
||||||
$(eval $(call gb_Module_add_targets,apache-commons,\
|
|
||||||
ExternalPackage_apache_commons_logging \
|
|
||||||
ExternalProject_apache_commons_logging \
|
|
||||||
UnpackedTarball_apache_commons_logging \
|
|
||||||
))
|
|
||||||
|
|
||||||
# vim: set noet sw=4 ts=4:
|
|
1
external/apache-commons/README
vendored
1
external/apache-commons/README
vendored
@@ -1 +0,0 @@
|
|||||||
Java library; used for logging in Extensions, from [http://commons.apache.org/]
|
|
@@ -1,22 +0,0 @@
|
|||||||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
||||||
#
|
|
||||||
# This file is part of the LibreOffice project.
|
|
||||||
#
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
#
|
|
||||||
|
|
||||||
$(eval $(call gb_UnpackedTarball_UnpackedTarball,apache_commons_logging))
|
|
||||||
|
|
||||||
$(eval $(call gb_UnpackedTarball_set_tarball,apache_commons_logging,$(APACHE_COMMONS_LOGGING_TARBALL),,apache-commons))
|
|
||||||
|
|
||||||
$(eval $(call gb_UnpackedTarball_fix_end_of_line,apache_commons_logging,\
|
|
||||||
build.xml \
|
|
||||||
))
|
|
||||||
|
|
||||||
$(eval $(call gb_UnpackedTarball_add_patches,apache_commons_logging,\
|
|
||||||
external/apache-commons/patches/logging.patch \
|
|
||||||
))
|
|
||||||
|
|
||||||
# vim: set noet sw=4 ts=4:
|
|
46
external/apache-commons/patches/logging.patch
vendored
46
external/apache-commons/patches/logging.patch
vendored
@@ -1,46 +0,0 @@
|
|||||||
--- misc/commons-logging-1.1.1-src/build.xml 2007-11-22 00:27:52.000000000 +0100
|
|
||||||
+++ misc/build/commons-logging-1.1.1-src/build.xml 2008-06-24 14:23:56.316301736 +0200
|
|
||||||
@@ -129,12 +129,6 @@
|
|
||||||
|
|
||||||
<!-- ========== Compiler Defaults ========================================= -->
|
|
||||||
|
|
||||||
- <!-- Version of java class files to generate. -->
|
|
||||||
- <property name="target.version" value="1.2"/>
|
|
||||||
-
|
|
||||||
- <!-- Version of java source to accept -->
|
|
||||||
- <property name="source.version" value="1.2"/>
|
|
||||||
-
|
|
||||||
<!-- Should Java compilations set the 'debug' compiler option? -->
|
|
||||||
<property name="compile.debug" value="true"/>
|
|
||||||
|
|
||||||
@@ -283,6 +277,10 @@
|
|
||||||
classpathref="compile.classpath"
|
|
||||||
classname="org.apache.avalon.framework.logger.Logger"/>
|
|
||||||
|
|
||||||
+ <available property="servlet-api.present"
|
|
||||||
+ classpathref="compile.classpath"
|
|
||||||
+ classname="javax.servlet.ServletContextListener"/>
|
|
||||||
+
|
|
||||||
<available file="${log4j12.jar}" property="log4j12.present"/>
|
|
||||||
<available file="${log4j13.jar}" property="log4j13.present"/>
|
|
||||||
<available file="${build.home}/docs" property="maven.generated.docs.present"/>
|
|
||||||
@@ -362,8 +360,8 @@
|
|
||||||
debug="${compile.debug}"
|
|
||||||
deprecation="${compile.deprecation}"
|
|
||||||
optimize="${compile.optimize}"
|
|
||||||
- source="${source.version}"
|
|
||||||
- target="${target.version}">
|
|
||||||
+ source="${ant.build.javac.source}"
|
|
||||||
+ target="${ant.build.javac.target}">
|
|
||||||
|
|
||||||
<classpath refid="compile.classpath"/>
|
|
||||||
|
|
||||||
@@ -373,6 +371,8 @@
|
|
||||||
unless="logkit.present"/>
|
|
||||||
<exclude name="org/apache/commons/logging/impl/AvalonLogger.java"
|
|
||||||
unless="avalon-framework.present"/>
|
|
||||||
+ <exclude name="org/apache/commons/logging/impl/ServletContextCleaner.java"
|
|
||||||
+ unless="servlet-api.present"/>
|
|
||||||
</javac>
|
|
||||||
</target>
|
|
||||||
|
|
@@ -25,7 +25,6 @@ Apache projects:
|
|||||||
- Apache Lucene
|
- Apache Lucene
|
||||||
- Apache Portable Runtime
|
- Apache Portable Runtime
|
||||||
- Apache Portable Runtime Utility Library
|
- Apache Portable Runtime Utility Library
|
||||||
- Apache Commons - used by MediaWiki Publisher extension
|
|
||||||
- Apache Jakarta HttpClient - used by MediaWiki Publisher extension
|
- Apache Jakarta HttpClient - used by MediaWiki Publisher extension
|
||||||
- Apache Tomcat - used by MediaWiki Publisher extension
|
- Apache Tomcat - used by MediaWiki Publisher extension
|
||||||
|
|
||||||
@@ -77,13 +76,6 @@ modifications by Spyglass Inc., Carnegie Mellon University, and
|
|||||||
Bell Communications Research, Inc (Bellcore).
|
Bell Communications Research, Inc (Bellcore).
|
||||||
|
|
||||||
|
|
||||||
Apache Commons Logging
|
|
||||||
Copyright 2003-2007 The Apache Software Foundation
|
|
||||||
|
|
||||||
This product includes software developed by
|
|
||||||
The Apache Software Foundation (http://www.apache.org/).
|
|
||||||
|
|
||||||
|
|
||||||
Apache Tomcat
|
Apache Tomcat
|
||||||
Copyright 1999-2012 The Apache Software Foundation
|
Copyright 1999-2012 The Apache Software Foundation
|
||||||
|
|
||||||
|
@@ -52,12 +52,6 @@
|
|||||||
<h1 style="text-align: center;"><a id="thirdparty" name="thirdparty">Third Party Code Additional Copyright
|
<h1 style="text-align: center;"><a id="thirdparty" name="thirdparty">Third Party Code Additional Copyright
|
||||||
Notices and License Terms</a></h1>
|
Notices and License Terms</a></h1>
|
||||||
<h1><a id="a__Libraries" name="a__Libraries">Libraries</a></h1>
|
<h1><a id="a__Libraries" name="a__Libraries">Libraries</a></h1>
|
||||||
<div class="APACHE_COMMONS">
|
|
||||||
<h2>Apache Commons</h2>
|
|
||||||
<p>The following software may be included in this product: Apache Commons (codec, httpclient, lang, logging).
|
|
||||||
Use of any of this software is governed by the terms of the license below:</p>
|
|
||||||
<p><a href="#a__Apache_License_version_2_0">Jump to Apache License Version 2.0</a></p>
|
|
||||||
</div>
|
|
||||||
<div class="APR">
|
<div class="APR">
|
||||||
<h2>Apache Portable Runtime (APR)</h2>
|
<h2>Apache Portable Runtime (APR)</h2>
|
||||||
<p>The following software may be included in this product: Apache Portable Runtime (APR).
|
<p>The following software may be included in this product: Apache Portable Runtime (APR).
|
||||||
|
@@ -15,7 +15,6 @@ $(eval $(call gb_Jar_use_jars,reportbuilder,\
|
|||||||
))
|
))
|
||||||
|
|
||||||
$(eval $(call gb_Jar_use_externals,reportbuilder,\
|
$(eval $(call gb_Jar_use_externals,reportbuilder,\
|
||||||
commons-logging \
|
|
||||||
flow-engine \
|
flow-engine \
|
||||||
flute \
|
flute \
|
||||||
libbase \
|
libbase \
|
||||||
|
@@ -58,9 +58,6 @@ import java.util.Map;
|
|||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
|
||||||
import org.apache.commons.logging.LogFactory;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Very primitive implementation, just to show how this could be used ...
|
* Very primitive implementation, just to show how this could be used ...
|
||||||
@@ -142,7 +139,7 @@ public class SDBCReportDataFactory implements DataSourceFactory
|
|||||||
private int parameterCount = 0;
|
private int parameterCount = 0;
|
||||||
private final ArrayList<Integer> parameterIndex = new ArrayList<Integer>();
|
private final ArrayList<Integer> parameterIndex = new ArrayList<Integer>();
|
||||||
}
|
}
|
||||||
private static final Log LOGGER = LogFactory.getLog(SDBCReportDataFactory.class);
|
private static final Logger LOGGER = Logger.getLogger(SDBCReportDataFactory.class.getName());
|
||||||
public static final String COMMAND_TYPE = "command-type";
|
public static final String COMMAND_TYPE = "command-type";
|
||||||
public static final String ESCAPE_PROCESSING = "escape-processing";
|
public static final String ESCAPE_PROCESSING = "escape-processing";
|
||||||
public static final String SORT_EXPRESSIONS = "sort-expressions";
|
public static final String SORT_EXPRESSIONS = "sort-expressions";
|
||||||
@@ -259,7 +256,7 @@ public class SDBCReportDataFactory implements DataSourceFactory
|
|||||||
}
|
}
|
||||||
catch (SQLException ex)
|
catch (SQLException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error("ReportProcessing failed / getOrderStatement could not get quote character", ex);
|
LOGGER.severe("ReportProcessing failed / getOrderStatement could not get quote character: " + ex);
|
||||||
// fall back to the SQL standard
|
// fall back to the SQL standard
|
||||||
quote="";
|
quote="";
|
||||||
}
|
}
|
||||||
|
@@ -37,9 +37,7 @@ import java.io.BufferedOutputStream;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.io.OutputStream;
|
import java.io.OutputStream;
|
||||||
|
import java.util.logging.Logger;
|
||||||
import org.apache.commons.logging.Log;
|
|
||||||
import org.apache.commons.logging.LogFactory;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A directory holds all the contents here.
|
* A directory holds all the contents here.
|
||||||
@@ -49,8 +47,8 @@ import org.apache.commons.logging.LogFactory;
|
|||||||
public class StorageRepository implements InputRepository, OutputRepository
|
public class StorageRepository implements InputRepository, OutputRepository
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final Log LOGGER = LogFactory.getLog(StorageRepository.class);
|
private static final Logger LOGGER = Logger.getLogger(StorageRepository.class.getName());
|
||||||
private static final String REPORT_PROCESSING_FAILED = "ReportProcessing failed";
|
private static final String REPORT_PROCESSING_FAILED = "ReportProcessing failed: ";
|
||||||
private XStorage input;
|
private XStorage input;
|
||||||
private XStorage output;
|
private XStorage output;
|
||||||
private final String rootURL;
|
private final String rootURL;
|
||||||
@@ -134,11 +132,11 @@ public class StorageRepository implements InputRepository, OutputRepository
|
|||||||
}
|
}
|
||||||
catch (InvalidStorageException ex)
|
catch (InvalidStorageException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
catch (com.sun.star.lang.IllegalArgumentException ex)
|
catch (com.sun.star.lang.IllegalArgumentException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
catch (NoSuchElementException e)
|
catch (NoSuchElementException e)
|
||||||
{
|
{
|
||||||
@@ -168,15 +166,15 @@ public class StorageRepository implements InputRepository, OutputRepository
|
|||||||
}
|
}
|
||||||
catch (InvalidStorageException ex)
|
catch (InvalidStorageException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
catch (com.sun.star.lang.IllegalArgumentException ex)
|
catch (com.sun.star.lang.IllegalArgumentException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
catch (NoSuchElementException ex)
|
catch (NoSuchElementException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -195,23 +193,23 @@ public class StorageRepository implements InputRepository, OutputRepository
|
|||||||
}
|
}
|
||||||
catch (NoSuchElementException ex)
|
catch (NoSuchElementException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
catch (WrappedTargetException ex)
|
catch (WrappedTargetException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
catch (InvalidStorageException ex)
|
catch (InvalidStorageException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
catch (IllegalArgumentException ex)
|
catch (IllegalArgumentException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
catch (com.sun.star.io.IOException ex)
|
catch (com.sun.star.io.IOException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
throw new IOException();
|
throw new IOException();
|
||||||
}
|
}
|
||||||
@@ -245,27 +243,27 @@ public class StorageRepository implements InputRepository, OutputRepository
|
|||||||
}
|
}
|
||||||
catch (UnknownPropertyException ex)
|
catch (UnknownPropertyException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
catch (PropertyVetoException ex)
|
catch (PropertyVetoException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
catch (IllegalArgumentException ex)
|
catch (IllegalArgumentException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
catch (WrappedTargetException ex)
|
catch (WrappedTargetException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
catch (InvalidStorageException ex)
|
catch (InvalidStorageException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
catch (com.sun.star.io.IOException ex)
|
catch (com.sun.star.io.IOException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new IOException();
|
throw new IOException();
|
||||||
@@ -293,11 +291,11 @@ public class StorageRepository implements InputRepository, OutputRepository
|
|||||||
}
|
}
|
||||||
catch (com.sun.star.io.IOException ex)
|
catch (com.sun.star.io.IOException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
catch (WrappedTargetException ex)
|
catch (WrappedTargetException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
output.dispose();
|
output.dispose();
|
||||||
}
|
}
|
||||||
@@ -312,11 +310,11 @@ public class StorageRepository implements InputRepository, OutputRepository
|
|||||||
}
|
}
|
||||||
catch (InvalidStorageException ex)
|
catch (InvalidStorageException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
catch (com.sun.star.lang.IllegalArgumentException ex)
|
catch (com.sun.star.lang.IllegalArgumentException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error(REPORT_PROCESSING_FAILED, ex);
|
LOGGER.severe(REPORT_PROCESSING_FAILED + ex);
|
||||||
}
|
}
|
||||||
catch (NoSuchElementException ex)
|
catch (NoSuchElementException ex)
|
||||||
{
|
{
|
||||||
|
@@ -3,5 +3,5 @@ Class-Path: reportbuilderwizard.jar
|
|||||||
flute-1.1.6.jar libserializer-1.1.6.jar libbase-1.1.6.jar
|
flute-1.1.6.jar libserializer-1.1.6.jar libbase-1.1.6.jar
|
||||||
libfonts-1.1.6.jar libformula-1.1.7.jar liblayout.jar
|
libfonts-1.1.6.jar libformula-1.1.7.jar liblayout.jar
|
||||||
libloader-1.1.6.jar librepository-1.1.6.jar libxml-1.1.7.jar
|
libloader-1.1.6.jar librepository-1.1.6.jar libxml-1.1.7.jar
|
||||||
flow-engine.jar sac.jar commons-logging-1.2.jar
|
flow-engine.jar sac.jar
|
||||||
UNO-Type-Path:
|
UNO-Type-Path:
|
||||||
|
@@ -42,9 +42,7 @@ import java.io.IOException;
|
|||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.logging.Logger;
|
||||||
import org.apache.commons.logging.Log;
|
|
||||||
import org.apache.commons.logging.LogFactory;
|
|
||||||
|
|
||||||
import org.jfree.report.expressions.Expression;
|
import org.jfree.report.expressions.Expression;
|
||||||
import org.jfree.report.expressions.FormulaExpression;
|
import org.jfree.report.expressions.FormulaExpression;
|
||||||
@@ -72,7 +70,7 @@ import org.pentaho.reporting.libraries.resourceloader.ResourceManager;
|
|||||||
public class PentahoReportJob implements ReportJob
|
public class PentahoReportJob implements ReportJob
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final Log LOGGER = LogFactory.getLog(PentahoReportJob.class);
|
private static final Logger LOGGER = Logger.getLogger(PentahoReportJob.class.getName());
|
||||||
private final DataSourceFactory dataSourceFactory;
|
private final DataSourceFactory dataSourceFactory;
|
||||||
private final OutputRepository outputRepository;
|
private final OutputRepository outputRepository;
|
||||||
private final JobProperties jobProperties;
|
private final JobProperties jobProperties;
|
||||||
@@ -235,7 +233,7 @@ public class PentahoReportJob implements ReportJob
|
|||||||
}
|
}
|
||||||
catch (ParseException ex)
|
catch (ParseException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error("ReportProcessing failed", ex);
|
LOGGER.severe("ReportProcessing failed: " + ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (node instanceof OfficeDetailSection)
|
else if (node instanceof OfficeDetailSection)
|
||||||
@@ -338,7 +336,7 @@ public class PentahoReportJob implements ReportJob
|
|||||||
rp.processReport(job);
|
rp.processReport(job);
|
||||||
job.close();
|
job.close();
|
||||||
final long endTime = System.currentTimeMillis();
|
final long endTime = System.currentTimeMillis();
|
||||||
LOGGER.debug("Report processing time: " + (endTime - startTime));
|
LOGGER.config("Report processing time: " + (endTime - startTime));
|
||||||
}
|
}
|
||||||
catch (final Exception e)
|
catch (final Exception e)
|
||||||
{
|
{
|
||||||
|
@@ -68,9 +68,6 @@ import java.io.Writer;
|
|||||||
import java.io.PrintWriter;
|
import java.io.PrintWriter;
|
||||||
import java.io.StringWriter;
|
import java.io.StringWriter;
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
|
||||||
import org.apache.commons.logging.LogFactory;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class capsulates the class, that implements the minimal component, a factory for creating the service
|
* This class capsulates the class, that implements the minimal component, a factory for creating the service
|
||||||
* (<CODE>__getComponentFactory</CODE>) and a method, that writes the information into the given registry key
|
* (<CODE>__getComponentFactory</CODE>) and a method, that writes the information into the given registry key
|
||||||
@@ -86,7 +83,7 @@ public class SOReportJobFactory
|
|||||||
public static class _SOReportJobFactory extends WeakBase implements XInitialization, XServiceInfo, XJob, XPropertySet, ReportJobFactory
|
public static class _SOReportJobFactory extends WeakBase implements XInitialization, XServiceInfo, XJob, XPropertySet, ReportJobFactory
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final Log LOGGER = LogFactory.getLog(_SOReportJobFactory.class);
|
private static final Logger LOGGER = Logger.getLogger(_SOReportJobFactory.class.getName());
|
||||||
/**
|
/**
|
||||||
* The service name, that must be used to get an instance of this service.
|
* The service name, that must be used to get an instance of this service.
|
||||||
*/
|
*/
|
||||||
@@ -242,7 +239,7 @@ public class SOReportJobFactory
|
|||||||
}
|
}
|
||||||
catch (java.lang.Exception e)
|
catch (java.lang.Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.error("ReportProcessing failed", e);
|
LOGGER.severe("ReportProcessing failed: " + e);
|
||||||
Writer result = new StringWriter();
|
Writer result = new StringWriter();
|
||||||
PrintWriter printWriter = new PrintWriter(result);
|
PrintWriter printWriter = new PrintWriter(result);
|
||||||
e.printStackTrace(printWriter);
|
e.printStackTrace(printWriter);
|
||||||
@@ -254,7 +251,7 @@ public class SOReportJobFactory
|
|||||||
}
|
}
|
||||||
catch (java.lang.IncompatibleClassChangeError e)
|
catch (java.lang.IncompatibleClassChangeError e)
|
||||||
{
|
{
|
||||||
LOGGER.error("Detected an IncompatibleClassChangeError");
|
LOGGER.severe("Detected an IncompatibleClassChangeError");
|
||||||
Writer result = new StringWriter();
|
Writer result = new StringWriter();
|
||||||
PrintWriter printWriter = new PrintWriter(result);
|
PrintWriter printWriter = new PrintWriter(result);
|
||||||
e.printStackTrace(printWriter);
|
e.printStackTrace(printWriter);
|
||||||
|
@@ -208,7 +208,7 @@ public class FormatValueUtility
|
|||||||
if (result == null)
|
if (result == null)
|
||||||
{
|
{
|
||||||
// ignore it. Ignoring it is much better than printing 'null'.
|
// ignore it. Ignoring it is much better than printing 'null'.
|
||||||
// LOGGER.debug("Formula '" + formulaExpression.getFormula() + "' evaluated to null.");
|
// LOGGER.config("Formula '" + formulaExpression.getFormula() + "' evaluated to null.");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
else if (result instanceof DataFlags)
|
else if (result instanceof DataFlags)
|
||||||
|
@@ -20,8 +20,7 @@ package org.libreoffice.report.pentaho.layoutprocessor;
|
|||||||
|
|
||||||
import org.libreoffice.report.pentaho.OfficeNamespaces;
|
import org.libreoffice.report.pentaho.OfficeNamespaces;
|
||||||
import org.libreoffice.report.pentaho.model.FormattedTextElement;
|
import org.libreoffice.report.pentaho.model.FormattedTextElement;
|
||||||
import org.apache.commons.logging.Log;
|
import java.util.logging.Logger;
|
||||||
import org.apache.commons.logging.LogFactory;
|
|
||||||
|
|
||||||
import org.jfree.report.DataFlags;
|
import org.jfree.report.DataFlags;
|
||||||
import org.jfree.report.DataSourceException;
|
import org.jfree.report.DataSourceException;
|
||||||
@@ -45,7 +44,7 @@ public class FormattedTextLayoutController
|
|||||||
extends AbstractReportElementLayoutController
|
extends AbstractReportElementLayoutController
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final Log LOGGER = LogFactory.getLog(FormattedTextLayoutController.class);
|
private static final Logger LOGGER = Logger.getLogger(FormattedTextLayoutController.class.getName());
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isValueChanged()
|
public boolean isValueChanged()
|
||||||
@@ -62,7 +61,7 @@ public class FormattedTextLayoutController
|
|||||||
}
|
}
|
||||||
catch (final ParseException e)
|
catch (final ParseException e)
|
||||||
{
|
{
|
||||||
LOGGER.debug("Parse Exception", e);
|
LOGGER.config("Parse Exception: " + e);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -22,8 +22,7 @@ import org.libreoffice.report.OfficeToken;
|
|||||||
import org.libreoffice.report.pentaho.OfficeNamespaces;
|
import org.libreoffice.report.pentaho.OfficeNamespaces;
|
||||||
import org.libreoffice.report.pentaho.model.ImageElement;
|
import org.libreoffice.report.pentaho.model.ImageElement;
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
import java.util.logging.Logger;
|
||||||
import org.apache.commons.logging.LogFactory;
|
|
||||||
|
|
||||||
import org.jfree.layouting.util.AttributeMap;
|
import org.jfree.layouting.util.AttributeMap;
|
||||||
import org.jfree.report.DataSourceException;
|
import org.jfree.report.DataSourceException;
|
||||||
@@ -59,7 +58,7 @@ public class ImageElementLayoutController
|
|||||||
extends AbstractReportElementLayoutController
|
extends AbstractReportElementLayoutController
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final Log LOGGER = LogFactory.getLog(ImageElementLayoutController.class);
|
private static final Logger LOGGER = Logger.getLogger(ImageElementLayoutController.class.getName());
|
||||||
private ImageElementContext context;
|
private ImageElementContext context;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -116,7 +115,7 @@ public class ImageElementLayoutController
|
|||||||
final LayoutController cellController = findParentCell();
|
final LayoutController cellController = findParentCell();
|
||||||
if (cellController == null)
|
if (cellController == null)
|
||||||
{
|
{
|
||||||
LOGGER.warn("Image is not contained in a table. Unable to calculate the image-size.");
|
LOGGER.warning("Image is not contained in a table. Unable to calculate the image-size.");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
final Element tableCell = (Element) cellController.getNode();
|
final Element tableCell = (Element) cellController.getNode();
|
||||||
@@ -124,14 +123,14 @@ public class ImageElementLayoutController
|
|||||||
final int colSpan = TextUtilities.parseInt((String) tableCell.getAttribute(OfficeNamespaces.TABLE_NS, "number-columns-spanned"), 1);
|
final int colSpan = TextUtilities.parseInt((String) tableCell.getAttribute(OfficeNamespaces.TABLE_NS, "number-columns-spanned"), 1);
|
||||||
if (rowSpan < 1 || colSpan < 1)
|
if (rowSpan < 1 || colSpan < 1)
|
||||||
{
|
{
|
||||||
LOGGER.warn("Rowspan or colspan for image-size calculation was invalid.");
|
LOGGER.warning("Rowspan or colspan for image-size calculation was invalid.");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
final LayoutController rowController = cellController.getParent();
|
final LayoutController rowController = cellController.getParent();
|
||||||
if (rowController == null)
|
if (rowController == null)
|
||||||
{
|
{
|
||||||
LOGGER.warn("Table-Cell has no parent. Unable to calculate the image-size.");
|
LOGGER.warning("Table-Cell has no parent. Unable to calculate the image-size.");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
final Section tableRow = (Section) rowController.getNode();
|
final Section tableRow = (Section) rowController.getNode();
|
||||||
@@ -141,14 +140,14 @@ public class ImageElementLayoutController
|
|||||||
final int columnPos = findNodeInSection(tableRow, tableCell, OfficeToken.COVERED_TABLE_CELL);
|
final int columnPos = findNodeInSection(tableRow, tableCell, OfficeToken.COVERED_TABLE_CELL);
|
||||||
if (columnPos == -1)
|
if (columnPos == -1)
|
||||||
{
|
{
|
||||||
LOGGER.warn("Table-Cell is not a direct child of the table-row. Unable to calculate the image-size.");
|
LOGGER.warning("Table-Cell is not a direct child of the table-row. Unable to calculate the image-size.");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
final LayoutController tableController = rowController.getParent();
|
final LayoutController tableController = rowController.getParent();
|
||||||
if (tableController == null)
|
if (tableController == null)
|
||||||
{
|
{
|
||||||
LOGGER.warn("Table-Row has no Table. Unable to calculate the image-size.");
|
LOGGER.warning("Table-Row has no Table. Unable to calculate the image-size.");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -158,7 +157,7 @@ public class ImageElementLayoutController
|
|||||||
if (columns.getNodeCount() <= columnPos + colSpan)
|
if (columns.getNodeCount() <= columnPos + colSpan)
|
||||||
{
|
{
|
||||||
// the colspan is too large. The table definition is therefore invalid. We do not try to fix this.
|
// the colspan is too large. The table definition is therefore invalid. We do not try to fix this.
|
||||||
LOGGER.warn(
|
LOGGER.warning(
|
||||||
"The Table's defined columns do not match the col-span or col-position. Unable to calculate the image-size.");
|
"The Table's defined columns do not match the col-span or col-position. Unable to calculate the image-size.");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -169,7 +168,7 @@ public class ImageElementLayoutController
|
|||||||
final int rowPos = findNodeInSection(table, tableRow, null);
|
final int rowPos = findNodeInSection(table, tableRow, null);
|
||||||
if (rowPos == -1)
|
if (rowPos == -1)
|
||||||
{
|
{
|
||||||
LOGGER.warn("Table-Cell is not a direct child of the table-row. Unable to calculate the image-size.");
|
LOGGER.warning("Table-Cell is not a direct child of the table-row. Unable to calculate the image-size.");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -48,9 +48,6 @@ import java.util.Map;
|
|||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
|
||||||
import org.apache.commons.logging.LogFactory;
|
|
||||||
|
|
||||||
import org.jfree.layouting.input.style.values.CSSNumericType;
|
import org.jfree.layouting.input.style.values.CSSNumericType;
|
||||||
import org.jfree.layouting.input.style.values.CSSNumericValue;
|
import org.jfree.layouting.input.style.values.CSSNumericValue;
|
||||||
|
|
||||||
@@ -67,7 +64,7 @@ import org.pentaho.reporting.libraries.base.util.WaitingImageObserver;
|
|||||||
public class ImageProducer
|
public class ImageProducer
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final Log LOGGER = LogFactory.getLog(ImageProducer.class);
|
private static final Logger LOGGER = Logger.getLogger(ImageProducer.class.getName());
|
||||||
|
|
||||||
public static class OfficeImage
|
public static class OfficeImage
|
||||||
{
|
{
|
||||||
@@ -188,7 +185,7 @@ public class ImageProducer
|
|||||||
final boolean preserveIRI)
|
final boolean preserveIRI)
|
||||||
{
|
{
|
||||||
|
|
||||||
LOGGER.debug("Want to produce image " + imageData);
|
LOGGER.config("Want to produce image " + imageData);
|
||||||
if (imageData instanceof String)
|
if (imageData instanceof String)
|
||||||
{
|
{
|
||||||
return produceFromString((String) imageData, preserveIRI);
|
return produceFromString((String) imageData, preserveIRI);
|
||||||
@@ -247,11 +244,11 @@ public class ImageProducer
|
|||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
LOGGER.warn("Failed to produce image from Blob", e);
|
LOGGER.warning("Failed to produce image from Blob: " + e);
|
||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.warn("Failed to produce image from Blob", e);
|
LOGGER.warning("Failed to produce image from Blob: " + e);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -295,11 +292,11 @@ public class ImageProducer
|
|||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
LOGGER.warn("Failed to load image from local input-repository", e);
|
LOGGER.warning("Failed to load image from local input-repository: " + e);
|
||||||
}
|
}
|
||||||
catch (ReportExecutionException e)
|
catch (ReportExecutionException e)
|
||||||
{
|
{
|
||||||
LOGGER.warn("Failed to create image from local input-repository", e);
|
LOGGER.warning("Failed to create image from local input-repository: " + e);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -353,11 +350,11 @@ public class ImageProducer
|
|||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
LOGGER.warn("Failed to load image from local input-repository", e);
|
LOGGER.warning("Failed to load image from local input-repository: " + e);
|
||||||
}
|
}
|
||||||
catch (ReportExecutionException e)
|
catch (ReportExecutionException e)
|
||||||
{
|
{
|
||||||
LOGGER.warn("Failed to create image from local input-repository", e);
|
LOGGER.warning("Failed to create image from local input-repository: " + e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -435,11 +432,11 @@ public class ImageProducer
|
|||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
LOGGER.warn("Failed to load image from local input-repository", e);
|
LOGGER.warning("Failed to load image from local input-repository: " + e);
|
||||||
}
|
}
|
||||||
catch (ReportExecutionException e)
|
catch (ReportExecutionException e)
|
||||||
{
|
{
|
||||||
LOGGER.warn("Failed to create image from local input-repository", e);
|
LOGGER.warning("Failed to create image from local input-repository: " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!preserveIRI)
|
if (!preserveIRI)
|
||||||
|
@@ -65,9 +65,6 @@ import java.util.Map;
|
|||||||
import java.util.zip.DeflaterOutputStream;
|
import java.util.zip.DeflaterOutputStream;
|
||||||
import java.util.zip.InflaterInputStream;
|
import java.util.zip.InflaterInputStream;
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
|
||||||
import org.apache.commons.logging.LogFactory;
|
|
||||||
|
|
||||||
import org.jfree.layouting.input.style.parser.CSSValueFactory;
|
import org.jfree.layouting.input.style.parser.CSSValueFactory;
|
||||||
import org.jfree.layouting.input.style.parser.StyleSheetParserUtil;
|
import org.jfree.layouting.input.style.parser.StyleSheetParserUtil;
|
||||||
import org.jfree.layouting.input.style.values.CSSNumericType;
|
import org.jfree.layouting.input.style.values.CSSNumericType;
|
||||||
@@ -112,7 +109,7 @@ import org.w3c.css.sac.LexicalUnit;
|
|||||||
public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
|
public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
|
||||||
{
|
{
|
||||||
|
|
||||||
protected static final Log LOGGER = LogFactory.getLog(OfficeDocumentReportTarget.class);
|
protected static final Logger LOGGER = Logger.getLogger(OfficeDocumentReportTarget.class.getName());
|
||||||
public static final String HORIZONTAL_POS = "horizontal-pos";
|
public static final String HORIZONTAL_POS = "horizontal-pos";
|
||||||
public static final String TAG_DEF_PREFIX = "org.libreoffice.report.pentaho.output.";
|
public static final String TAG_DEF_PREFIX = "org.libreoffice.report.pentaho.output.";
|
||||||
private static final int ROLE_NONE = 0;
|
private static final int ROLE_NONE = 0;
|
||||||
@@ -517,7 +514,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
|
|||||||
// todo
|
// todo
|
||||||
if (DEBUG_ELEMENTS)
|
if (DEBUG_ELEMENTS)
|
||||||
{
|
{
|
||||||
LOGGER.debug("Starting " + getCurrentState() + '/' + states.size() + ' ' + ReportTargetUtil.getNamespaceFromAttribute(attrs) + " -> " + ReportTargetUtil.getElemenTypeFromAttribute(attrs));
|
LOGGER.config("Starting " + getCurrentState() + '/' + states.size() + ' ' + ReportTargetUtil.getNamespaceFromAttribute(attrs) + " -> " + ReportTargetUtil.getElemenTypeFromAttribute(attrs));
|
||||||
}
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -713,7 +710,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
|
|||||||
}
|
}
|
||||||
catch (IOException ioe)
|
catch (IOException ioe)
|
||||||
{
|
{
|
||||||
LOGGER.error("ReportProcessing failed", ioe);
|
LOGGER.severe("ReportProcessing failed: " + ioe);
|
||||||
throw new ReportProcessingException("Failed to write content", ioe);
|
throw new ReportProcessingException("Failed to write content", ioe);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -762,7 +759,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
|
|||||||
if (styleMapper.isListOfStyles(elementNamespace, elementName, attrNamespace, attrName))
|
if (styleMapper.isListOfStyles(elementNamespace, elementName, attrNamespace, attrName))
|
||||||
{
|
{
|
||||||
// ignored for now.
|
// ignored for now.
|
||||||
LOGGER.warn("List of styles is not yet implemented.");
|
LOGGER.warning("List of styles is not yet implemented.");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -970,7 +967,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
|
|||||||
|
|
||||||
if (DEBUG_ELEMENTS)
|
if (DEBUG_ELEMENTS)
|
||||||
{
|
{
|
||||||
LOGGER.debug("Finished " + getCurrentState() + "/" + states.size() + " " + ReportTargetUtil.getNamespaceFromAttribute(attrs) + ":" + ReportTargetUtil.getElemenTypeFromAttribute(attrs));
|
LOGGER.config("Finished " + getCurrentState() + "/" + states.size() + " " + ReportTargetUtil.getNamespaceFromAttribute(attrs) + ":" + ReportTargetUtil.getElemenTypeFromAttribute(attrs));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1153,7 +1150,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
|
|||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
LOGGER.error("ReportProcessing failed", e);
|
LOGGER.severe("ReportProcessing failed: " + e);
|
||||||
}
|
}
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
@@ -1294,7 +1291,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
|
|||||||
|
|
||||||
final CSSNumericValue height = image.getHeight(); // always in 100th of a mm
|
final CSSNumericValue height = image.getHeight(); // always in 100th of a mm
|
||||||
|
|
||||||
LOGGER.debug("Image " + imageData + " Width: " + width + ", Height: " + height);
|
LOGGER.config("Image " + imageData + " Width: " + width + ", Height: " + height);
|
||||||
if (width == null || height == null)
|
if (width == null || height == null)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
@@ -1313,7 +1310,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
|
|||||||
|
|
||||||
if (imageAreaWidthVal == null || imageAreaHeightVal == null)
|
if (imageAreaWidthVal == null || imageAreaHeightVal == null)
|
||||||
{
|
{
|
||||||
LOGGER.debug("Image data returned from context is invalid. Maybe this is not an image?");
|
LOGGER.config("Image data returned from context is invalid. Maybe this is not an image?");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -1410,7 +1407,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LOGGER.debug("There is no image-context, so we have to rely on the image's natural bounds. " + "This may go awfully wrong.");
|
LOGGER.config("There is no image-context, so we have to rely on the image's natural bounds. " + "This may go awfully wrong.");
|
||||||
imageAreaWidthVal = image.getWidth();
|
imageAreaWidthVal = image.getWidth();
|
||||||
imageAreaHeightVal = image.getHeight();
|
imageAreaHeightVal = image.getHeight();
|
||||||
}
|
}
|
||||||
@@ -1427,7 +1424,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
|
|||||||
frameList.setAttribute(OfficeNamespaces.SVG_NS, "y", posY.getValue() + posY.getType().getType());
|
frameList.setAttribute(OfficeNamespaces.SVG_NS, "y", posY.getValue() + posY.getType().getType());
|
||||||
|
|
||||||
|
|
||||||
LOGGER.debug("Image " + imageData + " A-Width: " + imageAreaWidthVal + ", A-Height: " + imageAreaHeightVal);
|
LOGGER.config("Image " + imageData + " A-Width: " + imageAreaWidthVal + ", A-Height: " + imageAreaHeightVal);
|
||||||
|
|
||||||
if (imageAreaWidthVal != null)
|
if (imageAreaWidthVal != null)
|
||||||
{
|
{
|
||||||
|
@@ -32,14 +32,12 @@ import org.libreoffice.report.pentaho.PentahoReportEngineMetaData;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.logging.Logger;
|
||||||
import org.apache.commons.logging.Log;
|
|
||||||
import org.apache.commons.logging.LogFactory;
|
|
||||||
|
|
||||||
public class OleProducer
|
public class OleProducer
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final Log LOGGER = LogFactory.getLog(OleProducer.class);
|
private static final Logger LOGGER = Logger.getLogger(OleProducer.class.getName());
|
||||||
private final InputRepository inputRepository;
|
private final InputRepository inputRepository;
|
||||||
private final OutputRepository outputRepository;
|
private final OutputRepository outputRepository;
|
||||||
private final DefaultNameGenerator nameGenerator;
|
private final DefaultNameGenerator nameGenerator;
|
||||||
@@ -100,16 +98,16 @@ public class OleProducer
|
|||||||
}
|
}
|
||||||
catch (ReportExecutionException ex)
|
catch (ReportExecutionException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error("ReportProcessing failed", ex);
|
LOGGER.severe("ReportProcessing failed: " + ex);
|
||||||
}
|
}
|
||||||
catch (IOException ex)
|
catch (IOException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error("ReportProcessing failed", ex);
|
LOGGER.severe("ReportProcessing failed: " + ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (IOException ex)
|
catch (IOException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error("ReportProcessing failed", ex);
|
LOGGER.severe("ReportProcessing failed: " + ex);
|
||||||
} finally
|
} finally
|
||||||
{
|
{
|
||||||
if (subInputRepository != null)
|
if (subInputRepository != null)
|
||||||
|
@@ -28,9 +28,7 @@ import org.libreoffice.report.pentaho.model.OfficeStylesCollection;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
import java.util.logging.Logger;
|
||||||
import org.apache.commons.logging.Log;
|
|
||||||
import org.apache.commons.logging.LogFactory;
|
|
||||||
|
|
||||||
import org.jfree.report.ReportProcessingException;
|
import org.jfree.report.ReportProcessingException;
|
||||||
import org.jfree.report.structure.Element;
|
import org.jfree.report.structure.Element;
|
||||||
@@ -46,7 +44,7 @@ import org.jfree.report.util.AttributeNameGenerator;
|
|||||||
public class StyleUtilities
|
public class StyleUtilities
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final Log LOGGER = LogFactory.getLog(StyleUtilities.class);
|
private static final Logger LOGGER = Logger.getLogger(StyleUtilities.class.getName());
|
||||||
private static final String STYLE = "style";
|
private static final String STYLE = "style";
|
||||||
|
|
||||||
private StyleUtilities()
|
private StyleUtilities()
|
||||||
@@ -180,7 +178,7 @@ public class StyleUtilities
|
|||||||
}
|
}
|
||||||
else if (styleParent != null)
|
else if (styleParent != null)
|
||||||
{
|
{
|
||||||
LOGGER.warn("Inconsistent styles: " + styleFamily + ":" + styleParent + " does not exist.");
|
LOGGER.warning("Inconsistent styles: " + styleFamily + ":" + styleParent + " does not exist.");
|
||||||
}
|
}
|
||||||
return preStyle;
|
return preStyle;
|
||||||
}
|
}
|
||||||
@@ -301,7 +299,7 @@ public class StyleUtilities
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LOGGER.warn("Dangling data style: " + styleName);
|
LOGGER.warning("Dangling data style: " + styleName);
|
||||||
derivedStyle = null;
|
derivedStyle = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -305,7 +305,7 @@ public class SpreadsheetRawReportTarget extends OfficeDocumentReportTarget
|
|||||||
}
|
}
|
||||||
catch (IOException ex)
|
catch (IOException ex)
|
||||||
{
|
{
|
||||||
LOGGER.error("ReportProcessing failed", ex);
|
LOGGER.severe("ReportProcessing failed: " + ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -22,8 +22,7 @@ import org.libreoffice.report.pentaho.model.OfficeDocument;
|
|||||||
import org.libreoffice.report.pentaho.model.OfficeStylesCollection;
|
import org.libreoffice.report.pentaho.model.OfficeStylesCollection;
|
||||||
import org.libreoffice.report.pentaho.parser.style.OfficeStylesReadHandler;
|
import org.libreoffice.report.pentaho.parser.style.OfficeStylesReadHandler;
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
import java.util.logging.Logger;
|
||||||
import org.apache.commons.logging.LogFactory;
|
|
||||||
|
|
||||||
import org.jfree.report.JFreeReport;
|
import org.jfree.report.JFreeReport;
|
||||||
|
|
||||||
@@ -49,7 +48,7 @@ import org.xml.sax.SAXException;
|
|||||||
public class DocumentContentReadHandler extends AbstractXmlReadHandler
|
public class DocumentContentReadHandler extends AbstractXmlReadHandler
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final Log LOGGER = LogFactory.getLog(DocumentContentReadHandler.class);
|
private static final Logger LOGGER = Logger.getLogger(DocumentContentReadHandler.class.getName());
|
||||||
private OfficeDocument report;
|
private OfficeDocument report;
|
||||||
private FontFaceDeclsReadHandler fontFaceReadHandler;
|
private FontFaceDeclsReadHandler fontFaceReadHandler;
|
||||||
private BodyReadHandler bodyReadHandler;
|
private BodyReadHandler bodyReadHandler;
|
||||||
@@ -98,12 +97,12 @@ public class DocumentContentReadHandler extends AbstractXmlReadHandler
|
|||||||
catch (ResourceKeyCreationException e)
|
catch (ResourceKeyCreationException e)
|
||||||
{
|
{
|
||||||
// ignore ..
|
// ignore ..
|
||||||
LOGGER.debug("Failed to create resource-key for 'styles.xml'. Ignoring.", e);
|
LOGGER.config("Failed to create resource-key for 'styles.xml'. Ignoring: " + e);
|
||||||
}
|
}
|
||||||
catch (ResourceException e)
|
catch (ResourceException e)
|
||||||
{
|
{
|
||||||
// ignore ..
|
// ignore ..
|
||||||
LOGGER.debug("Failed to parse resource for 'styles.xml'. Ignoring.", e);
|
LOGGER.config("Failed to parse resource for 'styles.xml'. Ignoring: " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
return new OfficeStylesCollection();
|
return new OfficeStylesCollection();
|
||||||
@@ -135,12 +134,12 @@ public class DocumentContentReadHandler extends AbstractXmlReadHandler
|
|||||||
catch (ResourceKeyCreationException e)
|
catch (ResourceKeyCreationException e)
|
||||||
{
|
{
|
||||||
// ignore ..
|
// ignore ..
|
||||||
LOGGER.debug("Failed to create resource-key for 'content.xml'. Ignoring.");
|
LOGGER.config("Failed to create resource-key for 'content.xml'. Ignoring.");
|
||||||
}
|
}
|
||||||
catch (ResourceException e)
|
catch (ResourceException e)
|
||||||
{
|
{
|
||||||
// ignore ..
|
// ignore ..
|
||||||
LOGGER.debug("Failed to parse resource for 'content.xml'. Ignoring.");
|
LOGGER.config("Failed to parse resource for 'content.xml'. Ignoring.");
|
||||||
}
|
}
|
||||||
return new OfficeDocument();
|
return new OfficeDocument();
|
||||||
|
|
||||||
|
@@ -476,12 +476,6 @@
|
|||||||
"type": "file",
|
"type": "file",
|
||||||
"dest-filename": "external/tarballs/beeca87be45ec87d241ddd0e1bad80c1-bsh-2.0b6-src.zip"
|
"dest-filename": "external/tarballs/beeca87be45ec87d241ddd0e1bad80c1-bsh-2.0b6-src.zip"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"url": "https://dev-www.libreoffice.org/src/commons-logging-1.2-src.tar.gz",
|
|
||||||
"sha256": "49665da5a60d033e6dff40fe0a7f9173e886ae859ce6096c1afe34c48b677c81",
|
|
||||||
"type": "file",
|
|
||||||
"dest-filename": "external/tarballs/commons-logging-1.2-src.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"url": "https://dev-www.libreoffice.org/src/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip",
|
"url": "https://dev-www.libreoffice.org/src/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip",
|
||||||
"sha256": "233f66e8d25c5dd971716d4200203a612a407649686ef3b52075d04b4c9df0dd",
|
"sha256": "233f66e8d25c5dd971716d4200203a612a407649686ef3b52075d04b4c9df0dd",
|
||||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user