Bug 654568 - Checkstyle no longer works in F14 due to dependency rename
Summary: Checkstyle no longer works in F14 due to dependency rename
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: checkstyle
Version: 14
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Stanislav Ochotnicky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-18 09:51 UTC by Lukas Zapletal
Modified: 2010-11-19 22:39 UTC (History)
2 users (show)

Fixed In Version: checkstyle-5.1-2.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-19 22:39:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Git patch against F14 branch (1.11 KB, patch)
2010-11-18 09:51 UTC, Lukas Zapletal
no flags Details | Diff

Description Lukas Zapletal 2010-11-18 09:51:58 UTC
Created attachment 461255 [details]
Git patch against F14 branch

Description of problem:

In F14 several packages were renamed:
    
    jakarta-commons-logging -> apache-commons-logging
    
    jakarta-commons-beanutils -> apache-commons-beanutils

We need to modify the script that calls checkstyle. Easy change.


Steps to Reproduce:
1. Install checkstyle
2. Run checkstyle on some data
3. Errors Could not find jakarta-commons-logging.jar and jakarta-commons-beanutils.jar appear and checkstyle stops
  
Actual results:
$ build-classpath jakarta-commons-logging.jar
/usr/bin/build-classpath: error: Could not find jakarta-commons-logging.jar Java extension for this JVM
/usr/bin/build-classpath: error: Some specified jars were not found

$ build-classpath jakarta-commons-beanutils.jar
/usr/bin/build-classpath: error: Could not find jakarta-commons-beanutils.jar Java extension for this JVM
/usr/bin/build-classpath: error: Some specified jars were not found

Expected results:
]$ build-classpath apache-commons-logging.jar
/usr/share/java/apache-commons-logging.jar

$ build-classpath apache-commons-beanutils.jar
/usr/share/java/apache-commons-beanutils.jar

Additional info:

I am attaching patch to fix it.

Comment 1 Fedora Update System 2010-11-18 13:52:13 UTC
checkstyle-5.1-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/checkstyle-5.1-2.fc14

Comment 2 Fedora Update System 2010-11-19 00:01:43 UTC
checkstyle-5.1-2.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update checkstyle'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/checkstyle-5.1-2.fc14

Comment 3 Fedora Update System 2010-11-19 22:39:12 UTC
checkstyle-5.1-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.