[ 
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 case.

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

Reply via email to