Bug 654568

Summary: Checkstyle no longer works in F14 due to dependency rename
Product: [Fedora] Fedora Reporter: Lukas Zapletal <lzap>
Component: checkstyleAssignee: Stanislav Ochotnicky <sochotni>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 14CC: dbhole, sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: checkstyle-5.1-2.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-19 22:39:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Git patch against F14 branch none

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.