You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/09/02 23:11:41 UTC

[jira] Moved: (MSHARED-128) Exceptions thrown by org.apache.maven.shared.jar.JarAnalyzer constructor should include pathname of the offending file

     [ http://jira.codehaus.org/browse/MSHARED-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann moved MNG-4336 to MSHARED-128:
------------------------------------------------

    Complexity:   (was: Intermediate)
           Key: MSHARED-128  (was: MNG-4336)
       Project: Maven Shared Components  (was: Maven 2)

> Exceptions thrown by org.apache.maven.shared.jar.JarAnalyzer constructor should include pathname of the offending file
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: MSHARED-128
>                 URL: http://jira.codehaus.org/browse/MSHARED-128
>             Project: Maven Shared Components
>          Issue Type: Improvement
>          Components: maven-shared-jar
>            Reporter: Rafal Krzewski
>         Attachments: maven-shared-jar_exception_message.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira