Issue Type: Improvement Improvement
Affects Versions: current
Assignee: Ulli Hafner
Components: warnings
Created: 14/Jan/14 3:16 PM
Description:

Building Java sources with Maven using org.eclipse.tycho:tycho-compiler-jdt:0.19.0 produces compiler warnings in a slightly different format than older versions:

0.19.0
[WARNING] /path/to/job/job-name/module/src/main/java/com/example/Example.java:[13]
	something.getOldValue();
	          ^^^^^^^^^^^^^
The method getOldValue() from the type SomeType is deprecated

before 0.19.0
[WARNING] /path/to/job/job-name/module/src/main/java/com/example/Example.java:[13,0]
	something.getOldValue();
	          ^^^^^^^^^^^^^
The method getOldValue() from the type SomeType is deprecated

The only difference is the specification of the location within the source file:
[13] vs. [13,0]

The leads to the problem that when using the "Java Compiler (Eclipse)" parser does not detect any warnings.
When using the "Java Compiler (javac)" parser instead, the warnings are detected but the message is not extracted.

I've already patched the parser and will submit a pull request soon.

Project: Jenkins
Priority: Major Major
Reporter: Uwe Petschke
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

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to