felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FELIX-1708) Improve error reporting
Date Tue, 06 Oct 2009 12:43:31 GMT

     [ https://issues.apache.org/jira/browse/FELIX-1708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Felix Meschberger resolved FELIX-1708.

    Resolution: Fixed

Implemented the improved logging in Rev. 822249:

  * SCRDescriptorException supports source location and line number information
  * Log interface has error and warn signatures taking source location and line number information
  * JavaTag adds method to return line number information (if available)

Plus added source location information for logging and SCRDescrptorException throwing in almost
all places (where applicable)

> Improve error reporting
> -----------------------
>                 Key: FELIX-1708
>                 URL: https://issues.apache.org/jira/browse/FELIX-1708
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven SCR Plugin
>    Affects Versions: maven-scr-plugin-1.4.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: maven-scr-plugin-1.4.1
> Currently error reporting in the Maven SCR Plugin is rather straightforward supporting
only string messages.
> Now, that the SCR Plugin can be used outside of the Maven scope where more functionality
may be provided, a more detailed error reporting mechanism might make sense. Specifically,
support for providing three part messages (source, line number, message) would be very helpfull
in certain situations and would also allow for a more standardized log formatting in the maven

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message