Author: wsmoak
Date: Fri Nov 25 09:16:55 2005
New Revision: 348983
URL: http://svn.apache.org/viewcvs?rev=348983&view=rev
Log:
Make the location of the Checkstyle RegexpHeader file configurable.
Modified:
struts/build/trunk/project.properties
struts/build/trunk/struts_checks.xml
Modified: struts/build/trunk/project.properties
URL:
http://svn.apache.org/viewcvs/struts/build/trunk/project.properties?rev=348983&r1=348982&r2=348983&view=diff
==============================================================================
--- struts/build/trunk/project.properties (original)
+++ struts/build/trunk/project.properties Fri Nov 25 09:16:55 2005
@@ -9,6 +9,8 @@
maven.checkstyle.properties = ${basedir}/build/struts_checks.xml
maven.checkstyle.header.file = ${basedir}/build/LICENSE.txt
+checkstyle.regexp.header=${basedir}/build/LICENSE.Checkstyle
+
maven.compile.source=1.4
maven.compile.target=1.4
Modified: struts/build/trunk/struts_checks.xml
URL:
http://svn.apache.org/viewcvs/struts/build/trunk/struts_checks.xml?rev=348983&r1=348982&r2=348983&view=diff
==============================================================================
--- struts/build/trunk/struts_checks.xml (original)
+++ struts/build/trunk/struts_checks.xml Fri Nov 25 09:16:55 2005
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!--
/*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2001-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -123,7 +123,7 @@
<!-- Following interprets the header file as regular expressions. -->
<!-- <module name="RegexpHeader"/> -->
<module name="RegexpHeader">
- <property name="headerFile"
value="${basedir}/build/LICENSE.CheckStyle"/>
+ <property name="headerFile" value="${checkstyle.regexp.header}"/>
</module>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]