On a closer look, I think the text of that message has a typo - the specific message you are seeing should indicate that there were compiler *warnings*, not errors that were detected in the first pass.
https://github.com/gwtproject/gwt/blob/c2229e7557450cd2842269f5fe9cb8586e90b50c/dev/core/src/com/google/gwt/dev/javac/CompilationStateBuilder.java#L366-L389 I've filed https://github.com/gwtproject/gwt/issues/10053 to track this. On Monday, December 9, 2024 at 9:15:51 PM UTC-6 Colin Alworth wrote: > I'm surprised to see that it says that a warning is considered to be a > compilation error, and trigger that notice. Can you confirm that with > failOnError set, you no longer get the "Ignored 1 unit with compilation > errors in first pass."? If so, we might have a (minor) bug in how we handle > JDT errors/warnings. > > Note that it is generally a good idea to have that flag enabled - > compilation errors in unused files will require that incremental builds in > super dev mode must rebuild some unchanged types to see if the errors have > been resolved with the changes, which will negatively impact performance. > > On Monday, December 9, 2024 at 9:11:50 PM UTC-6 [email protected] > wrote: > >> I set this configuration parameter: >> >> >> <failOnError>true</failOnError> >> >> >> >> And I get this warning: >> >> >> >> [INFO] [WARN] Warnings in >> 'jar:file:/C:/Users/neil/.m2/repository/com/isomorphic/smartgwt/lgpl/smartgwt-lgpl/13.1-p20241207/smartgwt-lgpl-13.1-p20241207.jar!/com/smartgwt/client/widgets/tab/TabSet.java' >> >> [INFO] [WARN] Line 2133: Referencing deprecated class >> 'com.smartgwt.client.widgets.tab.events.AddTabClickedEvent' >> >> >> >> That is in the smartgwt library so I assume it will work ok. >> >> >> >> Thank you, >> >> Neil >> >> >> >> -- >> >> Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com >> >> We offer 30 year loans on single family houses! >> >> >> >> *From:* Neil Aggarwal <[email protected]> >> *Sent:* Monday, December 9, 2024 9:03 PM >> *To:* '[email protected]' <[email protected]> >> *Subject:* RE: Compile error with SmartGWT >> >> >> >> I figured out I need to put this directive in my configuration >> for the GWT maven plugin: >> >> >> <logLevel>WARN</logLevel> >> >> >> >> But, now I get a huge amount of output. >> >> >> >> I am going to try to work through it, but if anyone can offer some >> guidance, >> >> it will be helpful. >> >> >> >> Thank you, >> >> Neil >> >> >> >> -- >> >> Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com >> >> We offer 30 year loans on single family houses! >> >> >> >> *From:* Neil Aggarwal <[email protected]> >> *Sent:* Monday, December 9, 2024 8:48 PM >> *To:* '[email protected]' <[email protected]> >> *Subject:* Compile error with SmartGWT >> >> >> >> Hey everyone: >> >> >> >> I am trying to migrate my project to SmartGWT. >> >> >> >> When I compile it, I get this message: >> >> [INFO] Compiling module com._3dmathpuzzles.play.Play >> >> [INFO] Ignored 1 unit with compilation errors in first pass. >> >> [INFO] Compile with -strict or with -logLevel set to DEBUG or WARN to see >> all errors. >> >> >> >> Where do I put in the -strict or -logLevel to see the error? >> >> >> >> I am using Eclipse version 2024-09 with the Maven plugin. >> >> >> >> Thank you, >> >> Neil >> >> >> >> -- >> >> Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com >> >> We offer 30 year loans on single family houses! >> >> >> > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/ad38adaa-e002-4a4c-9fd7-0cf81f410c7en%40googlegroups.com.
