Anonymous avatar Anonymous committed 0cacfe7

Issue number: QUARTZ-374
Run checkstyle before compiling

git-svn-id: http://svn.opensymphony.com/svn/quartz/trunk@427 69f7d36a-ea1c-0410-88ea-9fd03e4c9665

Comments (0)

Files changed (2)

     </fail>   
    
 	<import file="${common.build}"/>
+    <import file="checkstyle.ant"/>
 
 	<property name="src.jboss" location="${src}/jboss"/>
 	<property name="src.oracle" 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">
         <path>
             <dirset dir="${src}">
 
     </target>
 
-    <target name="compile" depends="common.compile">
+    <target name="compile" depends="checkstyle,common.compile">
 
       <rmic classname="org.quartz.core.QuartzScheduler" classpath="${build.java}" base="${build.java}"/>
     	
     	<copy todir="${dist}" file="${basedir}/EMPTY.MF" />
     	
     </target>
-	
 </project>
     "http://www.puppycrawl.com/dtds/suppressions_1_0.dtd">
 <suppressions>
 	<!--
-    <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: http://checkstyle.sourceforge.net/config.html#Filters
     -->
 </suppressions>
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 ProjectModifiedEvent.java.
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.