summaryrefslogtreecommitdiff
path: root/solenv/gbuild/JavaClassSet.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-10-24 17:10:06 +0200
committerMichael Stahl <mstahl@redhat.com>2011-10-24 17:43:06 +0200
commit81042d7a366ad8d5f52fcd78e4b44183f62ce0e1 (patch)
treeb98010fa9490eeb68bccd54a38ae4a156fd7177d /solenv/gbuild/JavaClassSet.mk
parent721d38067a513634d54567f8100770866f18881f (diff)
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).
Diffstat (limited to 'solenv/gbuild/JavaClassSet.mk')
-rw-r--r--solenv/gbuild/JavaClassSet.mk2
1 files changed, 1 insertions, 1 deletions
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 && \