Anonymous avatar Anonymous committed 0cacfe7

Issue number: QUARTZ-374
Run checkstyle before compiling

git-svn-id: 69f7d36a-ea1c-0410-88ea-9fd03e4c9665

Comments (0)

Files changed (2)

 	<import file="${}"/>
+    <import file="checkstyle.ant"/>
 	<property name="src.jboss" location="${src}/jboss"/>
 	<property name="" location="${src}/oracle"/>
     <available property="oracle.present" classname="oracle.sql.BLOB" classpathref="cp"/>
     <available property="weblogic.present" classname="weblogic.jdbc.jts.Driver" classpathref="cp"/>
   	<available property="jboss.present" classname="org.jboss.system.ServiceMBeanSupport" classpathref="cp"/>
     <pathconvert property="javadoc.sourcepath">
             <dirset dir="${src}">
-    <target name="compile" depends="common.compile">
+    <target name="compile" depends="checkstyle,common.compile">
       <rmic classname="org.quartz.core.QuartzScheduler" classpath="${}" base="${}"/>
     	<copy todir="${dist}" file="${basedir}/EMPTY.MF" />
-    <suppress checks=".*" files="\\src\\java\\"/> 
-    <suppress checks=".*" files="\\src\\oracle\\"/> 
-    <suppress checks=".*" files="\\src\\weblogic\\"/> 
-    <suppress checks=".*" files="\\src\\jboss\\"/> 
-    <suppress checks=".*" files="\\src\\test\\"/> 
+    Use this file to disable specific checkstyle checks for specific files.  
+    Please do not diable checks for specific line numbers as that is difficult
+    to maintain.
+    For usage see:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.