[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cbi-dev] How to get compiler warnings in CBI build
|
you can pass any compiler-specific argument with <compilerArgument> line or <compilerArguments> map
See tycho docs http://eclipse.org/tycho/sitedocs/tycho-compiler-plugin/compile-mojo.html
JDT compiler args see http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-using_batch_compiler.htm
> <showDeprecation>true</showDeprecation>
> <showWarnings>true</showWarnings>
yes this should work. JDT has much more fine granular control over warning/error levels though, see docs above.
>Also, there's a way to ask JDT to create a log file of what it does. If I want to create it in every target directory, can I use ${project.build.directory}/logfile in the parent pom
>compiler configuration and will it be substituted correctly for each plugin?
if you are talking about the JDT "-log" argument, yes this should work, just try it out.
Jan
From: cbi-dev-bounces@xxxxxxxxxxx [mailto:cbi-dev-bounces@xxxxxxxxxxx] On Behalf Of Paul Webster
Sent: Dienstag, 27. November 2012 12:47
To: Common-build Developers discussion
Subject: [cbi-dev] How to get compiler warnings in CBI build
In PDE build we run with the compiler warnings on (Discouraged access, etc). How can I turn it on for tycho?
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
With this?
Also, there's a way to ask JDT to create a log file of what it does. If I want to create it in every target directory, can I use ${project.build.directory}/logfile in the parent pom compiler configuration and will it be substituted correctly for each plugin?
Later,
PW
--
Paul Webster
Hi floor. Make me a sammich! - GIR