Oliver Burn
8dd310c982
Changes to get the header check going again. I like the
...
change that was made for the properties, it leverages
off the work we did in the 2.4 release to allow properties
to be overriden in the ANT file.
It is now possible to run the checkstyle task from any
directory - nothing is now location specific. This includes
the location of the header file or the DTDs. Good to
finally reach this milestone.
2002-12-07 12:18:57 +00:00
Oliver Burn
52fa475168
Changed to make the XML be validated using the DTD. The
...
DTD is located using a technique that gets it from the JAR
file. Idea "borrowed" from Struts.
2002-12-07 03:28:36 +00:00
Oliver Burn
230d434a19
Copy across the XML files to be in the classpath. This will
...
get the 'run.checkstyle' target to run.
2002-12-06 04:10:49 +00:00
Oliver Burn
2e94e8b498
Can now override the config file
2002-11-25 00:56:24 +00:00
Oliver Burn
fe98987973
Minor cleanup
2002-11-21 10:53:14 +00:00
Oliver Burn
59ef3ec378
fix minor bug
2002-11-14 12:06:45 +00:00
Oliver Burn
c6fcfc3e22
Updated to include the checks package. I am thinking that standard Javadoc is
...
a good way to document our checks. Suggest others generate the Javadoc and
have a look at it.
2002-11-14 12:02:06 +00:00
Rick Giles
4a638fc0e6
Added global-property to DTD.
...
Removed DTD from XML file until fix of ConfigurationLoader
2002-11-14 10:10:27 +00:00
Rick Giles
a5adce4215
added a JUnit TestSuite for all the tests
2002-11-14 00:39:49 +00:00
Oliver Burn
4cbd709c01
This is a really enjoyable commit to make. I have finally got to remove the
...
ugly Verifier class. The only remaining check are based on the new fileset
check that Lars putting together. Magic. :-)
2002-11-13 04:21:21 +00:00
Rick Giles
113081ffce
added task to validate XML files
2002-11-13 00:08:34 +00:00
Oliver Burn
1cea376589
Refactoring the command line processing to use the new Jakarta Commons package
...
http://jakarta.apache.org/commons/cli/ . It is quite a nice package.
2002-11-11 21:52:55 +00:00
Oliver Burn
36af550d96
Changes for clover
2002-11-09 10:32:31 +00:00
Oliver Burn
215db57b5f
changed I added to support Clover - still need to re-factor slightly.
2002-11-07 20:49:40 +00:00
Oliver Burn
e7556f4af6
Fixed more Checkstyle errors.
2002-11-06 02:52:12 +00:00
Lars Kühne
fde1418532
include the new commons jars in checkstyle-all.jar
2002-11-02 18:20:12 +00:00
Oliver Burn
3288a81e30
Just converted over the Checkstyle ANT task to use the new framework. In
...
process I had to fix numerous errors now being reported.
There are some bugs with the method checks, which I will now investigate.
2002-11-02 12:22:14 +00:00
Oliver Burn
2effcfd0bc
Start of conversion to only supporting the new framework. Also refactored
...
error handling.
2002-10-31 12:28:47 +00:00
Oliver Burn
3f14872d33
Added a target to run the gui
2002-10-19 06:26:09 +00:00
Oliver Burn
253994d210
Changed so that todo checking is off by default
2002-10-14 11:55:53 +00:00
Oliver Burn
51941dcf24
added TreeViewer to help with development.
2002-10-06 23:52:34 +00:00
Oliver Burn
856fdd282b
Added the ability to selectively run a test
2002-09-29 05:53:30 +00:00
Oliver Burn
d7142fd15f
Implemented the parameter name check. Oh so easy. :-)
2002-09-25 13:43:06 +00:00
Oliver Burn
03c8a0a7ee
Refactoring the way the Checker is configured. Not happy with the current
...
approach - it was hack. Changing to be that the Configuration will eventually
contain the CheckConfiguration objects.
Also adding support setting the properties on created checks. I am adding this
using the Jakarta Commons library as it makes it very easy.
Oh - I am now back online - no thanks to Sprint blocking my ISP for a couple
of days. I may have lost a couple of emails. :-(
2002-09-25 12:24:50 +00:00
Lars Kühne
e4434ebe00
added new Java 1.4 grammar
2002-09-22 12:21:39 +00:00
Oliver Burn
78bc37d673
Fixed bug in Check
2002-09-21 14:04:16 +00:00
Oliver Burn
19257b2cdb
Added the tree walker (with all the bugs hopefully marked with TODO:
...
comments). Currently keeping the old grammars around so we can checkstyle the
new checkstyle will old version. Kind of a version of boot strapping. :-)
2002-09-15 12:44:17 +00:00
Oliver Burn
75482cc4f0
disable todo checking when run under gump
2002-09-15 11:30:51 +00:00
Oliver Burn
f888422e8d
going for a release
2002-09-14 03:19:11 +00:00
Oliver Burn
92ea4cfb51
Backed out the BCEL based checking for unused class member variables.
2002-09-10 10:57:09 +00:00
Oliver Burn
7f06106f4e
Yahoo! Implemented checking for unused private fields. Just need to document
...
the new feature. It is off by default as the class path must be set up. Can
use the same technique for private methods.
2002-09-08 07:31:37 +00:00
Oliver Burn
49eb0e934e
Yet another refactor to have the ANT task support a nested <property>
...
element. This let me remove the ugly have I put in to support relative
paths. Got the idea from Vincet Massol. Bug 605141.
2002-09-07 01:36:40 +00:00
Oliver Burn
8a2f9d179f
Fixed bugs in the build.xml file.
2002-09-04 14:30:14 +00:00
Oliver Burn
98d883bb3b
Major refactor of the CheckerTest to configure using properties.
2002-09-04 13:28:53 +00:00
Oliver Burn
54948c48df
Moved test inputs files to another directory so that Eclipse does not give
...
lots of error messages. Another reason that IDEA is nicer :-)
2002-09-02 12:09:51 +00:00
Lars Kühne
f9a1fdc539
create messages_en.properties in compile.checkstyle, fixes bug #594469
2002-08-28 22:03:09 +00:00
Oliver Burn
a021a7e165
Incorporate Japanese translation of messages from Shinya OHNUMA [ ohnuma AT
...
bump DOT co DOT jp.
2002-08-25 09:13:29 +00:00
Oliver Burn
f730e48c11
Added ant.jar to the build classpath.
2002-08-19 04:04:30 +00:00
Oliver Burn
25a13442f2
Fixed bug (594469) where unit tests would fail under different locales. Also
...
fixed a potential bug on how messages are located.
2002-08-14 01:58:44 +00:00
Oliver Burn
20483ae032
Major rework to support localized error messages. Inspired by patch 580410. At
...
the moment it is not possible to override the system locale, this probably
should be added.
Now possible to specify the locale to use.
2002-08-11 10:01:01 +00:00
Oliver Burn
d499f72239
Now a more general copy of properties
2002-08-10 14:05:50 +00:00
Oliver Burn
5b91d31fda
Incorporate patch 590931 from Vijay Aravamudhan.
2002-08-10 09:18:29 +00:00
Oliver Burn
2ed0830312
update the version number.
2002-07-09 00:11:30 +00:00
Oliver Burn
aff6f86e0c
Updated the version number
2002-07-04 02:29:55 +00:00
Oliver Burn
4d544631b4
Fix problem where the logo was being corrupted by filtering.
2002-07-04 02:25:31 +00:00
Oliver Burn
16d56903b1
Set the attribute Main-Class in the JAR file to allow checkstyle to be run
...
with the -jar option. Also no longer distribute generated source files.
2002-07-03 23:49:42 +00:00
Oliver Burn
e8d3bc4502
Stop distributing generated source files.
2002-07-03 02:54:30 +00:00
Oliver Burn
c78b70a9cd
Refactoring to have all the generated stuff done under target (inspired by
...
Maven).
2002-07-03 01:43:27 +00:00
Oliver Burn
b3133035a4
576165: better error handling for missing properties file.
2002-07-02 11:51:56 +00:00
Oliver Burn
bbe51f6884
571161: Added support for basedir attribute.
2002-07-01 01:57:36 +00:00