Mike,
What about...
<!-- can't have "no" + "commit" in file or we'll fail our own check -->
<property name="at" value="@">
<property name="no" value="no">
<property name="commit" value="commit">
...
<fail if="validate.patternsFound">The following files contain ${at}author tags,
tabs, svn keywords or
${no}${commit}:${line.separator}${validate.patternsFound}</fail>
?
: Date: Thu, 21 Aug 2014 23:44:17 -0000
: From: [email protected]
: Reply-To: [email protected]
: To: [email protected]
: Subject: svn commit: r1619630 - in /lucene/dev/branches/branch_4x: ./
: build.xml
:
: Author: mikemccand
: Date: Thu Aug 21 23:44:16 2014
: New Revision: 1619630
:
: URL: http://svn.apache.org/r1619630
: Log:
: hmm, can't check .xml yet
:
: Modified:
: lucene/dev/branches/branch_4x/ (props changed)
: lucene/dev/branches/branch_4x/build.xml
:
: Modified: lucene/dev/branches/branch_4x/build.xml
: URL:
http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/build.xml?rev=1619630&r1=1619629&r2=1619630&view=diff
: ==============================================================================
: --- lucene/dev/branches/branch_4x/build.xml (original)
: +++ lucene/dev/branches/branch_4x/build.xml Thu Aug 21 23:44:16 2014
: @@ -81,7 +81,6 @@
: <fileset dir="${validate.currDir}">
: <include name="**/*.java"/>
: <include name="**/*.py"/>
: - <include name="**/*.xml"/>
: <exclude name="**/backwards/**"/>
: <or>
: <containsregexp expression="@author\b" casesensitive="yes"/>
:
:
:
-Hoss
http://www.lucidworks.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]