THRIFT-3962 Ant build.xml broken on Windows for Java library
Client: Java
Patch: Gary Gregory <ggregory@apache.org>

This closes #1126
diff --git a/lib/java/build.xml b/lib/java/build.xml
index 1097af5..72be92b 100644
--- a/lib/java/build.xml
+++ b/lib/java/build.xml
@@ -276,15 +276,11 @@
     <exec executable="${thrift.compiler}" failonerror="true">
       <arg line="--gen java ${test.thrift.home}/ManyOptionals.thrift"/>
     </exec>
-    <exec executable="mkdir" failonerror="true">
-      <arg line="-p ${genfullcamel}"/>
-    </exec>
+  	<mkdir dir="${genfullcamel}"/>
     <exec executable="${thrift.compiler}" failonerror="true">
       <arg line="--gen java:fullcamel -out ${genfullcamel} ${test.thrift.home}/FullCamelTest.thrift"/>
     </exec>
-    <exec executable="mkdir" failonerror="true">
-      <arg line="-p ${genreuse}"/>
-    </exec>
+  	<mkdir dir="${genreuse}"/>
     <exec executable="${thrift.compiler}" failonerror="true">
       <arg line="--gen java:reuse-objects -out ${genreuse} ${test.thrift.home}/ReuseObjects.thrift"/>
     </exec>