You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by st...@apache.org on 2009/05/28 18:59:42 UTC
svn commit: r779668 - /hadoop/core/branches/HADOOP-3628-2/ivybuild.xml
Author: stevel
Date: Thu May 28 16:59:41 2009
New Revision: 779668
URL: http://svn.apache.org/viewvc?rev=779668&view=rev
Log:
HADOOP-3628 automating svn
Modified:
hadoop/core/branches/HADOOP-3628-2/ivybuild.xml
Modified: hadoop/core/branches/HADOOP-3628-2/ivybuild.xml
URL: http://svn.apache.org/viewvc/hadoop/core/branches/HADOOP-3628-2/ivybuild.xml?rev=779668&r1=779667&r2=779668&view=diff
==============================================================================
--- hadoop/core/branches/HADOOP-3628-2/ivybuild.xml (original)
+++ hadoop/core/branches/HADOOP-3628-2/ivybuild.xml Thu May 28 16:59:41 2009
@@ -238,6 +238,8 @@
</delegate2>
</target>
+ <!-- generate a junit report.
+ tip: you can run this while junit is still going on-->
<target name="junitreport" depends="ready-to-test">
<junitreport todir="${test.reports.dir}">
<fileset dir="${test.data.dir}">
@@ -250,4 +252,34 @@
<target name="tested" depends="junit,junitreport" />
+ <target name="svn-init" >
+ <presetdef name="svn" >
+ <exec executable="svn" failonerror="true">
+ </exec>
+ </presetdef>
+ <property name="trunk"
+ value="https://svn.apache.org/repos/asf/hadoop/core/trunk"/>
+ </target>
+
+ <target name="svn-merge" depends="svn-init"
+ description="merge in the trunk" >
+ <svn>
+ <arg line="merge ${trunk}"/>
+ </svn>
+ </target>
+
+ <target name="svn-diff" depends="svn-init"
+ description="diff the local code against the branch" >
+ <svn>
+ <arg line="diff"/>
+ </svn>
+ </target>
+
+ <target name="svn-resolved" depends="svn-init"
+ description="mark the tree as resolved" >
+ <svn>
+ <arg line="resolve"/>
+ </svn>
+ </target>
+
</project>
\ No newline at end of file