You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2013/07/23 23:38:51 UTC

svn commit: r1506302 - /lucene/dev/branches/lucene4335/extra-targets.xml

Author: rmuir
Date: Tue Jul 23 21:38:51 2013
New Revision: 1506302

URL: http://svn.apache.org/r1506302
Log:
convert to macro

Modified:
    lucene/dev/branches/lucene4335/extra-targets.xml

Modified: lucene/dev/branches/lucene4335/extra-targets.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene4335/extra-targets.xml?rev=1506302&r1=1506301&r2=1506302&view=diff
==============================================================================
--- lucene/dev/branches/lucene4335/extra-targets.xml (original)
+++ lucene/dev/branches/lucene4335/extra-targets.xml Tue Jul 23 21:38:51 2013
@@ -62,9 +62,16 @@
     </mvn>
   </target>
 
-  <target xmlns:ivy="antlib:org.apache.ivy.ant" name="-check-svn-working-copy" depends="ivy-availability-check,ivy-fail,ivy-configure,resolve-groovy">
+  <target name="-check-svn-working-copy" depends="ivy-availability-check,ivy-fail,ivy-configure,resolve-groovy">
+    <svn-checker/>
+  </target>
+
+  <macrodef xmlns:ivy="antlib:org.apache.ivy.ant" name="svn-checker">
+    <sequential>
     <ivy:cachepath organisation="org.tmatesoft.svnkit" module="svnkit" revision="1.7.8"
       inline="true" conf="default" transitive="true" pathid="svnkit.classpath"/>
+    <local name="svn.checkprops.failed"/>
+    <local name="svn.unversioned.failed"/>
     <script language="groovy" taskname="svn">
       <classpath>
         <path refid="groovy.classpath"/>
@@ -120,5 +127,6 @@
       message="The following files are missing svn:eol-style (or binary svn:mime-type):${line.separator}${svn.checkprops.failed}"/>
     <fail if="svn.unversioned.failed"
       message="Source checkout is dirty after running tests!!! Offending files:${line.separator}${svn.unversioned.failed}"/>
-  </target>
+    </sequential>
+  </macrodef>
 </project>