]> source.dussan.org Git - poi.git/commitdiff
Fix pattern for license check failure
authorDominik Stadler <centic@apache.org>
Mon, 20 Jan 2014 19:55:44 +0000 (19:55 +0000)
committerDominik Stadler <centic@apache.org>
Mon, 20 Jan 2014 19:55:44 +0000 (19:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1559818 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index 761ae1de7f17d86cf10942870c6e2ca7a3e1eed6..267203f3e0aa884a42631c1789e64c949350542f 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -1379,7 +1379,6 @@ under the License.
        <echo>${rat.reportcontent}</echo> 
        
        <!-- fail the build if at least one note is in the report -->
-       <fail><condition><not><contains string="${rat.reportcontent}" substring="Notes: 0"/></not></condition>
-       </fail>
+       <fail><condition><matches pattern="[1-9][0-9]* Unknown Licens" string="${rat.reportcontent}"/></condition></fail>
     </target>
 </project>