Make "ant validate" also check svn working copy (we removed this check, because we wanted to be compatible with GIT checkouts or newer subversion repos). But we ignore those checks automatically, if its not a supported subversion.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624095 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2014-09-10 18:57:08 +00:00
parent e51bce7c68
commit 6ffd8e091b
1 changed files with 4 additions and 2 deletions

View File

@ -81,7 +81,7 @@
</subant>
</target>
<target name="validate" description="Validate dependencies, licenses, etc." depends="-validate-source-patterns">
<target name="-validate">
<subant target="validate" inheritall="false" failonerror="true">
<fileset dir="lucene" includes="build.xml" />
<fileset dir="solr" includes="build.xml" />
@ -89,6 +89,8 @@
<subant buildpath="lucene" target="check-lib-versions" inheritall="false" failonerror="true"/>
</target>
<target name="validate" description="Validate dependencies, licenses, etc." depends="-validate-source-patterns,-validate,check-svn-working-copy"/>
<target name="-validate-source-patterns" unless="disable.source-patterns">
<!-- check that there are no @author javadoc tags, tabs, svn keywords or nocommits: -->
<property name="validate.currDir" location="."/>