Kaydet (Commit) 89db5b5b authored tarafından Robert Antoni Buj i Gelonch's avatar Robert Antoni Buj i Gelonch Kaydeden (comit) Caolán McNamara

Apache Commons Lang 3.3.1 at least requires Java 1.6 and non debug version

Change-Id: If6526a9170f90227fff6b148f24a0dc99ff42941
Reviewed-on: https://gerrit.libreoffice.org/12116Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst c245858d
...@@ -22,10 +22,15 @@ $(call gb_ExternalProject_get_state_target,apache_commons_lang,build) : ...@@ -22,10 +22,15 @@ $(call gb_ExternalProject_get_state_target,apache_commons_lang,build) :
-Dbuild.label="build-$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)" \ -Dbuild.label="build-$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)" \
$(if $(filter yes,$(JAVACISGCJ))\ $(if $(filter yes,$(JAVACISGCJ))\
,-Dbuild.compiler=gcj \ ,-Dbuild.compiler=gcj \
,-Dant.build.javac.source=$(JAVA_SOURCE_VER) \ ,$(if $(filter TRUE,$(HAVE_JAVA6)) \
-Dant.build.javac.target=$(JAVA_TARGET_VER) \ ,-Dcompile.source=1.6 -Dcompile.target=1.6 \
,-Dant.build.javac.source=$(JAVA_SOURCE_VER) -Dant.build.javac.target=$(JAVA_TARGET_VER) \
) \
) \ ) \
$(if $(debug),-Dbuild.debug="on") \ $(if $(filter TRUE,$(HAVE_JAVA6)) \
,$(if $(debug),-Dcompile.debug="true") \
,$(if $(debug),-Dbuild.debug="on") \
) \
jar \ jar \
) )
......
...@@ -11,4 +11,10 @@ $(eval $(call gb_UnpackedTarball_UnpackedTarball,apache_commons_lang)) ...@@ -11,4 +11,10 @@ $(eval $(call gb_UnpackedTarball_UnpackedTarball,apache_commons_lang))
$(eval $(call gb_UnpackedTarball_set_tarball,apache_commons_lang,$(APACHE_COMMONS_LANG_TARBALL),,apache-commons)) $(eval $(call gb_UnpackedTarball_set_tarball,apache_commons_lang,$(APACHE_COMMONS_LANG_TARBALL),,apache-commons))
$(eval $(call gb_UnpackedTarball_add_patches,apache_commons_lang,\
$(if $(filter TRUE,$(HAVE_JAVA6)) \
,external/apache-commons/patches/lang.patch \
) \
))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
--- misc/commons-lang3-src/default.properties 2014-03-15 13:47:48.000000000 +0100
+++ misc/build/commons-lang3-src/default.properties 2014-10-30 17:57:53.000000000 +0100
@@ -60,7 +60,7 @@
test.home = src/test/java
# Should Java compilations set the 'debug' compiler option?
-compile.debug = true
+compile.debug = false
# Should Java compilations set the 'deprecation' compiler option?
compile.deprecation = true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment