Permalink
Browse files

build.xml separates Java and Python builds

  • Loading branch information...
1 parent b10c20f commit 440f859805e90fad88cbf82bc60d5c1d006d8557 Gabor Szabo committed Feb 29, 2012
Showing with 9 additions and 2 deletions.
  1. +9 −2 java/build.xml
View
@@ -13,7 +13,7 @@
limitations under the License.
-->
-<project name="PyCascading" basedir="." default="jar">
+<project name="PyCascading" basedir="." default="all">
<property file="${basedir}/dependencies.properties" />
@@ -67,7 +67,8 @@
</javac>
</target>
- <target name="jar" depends="compile" description="Creates a PyCascading jar with dependencies">
+ <target name="jar" depends="compile"
+ description="Creates a PyCascading jar with dependencies">
<!-- Copy Cascading & Jython jars -->
<copy todir="${build.libs}">
<fileset dir="${cascading.home}" includes="cascading-core-*.jar" />
@@ -85,7 +86,9 @@
<attribute name="Main-Class" value="com.twitter.pycascading.Main" />
</manifest>
</jar>
+ </target>
+ <target name="tgz" description="Creates the Python PyCascading archive">
<!-- Apparently need to use .tgz for the archive, .tar.gz didn't work.
This file is going to be put in the Hadoop distributed cache, and if
the extension is .tar.gz, my installation didn't extract it. -->
@@ -95,6 +98,10 @@
</tar>
</target>
+ <target name="all" depends="jar,tgz"
+ description="Creates a jar and tgz for job submission">
+ </target>
+
<target name="clean">
<delete dir="${build.dir}" />
</target>

0 comments on commit 440f859

Please sign in to comment.