Skip to main content

[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?

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

Back to the top