db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r358532 - in /db/ddlutils/trunk: build.xml lib/build-only/checkstyle-4.0-beta6.jar
Date Thu, 22 Dec 2005 08:47:23 GMT
Author: tomdz
Date: Thu Dec 22 00:47:18 2005
New Revision: 358532

URL: http://svn.apache.org/viewcvs?rev=358532&view=rev
Log:
Removed checkstyle jar due to licensing issues (but the Ant target is still available)

Removed:
    db/ddlutils/trunk/lib/build-only/checkstyle-4.0-beta6.jar
Modified:
    db/ddlutils/trunk/build.xml

Modified: db/ddlutils/trunk/build.xml
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/build.xml?rev=358532&r1=358531&r2=358532&view=diff
==============================================================================
--- db/ddlutils/trunk/build.xml (original)
+++ db/ddlutils/trunk/build.xml Thu Dec 22 00:47:18 2005
@@ -267,7 +267,16 @@
   <!-- ================================================================== -->
   <target name="checkstyle"
           description="Checks the sourcecode via Checkstyle">
-    <taskdef resource="checkstyletask.properties"
+    <fail message="Due to licensing issues, DdlUtils is not distributed with Checkstyle.
If you want to use this task, then please put the checkstyle jar into the lib subdirectory.">
+      <condition>
+        <not>
+          <available classpathref="compilation-classpath"
+                     resource="checkstyletask.properties"/>
+        </not>
+      </condition>
+    </fail>
+
+      <taskdef resource="checkstyletask.properties"
              classpathref="compilation-classpath"/>
 
     <checkstyle config="${src.check.dir}/ddlutils-checks.xml"
@@ -277,7 +286,7 @@
       <fileset dir="${src.test.dir}"
                includes="**/*.java"/>
 
-      <formatter type="plain"/>
+      <formatter type="plain" usefile="false"/>
       <!-- Location of cache-file (project specific) -->
       <property key="checkstyle.cache.file" file="${build.check.dir}/checkstyle/cachefile"/>
     </checkstyle>



Mime
View raw message