Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27982 - [NEW] checkstyle-3.1
Summary: [NEW] checkstyle-3.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Java team
URL: http://checkstyle.sourceforge.net
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-09-04 23:25 UTC by Bob Thomas
Modified: 2004-02-22 12:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for checkstyle 3.1 (checkstyle-3.1.ebuild,665 bytes, text/plain)
2003-09-04 23:28 UTC, Bob Thomas
Details
ebuild for checkstyle 3.1 (checkstyle-3.1.ebuild,665 bytes, text/plain)
2003-09-04 23:28 UTC, Bob Thomas
Details
ebuild for checkstyle 3.1 (checkstyle-3.1.ebuild,1.02 KB, text/plain)
2003-09-05 13:24 UTC, Bob Thomas
Details
ebuild for checkstyle 3.1 (checkstyle-3.1.ebuild,1.17 KB, text/plain)
2003-09-08 18:11 UTC, Bob Thomas
Details
checkstyle-3.3 ebuild (checkstyle-3.3.ebuild,1.20 KB, text/plain)
2004-02-16 22:50 UTC, Andrew Sayman
Details
checkstyle-3.3 diff from checkstyle-3.1 ebuild (checkstyle-3.3.diff,951 bytes, text/plain)
2004-02-16 23:05 UTC, Andrew Sayman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Thomas 2003-09-04 23:25:33 UTC
A development tool to help programmers write Java code that adheres to a coding
standard.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Bob Thomas 2003-09-04 23:28:40 UTC
Created attachment 17105 [details]
ebuild for checkstyle 3.1

Would like feedback from someone who wrote similar ebuilds. I haven't written
many, and would like all the advice anyone can give.
Comment 2 Bob Thomas 2003-09-04 23:28:49 UTC
Created attachment 17106 [details]
ebuild for checkstyle 3.1

Would like feedback from someone who wrote similar ebuilds. I haven't written
many, and would like all the advice anyone can give.
Comment 3 Bob Thomas 2003-09-05 13:24:31 UTC
Created attachment 17130 [details]
ebuild for checkstyle 3.1

Sorry about the double-post earlier. I got a server error and didn't think it
went through. I updated the ebuild to depend on libraries that are in portage,
but are also included with checkstyle, and then not installing the ones that
come with checkstyle.
Comment 4 Bob Thomas 2003-09-08 18:11:33 UTC
Created attachment 17302 [details]
ebuild for checkstyle 3.1

Last one, I swear! All I changed was added the sample check files to be
installed. I realized that I needed those and so would most people.
Comment 5 Bob Thomas 2003-11-20 15:22:15 UTC
Latest 3.x version is 3.2. Bumping the version is all that is required to get it to build. I don't think checkstyle 3.1 works with the newest version of regexp, but I'm not sure of any exact version dependencies. I have the latest stable version of all the dependencies, and it works fine with 3.2.
Comment 6 Andrew Sayman 2004-02-16 22:50:25 UTC
Created attachment 25748 [details]
checkstyle-3.3 ebuild

Here is one for the latest checkstyle-3.3. I added moving the contrib directory
so that people using ant and the transforms still have a convenient way to get
to the stylesheets. I also bumped the jdk requirement because the checkstyle
website claims that the ant task requires a 1.4 jdk for JAXP.

I initially had trouble getting this to work according to the instructions on
the website, but it turns out that there's are wrong. They recommend not having
checkstyle on the classpath. This isn't true for the src build. antlr needs
checkstyle on the classpath. Should we inform the user of this somehow after
emerging checkstyle? Because it's very easy to think the build is faulty
because there aren't many documented solutions. (I've submitted a bug to
checkstyle.sf.net about it)
Comment 7 Andrew Sayman 2004-02-16 23:05:16 UTC
Created attachment 25749 [details]
checkstyle-3.3 diff from checkstyle-3.1 ebuild

Here's a diff with a few more changes. I tried to fix the header, but repoman
still complains about it and a few of the dependencies. I'm not sure how to fix
them honestly...

I also removed every arch keyword except ~x86. I only have x86 and this is the
only place that I tested it.
Comment 8 Chris Aniszczyk (RETIRED) gentoo-dev 2004-02-22 12:33:11 UTC
In portage now, thanks ;)