make/common/JavaCompilation.gmk
changeset 28360 b7a477fa93b5
parent 27866 e6c790ef8899
child 28600 09dd1740f176
child 28605 68bf16ffbd7a
child 28904 0c7127cbc121
--- a/make/common/JavaCompilation.gmk	Thu Jan 15 14:51:05 2015 -0800
+++ b/make/common/JavaCompilation.gmk	Fri Jan 16 10:15:54 2015 +0100
@@ -538,7 +538,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.