fixed building

This commit is contained in:
oburn 2001-11-03 11:00:48 +00:00
parent 88765958a2
commit 09a67e8664
3 changed files with 26 additions and 22 deletions

View File

@ -112,11 +112,14 @@
</target>
<target name="checkstyle.import" depends="compile.tests">
<taskdef name="checkstyle" reverseloader="true"
classname="com.puppycrawl.tools.checkstyle.CheckStyleTask">
<classpath refid="run.classpath"/>
</taskdef>
<checkstyle file="src/tests/com/puppycrawl/tools/checkstyle/InputImport.java" />
<taskdef name="checkstyle" reverseloader="true"
classname="com.puppycrawl.tools.checkstyle.CheckStyleTask">
<classpath refid="run.classpath"/>
</taskdef>
<echo message="Expect to get a message after checkstyle"/>
<checkstyle failOnViolation="false"
file="src/tests/com/puppycrawl/tools/checkstyle/InputImport.java" />
<echo message="THIS IS THE EXPECTED MESSAGE"/>
</target>
<target name="checkstyle.checkstyle" depends="compile.checkstyle">
@ -184,14 +187,14 @@
basedir="dist/checkstyle-${version}/tmp" />
<delete dir="dist/checkstyle-${version}/tmp" />
<!-- copy documentation -->
<filter token="@@VERSION@@" value="${version}"/>
<copy todir="dist/checkstyle-${version}" filtering="true">
<copy todir="dist/checkstyle-${version}">
<fileset dir=".">
<include name="docs/*"/>
<include name="ChangeLog"/>
<include name="LICENSE*"/>
<include name="README"/>
<include name="RIGHTS.antlr"/>
<include name="TODO"/>
<include name="docs/*"/>
</fileset>
</copy>
<!-- create the final zip & tar/gzip files -->
@ -207,18 +210,19 @@
</target>
<target name="build.srcdist" depends="checkstyle.checkstyle">
<delete dir="dist/checkstyle-src-${version}" />
<mkdir dir="dist/checkstyle-src-${version}" />
<copy todir="dist/checkstyle-src-${version}">
<fileset dir=".">
<exclude name="**/*.jpl" />
<exclude name="**/Generated*.java" />
<exclude name="**/Generated*.txt" />
<exclude name="classes" />
<exclude name="dist" />
<exclude name="javadoc" />
<exclude name="prj.el" />
<exclude name="**/TEST-*" />
</fileset>
<fileset dir=".">
<include name="ChangeLog"/>
<include name="LICENSE*"/>
<include name="README"/>
<include name="RIGHTS.antlr"/>
<include name="TODO"/>
<include name="build.xml"/>
<include name="docs/*"/>
<include name="src/**"/>
</fileset>
</copy>
<!-- Produce the final distributions -->
<zip zipfile="dist/checkstyle-src-${version}.zip">

View File

@ -16,9 +16,9 @@
This task is included in the checkstyle distribution.</p>
<h3>Installation</h3>
<p>The easiest way is to include <span class="default">checkstyle-all-@@VERSION@@.jar</span> in the classpath. This contains all the classes required to run checkstyle. Alternatively, you must include the following in the classpath:</p>
<p>The easiest way is to include <span class="default">checkstyle-all-1.3.jar</span> in the classpath. This contains all the classes required to run checkstyle. Alternatively, you must include the following in the classpath:</p>
<ol>
<li><span class="default">checkstyle-@@VERSION@@.jar</span></li>
<li><span class="default">checkstyle-1.3.jar</span></li>
<li>ANTLR 2.7.1 classes. <span class="default">antlr.jar</span> is included in the distribution.</li>
<li>Jakarta Regexp 1.2 classes. <span class="default">jakarta-regexp-1.2.jar</span> is included in the distribution.</li>
</ol>

View File

@ -18,9 +18,9 @@ This command line tool is included in the checkstyle distribution.</p>
<h3>Installation</h3>
<p>The easiest way is to include <span class="default">checkstyle-all-@@VERSION@@.jar</span> in the classpath. This contains all the classes required to run checkstyle. Alternatively, you must include the following in the classpath:</p>
<p>The easiest way is to include <span class="default">checkstyle-all-1.3.jar</span> in the classpath. This contains all the classes required to run checkstyle. Alternatively, you must include the following in the classpath:</p>
<ol>
<li><span class="default">checkstyle-@@VERSION@@.jar</span></li>
<li><span class="default">checkstyle-1.3.jar</span></li>
<li>ANTLR 2.7.1 classes. <span class="default">antlr.jar</span> is included in the distribution.</li>
<li>Jakarta Regexp 1.2 classes. <span class="default">jakarta-regexp-1.2.jar</span> is included in the distribution.</li>
</ol>