From 81042d7a366ad8d5f52fcd78e4b44183f62ce0e1 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 24 Oct 2011 17:10:06 +0200 Subject: JavaClassSet: fix partial rebuilds Partial rebuilds can fail because the reubilt classes may import other classes that are not rebuilt; putting the target directory on the classpath seems to fix it (it would also be possible to use -sourcepath but that seems more complicated). --- solenv/gbuild/JavaClassSet.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'solenv/gbuild/JavaClassSet.mk') diff --git a/solenv/gbuild/JavaClassSet.mk b/solenv/gbuild/JavaClassSet.mk index 292d7aee1ddb..cea27c061982 100644 --- a/solenv/gbuild/JavaClassSet.mk +++ b/solenv/gbuild/JavaClassSet.mk @@ -43,7 +43,7 @@ $(call gb_Helper_abbreviate_dirs_native,\ $(filter-out $(JARDEPS),$(4))))) && \ $(if $(3),$(gb_JavaClassSet_JAVACCOMMAND) \ $(gb_JavaClassSet_JAVACDEBUG) \ - -cp "$(CLASSPATH)" \ + -cp "$(CLASSPATH)$(gb_CLASSPATHSEP)$(call gb_JavaClassSet_get_classdir,$(2))" \ -d $(call gb_JavaClassSet_get_classdir,$(2)) \ @$$RESPONSEFILE &&) \ rm -f $$RESPONSEFILE && \ -- cgit