From 61744406b8c1e90ecedf2f14445a61b07e98a094 Mon Sep 17 00:00:00 2001
From: Oliver Burn
Date: Sun, 19 Sep 2010 12:15:42 +0000
Subject: [PATCH] verify that xdocs can be filtered prior to generation. (this
breaks the ANT build again)
---
pom.xml | 15 ++++++++-------
src/xdocs/{cmdline.xml => cmdline.xml.vm} | 14 ++++++++------
2 files changed, 16 insertions(+), 13 deletions(-)
rename src/xdocs/{cmdline.xml => cmdline.xml.vm} (93%)
diff --git a/pom.xml b/pom.xml
index d6ea76f1e..f91df171a 100755
--- a/pom.xml
+++ b/pom.xml
@@ -9,8 +9,8 @@
checkstyle
http://checkstyle.sourceforge.net/
- SourceForge
- http://sourceforge.net/tracker/?group_id=29721
+ SourceForge
+ http://sourceforge.net/tracker/?group_id=29721
2001
@@ -40,35 +40,35 @@
lkuehne
Lars Kühne
-
+
developer
rickgiles
Rick Giles
-
+
developer
o_sukhodolsky
Oleg Sukhodolsky
-
+
developer
mstudman
Michael Studman
-
+
developer
tschneeberger
Travis Schneeberger
-
+
developer
@@ -104,6 +104,7 @@
iso-8859-1
${basedir}/src/testinputs/com/puppycrawl/tools/checkstyle
+ ${project.version}
diff --git a/src/xdocs/cmdline.xml b/src/xdocs/cmdline.xml.vm
similarity index 93%
rename from src/xdocs/cmdline.xml
rename to src/xdocs/cmdline.xml.vm
index ac700cebf..65125c0a9 100755
--- a/src/xdocs/cmdline.xml
+++ b/src/xdocs/cmdline.xml.vm
@@ -1,6 +1,8 @@
-
+
Command Line
@@ -21,7 +23,7 @@
The easiest way is to include checkstyle-all-@CHECKSTYLE_VERSION@.jar in the
+ class="default">checkstyle-all-${projectVersion}.jar in the
classpath. If you are running JDK 5.0 this contains all the classes
required to run Checkstyle. Alternatively, you must include the
following in the classpath:
@@ -29,7 +31,7 @@
- checkstyle-@CHECKSTYLE_VERSION@.jar
+ checkstyle-${projectVersion}.jar
ANTLR 2.7.6 classes. antlr.jar is
@@ -197,10 +199,10 @@ java com.puppycrawl.tools.checkstyle.Main -c docs/sun_checks.xml \
the -jar option. An example would be:
-
-java -jar checkstyle-all-@CHECKSTYLE_VERSION@.jar \
+
+java -jar checkstyle-all-${projectVersion}.jar \
-c docs/sun_checks.xml Check.java
-
+