Monday, December 9, 2024

RE: Compile error with SmartGWT

Here is the full output:

 

[INFO]  gwt:1.1.0:compile (default-cli) 3DMathPuzzlesWeb ---

[INFO] Compiling module com._3dmathpuzzles.play.Play

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

[INFO]    Compiling 2 permutations

[INFO]       Compiling permutation 0...

[INFO]       Compiling permutation 1...

[INFO]    Compile of permutations succeeded

[INFO]    Compilation succeeded -- 31.908s

[INFO] Linking into C:\OneDrive\Dev\3DMathPuzzlesWeb\html\play\com._3dmathpuzzles.play.Play

[INFO]    Link succeeded

[INFO]    Linking succeeded -- 1.574s

 

Thank you,

 Neil

 

--

Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com

We offer 30 year loans on single family houses!

 

From: google-web-toolkit@googlegroups.com <google-web-toolkit@googlegroups.com> On Behalf Of Colin Alworth
Sent: Monday, December 9, 2024 9:16 PM
To: GWT Users <google-web-toolkit@googlegroups.com>
Subject: Re: Compile error with SmartGWT

 

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:50PM UTC-6 ne...@propfinancing.com 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 <ne...@propfinancing.com>
Sent: Monday, December 9, 2024 9:03 PM
To: 'google-we...@googlegroups.com' <google-we...@googlegroups.com>
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 <ne...@propfinancing.com>
Sent: Monday, December 9, 2024 8:48 PM
To: 'google-we...@googlegroups.com' <google-we...@googlegroups.com>
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 google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/8ff1b3e2-bd79-4b6d-a484-a70dc43ef22dn%40googlegroups.com.

No comments:

Post a Comment