Issue Details (XML | Word | Printable)

Key: STR-2889
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: James Mitchell
Reporter: Frank W. Zammetti
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Struts 1

Updated Checkstyle rules

Created: 20/Jun/06 12:19 PM   Updated: 04/Jul/07 03:25 AM
Return to search
Component/s: Core, Example Applications, Extras, JSF Integration (Dormant), Scripting, Tag Libraries, Tag Libraries EL (Dormant), Tiles 1 Plugin
Affects Version/s: 1.2 Family, 1.3 Family
Fix Version/s: 1.3.5

File Attachments:
  Size
XML File Licensed for inclusion in ASF works checkstyle_rules.patch 2006-06-20 12:20 PM Frank W. Zammetti 3 kB
Environment: Any

Flags: Patch


 Description  « Hide
Argh, I have the priority choices... shouldn't there be something in between minor and major?!? But I digress...

With reference to this thread on the @dev list:

http://mail-archives.apache.org/mod_mbox/struts-dev/200606.mbox/%3c448F56CF.2060207@omnytex.com%3e

Attached is a patch for the Checkstyle rules that eliminates the two things discussed in this thread. It resolves a few hundred exceptions in core alone (350-400, give or take), and should do the same for all other subprojects. There seemed to be a feeling (don't want to say consensus at this point!) that applying this before the next milestone would be acceptable.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
Struts #415519 Tue Jun 20 06:26:19 UTC 2006 jmitchell STR-2889 (Updated Checkstyle rules)
Thank you Frank Zammetti for the patch.
Files Changed
MODIFY /struts/maven/trunk/build/struts_checks.xml

Frank W. Zammetti added a comment - 20/Jun/06 12:20 PM
Patch for Checkstylr rules file

Frank W. Zammetti made changes - 20/Jun/06 12:20 PM
Field Original Value New Value
Attachment checkstyle_rules.patch [ 13071 ]
Frank W. Zammetti added a comment - 20/Jun/06 12:27 PM
Hehe, late-night typo... That's supposed to be "...I HATE the priority choices..."

James Mitchell added a comment - 20/Jun/06 12:42 PM
Frank, thanks for the patch. By the way, can you turn off 'remove line endings' from your editor? As you probably noticed, it just adds noise to the signal. Nonetheless, thanks again.

--
James Mitchell

James Mitchell added a comment - 20/Jun/06 01:34 PM
Patch applied, however I want to leave this open while more tweaks (if any) are made.

Thanks again.

Wendy Smoak added a comment - 20/Jun/06 07:40 PM

I deployed a snapshot of struts-build.jar, including Frank's changes.

 * http://people.apache.org/maven-snapshot-repository/org/apache/struts/struts-build/

To see the new rules in effect, change the struts-build <extension> version in the struts-action-parent (or other) pom from v1.0.1 to v1.0.2-SNAPSHOT.

(To try out other rule changes locally, modify maven/build/struts_checks.xml, then 'mvn install' from there.

The maven/build directory needs to be organized into src/main/resources, eventually.)


Ted Husted made changes - 07/Jul/06 05:12 PM
Fix Version/s 1.3.5 [ 21721 ]

Wendy Smoak made changes - 12/Jul/06 12:45 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Assignee James Mitchell [ jmitchell ]
Paul Benedict made changes - 04/Jul/07 03:25 AM
Status Resolved [ 5 ] Closed [ 6 ]