[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-dev] Effect of showWarnings?

Following David's comment below, I played around with the tycho-compiler-plugin showWarnings parameter [1], and I'm not sure I understood its effect.

I've set up a little example in the bundles/bundle-1 project in this Github project [2], and it seems that showWarnings has no effect: Warnings are logged if and only if useProjectSettings=true. I.e. with showWarnings=true and useProjectSettings=false, *no* warnings are logged, and with showWarnings=false and useProjectSettings=true, the warnings are logged *anyway*.

Another observation was that the warnings in the configured -log file and the console log are always identical. From David's comment below, I first thought that showWarnings is only supposed to affect the console log output.

So am I missing anything, or is showWarning in fact broken/useless?


[1] http://www.eclipse.org/tycho/sitedocs/tycho-compiler-plugin/compile-mojo.html#showWarnings
[2] https://github.com/oberlies/tycho-testbed/tree/compileLog

-----Original Message-----
From: bugzilla-daemon@xxxxxxxxxxx [mailto:bugzilla-daemon@xxxxxxxxxxx] 
Sent: Mittwoch, 25. Februar 2015 19:43
To: Oberlies, Tobias
Subject: [Bug 460487] tycho.compiler-plugin overwrites compiler log output, if more than one jar in a bundle

Product/Component: Tycho / Core

--- Comment #24 from David Williams <david_williams@xxxxxxxxxx> ---
(In reply to Tobias Oberlies from comment #21)

> ... From what I could see,
> setting -log only enables additional logging. It e.g. doesn't disable the
> output to the console log.

Yes, thought I should point out that 
controls compiler warnings being printed in the console log.  

My preference would be to leave that as is, and then *add* this new
functionality, even if a little redundant -- if nothing else, can provide a
sanity check that the two agree with each other? Not to mention, I'm sure some
in community are "used to" having the <showWarnings>. I assume that is
implemented differently as well ... as a "listener" of some sort? (i.e. not all
the same information is printed, as when -log is specified to batch compiler,
such as literal parameters, totals, access warnings, etc. 

Just wanted to be explicit.

You are receiving this mail because:
You are on the CC list for the bug.
You are watching the assignee of the bug.