[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] FailOnWarning in JDT batch compiler



On Thu, May 23, 2019 at 3:44 PM Aleksandar Kurtakov <akurtako@xxxxxxxxxx> wrote:
I have a preliminary patch to support -err:warn (if acceptable from JDT side) from tycho side . Can anyone point us in theÂright direction to add such an option to JDT?

Opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=547591 to track this work.
Please note that this all started from the desire to have Gerrit fail for our builds when new warning is introduced https://bugs.eclipse.org/bugs/show_bug.cgi?id=540419 .
Â

On Tue, May 21, 2019 at 5:06 PM Jayaprakash Arthanareeswaran <jarthana@xxxxxxxxxx> wrote:
I just went over the code and options but unfortunately, I don't see an option like that.
Â
Jay
Â
----- Original message -----
From: SCHREIBER.Martin <Martin.SCHREIBER@xxxxxxxxxxxxx>
Sent by: jdt-dev-bounces@xxxxxxxxxxx
To: "jdt-dev@xxxxxxxxxxx" <jdt-dev@xxxxxxxxxxx>
Cc:
Subject: [EXTERNAL] [jdt-dev] FailOnWarning in JDT batch compiler
Date: Tue, May 21, 2019 7:20 PM
Â

Hi JDT-Team,

Â

there is a feature request in Tycho to support the compiler switch âfailOnWarningâ [1].

From what I can see in the JDT batch options, this simple fail on default warnings is not supported.

Is this correct? Is there another way to tell JDT to fail if warnings occur?

Â

Thanks!

Martin

Â

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=547470

[2] https://help.eclipse.org/2019-03/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-using_batch_compiler.htm&resultof=%22%6a%64%74%22%20%22%62%61%74%63%68%22%20

Â

_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jdt-dev
Â

_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jdt-dev


--
Alexander Kurtakov
Red Hat Eclipse Team


--
Alexander Kurtakov
Red Hat Eclipse Team