You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by ws...@apache.org on 2006/07/06 06:12:51 UTC
svn commit: r419430 - /struts/maven/trunk/build/struts_checks.xml
Author: wsmoak
Date: Wed Jul 5 21:12:49 2006
New Revision: 419430
URL: http://svn.apache.org/viewvc?rev=419430&view=rev
Log:
Convert LICENSE.CheckStyle to a single line (replacing newlines with \n) and add it to struts_checks.xml.
Once again, the double quotes around "AS IS" and "LICENSE" were converted to '.' in the regexp.
STR-2853
Modified:
struts/maven/trunk/build/struts_checks.xml
Modified: struts/maven/trunk/build/struts_checks.xml
URL: http://svn.apache.org/viewvc/struts/maven/trunk/build/struts_checks.xml?rev=419430&r1=419429&r2=419430&view=diff
==============================================================================
--- struts/maven/trunk/build/struts_checks.xml (original)
+++ struts/maven/trunk/build/struts_checks.xml Wed Jul 5 21:12:49 2006
@@ -134,9 +134,10 @@
<!-- Following interprets the header file as regular expressions. -->
<!-- <module name="RegexpHeader"/> -->
- <!--module name="RegexpHeader">
- <property name="headerFile" value="${checkstyle.regexp.header}"/>
- </module-->
+ <module name="RegexpHeader">
+ <property name="header"
+ value="/\*\s*\n \*\s*\$Id.*\$\n \*\s*\n \*\s*Copyright \d{4}(-\d{4}|,\d{4})* The Apache Software Foundation\.\n \*\s*\n \*\s*Licensed under the Apache License, Version 2\.0 \(the .License.\);\n \*\s*you may not use this file except in compliance with the License\.\n \*\s*You may obtain a copy of the License at\n \*\s*\n \*\s*http://www\.apache\.org/licenses/LICENSE\-2\.0\n \*\s*\n \*\s*Unless required by applicable law or agreed to in writing, software\n \*\s*distributed under the License is distributed on an .AS IS. BASIS,\n \*\s*WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.\n \*\s*See the License for the specific language governing permissions and\n \*\s*limitations under the License\.\n \*/\s*"/>
+ </module>
<!-- Checks for imports -->