Issue Details (XML | Word | Printable)

Key: MSHARED-128
Type: Improvement Improvement
Status: Closed Closed
Resolution: Duplicate
Priority: Major Major
Assignee: Olivier Lamy
Reporter: Rafal Krzewski
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Maven Shared Components

Exceptions thrown by org.apache.maven.shared.jar.JarAnalyzer constructor should include pathname of the offending file

Created: 02/Sep/09 04:07 PM   Updated: 04/Sep/09 04:23 PM   Resolved: 04/Sep/09 04:23 PM
Component/s: maven-shared-jar
Affects Version/s: None
Fix Version/s: maven-shared-jar-1.1

Time Tracking:
Not Specified

File Attachments: 1. Text File maven-shared-jar_exception_message.patch (4 kB)

Issue Links:
Related
 

Testcase included: yes
Patch Submitted: Yes


 Description  « Hide

A corrupted jar file in the repository, or an attempt to use classes directory in place of a jar during a build is tricky do diagnose, because the exception message does not reveal which file could not been opened.

The attached patch includes the pathname in the exception message.
JarAnalyzerTest was enhanced accordingly.



There are no comments yet on this issue.