make/common/JavaCompilation.gmk
changeset 28904 0c7127cbc121
parent 28902 0c09b47449c8
parent 28360 b7a477fa93b5
child 28905 cbee1de9e3e7
--- a/make/common/JavaCompilation.gmk	Fri Jan 16 18:45:26 2015 +0300
+++ b/make/common/JavaCompilation.gmk	Wed Jan 21 12:00:04 2015 -0800
@@ -546,7 +546,7 @@
     $1_REMOTE:=--server:portfile=$$($1_SJAVAC_PORTFILE),id=$1,sjavac=$$(subst $$(SPACE),%20,$$(subst $$(COMMA),%2C,$$(strip $$($1_SERVER_JVM) $$($1_SJAVAC))))
 
     $$($1_BIN)/_the.$1_batch: $$($1_SRCS) $$($1_DEPENDS)
-	$(MKDIR) -p $$(@D)
+	$(MKDIR) -p $$(@D) $$(dir $$($1_SJAVAC_PORTFILE))
         # As a workaround for sjavac not tracking api changed from the classpath, force full
         # recompile if an external dependency, which is something other than a source
         # change, triggered this compilation.