[jira] [Updated] (FELIX-4249) Make the default error location 1,1 instead of 0,0

2013-09-28 Thread Carsten Ziegeler (JIRA)

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

Carsten Ziegeler updated FELIX-4249:


Fix Version/s: scr generator 1.8.2
   scr ant task 1.9.0
   maven-scr-plugin 1.15.0

> Make the default error location 1,1 instead of 0,0
> --
>
> Key: FELIX-4249
> URL: https://issues.apache.org/jira/browse/FELIX-4249
> Project: Felix
>  Issue Type: Improvement
>  Components: Maven SCR Plugin
>Affects Versions: scr generator 1.8.0
>Reporter: Robert Munteanu
>Assignee: Carsten Ziegeler
>Priority: Minor
> Fix For: maven-scr-plugin 1.15.0, scr ant task 1.9.0, scr 
> generator 1.8.2
>
> Attachments: FELIX-4249-1.patch
>
>
> The scr generator's error reporting places the errors by default at the 0,0 
> coordinates. In practice, this means that in Eclipse the error/warning is 
> associated with the file and shown in the problems view but not in the editor.
> To make this more visible, I suggest that we change the error location to 
> 1,1, which places it in the first line of the file. Should we want to, we can 
> extract line ( but not column ) information from ASM to place the warning 
> closer to the source. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (FELIX-4249) Make the default error location 1,1 instead of 0,0

2013-09-27 Thread Robert Munteanu (JIRA)

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

Robert Munteanu updated FELIX-4249:
---

Attachment: FELIX-4249-1.patch

> Make the default error location 1,1 instead of 0,0
> --
>
> Key: FELIX-4249
> URL: https://issues.apache.org/jira/browse/FELIX-4249
> Project: Felix
>  Issue Type: Improvement
>  Components: Maven SCR Plugin
>Affects Versions: scr generator 1.8.0
>Reporter: Robert Munteanu
>Priority: Minor
> Attachments: FELIX-4249-1.patch
>
>
> The scr generator's error reporting places the errors by default at the 0,0 
> coordinates. In practice, this means that in Eclipse the error/warning is 
> associated with the file and shown in the problems view but not in the editor.
> To make this more visible, I suggest that we change the error location to 
> 1,1, which places it in the first line of the file. Should we want to, we can 
> extract line ( but not column ) information from ASM to place the warning 
> closer to the source. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira