[Libreoffice-commits] .: solenv/gbuild
Matus Kukan
mkukan at kemper.freedesktop.org
Sat Oct 8 06:21:13 PDT 2011
solenv/gbuild/JavaClassSet.mk | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
New commits:
commit a1aaab393a9f861dc54872bf2f9d67e3da9d00e2
Author: Matúš Kukan <matus.kukan at gmail.com>
Date: Sat Oct 8 15:00:58 2011 +0200
use response file when compiling java sources
diff --git a/solenv/gbuild/JavaClassSet.mk b/solenv/gbuild/JavaClassSet.mk
index 9d4346d..0b3cb5a 100644
--- a/solenv/gbuild/JavaClassSet.mk
+++ b/solenv/gbuild/JavaClassSet.mk
@@ -37,13 +37,16 @@ endif
define gb_JavaClassSet__command
$(call gb_Helper_abbreviate_dirs_native,\
mkdir -p $(dir $(1)) && \
+ RESPONSEFILE=$(call var2file,$(shell $(gb_MKTEMP)),500,\
+ $(if $(filter-out $(JARDEPS),$(3)),\
+ $(filter-out $(JARDEPS),$(3)),\
+ $(filter-out $(JARDEPS),$(4)))) && \
$(if $(3),$(gb_JavaClassSet_JAVACCOMMAND) \
$(gb_JavaClassSet_JAVACDEBUG) \
-cp "$(CLASSPATH)" \
-d $(call gb_JavaClassSet_get_classdir,$(2)) \
- $(if $(filter-out $(JARDEPS),$(3)),\
- $(filter-out $(JARDEPS),$(3)),\
- $(filter-out $(JARDEPS),$(4))) &&) \
+ @$$RESPONSEFILE &&) \
+ rm -f $$RESPONSEFILE && \
touch $(1))
endef
More information about the Libreoffice-commits
mailing list