copied everything over from 2012 and removed all of the actual robot code except the drivetrain stuff
git-svn-id: https://robotics.mvla.net/svn/frc971/2013/trunk/src@4078 f308d9b7-e957-4cde-b6ac-9a88185e7312
diff --git a/aos/build/jdk_tools_common b/aos/build/jdk_tools_common
new file mode 100644
index 0000000..3ebfc2f
--- /dev/null
+++ b/aos/build/jdk_tools_common
@@ -0,0 +1,13 @@
+# This file gets sourced by all the shell scripts that use the JDK tools.
+# gyp likes quoting some of the input arguments, but nothing else tolerates it,
+# so " are removed from various inputs.
+
+set -e # stop on error
+#set -x # echo everything
+
+TMPDIR=$2
+# ${CLASSPATH} is used by the jdk tools
+EXTRA_CLASSPATH=`echo $3 | tr -d '"' | sed 's/ /:/g'`
+EXTRA_JARS=`echo $3 | tr -d '"'`
+
+mkdir -p ${TMPDIR}