You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by ga...@apache.org on 2008/02/25 23:59:58 UTC

svn commit: r631029 - /incubator/pig/trunk/build.xml

Author: gates
Date: Mon Feb 25 14:59:57 2008
New Revision: 631029

URL: http://svn.apache.org/viewvc?rev=631029&view=rev
Log:
Added back copy of pig-X.jar from build directory to pig.jar in top directory
for backward compatibility.


Modified:
    incubator/pig/trunk/build.xml

Modified: incubator/pig/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/pig/trunk/build.xml?rev=631029&r1=631028&r2=631029&view=diff
==============================================================================
--- incubator/pig/trunk/build.xml (original)
+++ incubator/pig/trunk/build.xml Mon Feb 25 14:59:57 2008
@@ -45,6 +45,8 @@
     <!-- jar names. TODO we might want to use the svn reversion name in the name in case it is a dev version -->
     <property name="output.jarfile" value="${build.dir}/${final.name}.jar" />
     <property name="output.jarfile.core" value="${build.dir}/${final.name}-core.jar" />
+    <!-- Maintain old pig.jar in top level directory. -->
+    <property name="output.jarfile.backcompat" value="${basedir}/${name}.jar" />
 
     <!-- test properties -->
     <property name="test.src.dir" value="${basedir}/test" />
@@ -187,6 +189,7 @@
             <zipfileset src="${lib.dir}/${hadoop.jarfile}" />
             <zipfileset src="${lib.dir}/jsch-0.1.33.jar" />
         </jar>
+        <copy file="${output.jarfile}" tofile="${output.jarfile.backcompat}"/>
     </target>
 
     <!-- ================================================================== -->
@@ -280,4 +283,4 @@
         </tar>
     </target>
 
-</project>
\ No newline at end of file
+</project>