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!
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!
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.
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!
--
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-tool...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/8ff1b3e2-bd79-4b6d-a484-a70dc43ef22dn%40googlegroups.com.
I am glad my bungling around found something useful.
>Out of curiosity, didn't SmartGWT stop being updated about 10 years ago?
According to this page:
https://smartclient.com/product/download.jsp
Version 13.1 was released last month.
>Unfortunately, I only get 502 proxy errors from that site, as well as the smartclient.com homepage.
They seem to have fixed it. The page is loading fine now.
> While I don't believe that an exodus to J2CL is imminent, there are at least a few teams that have migrated their GWT projects to use J2CL instead of the GWT compiler.
Now I am confused. Reading on the Internet, it seems J2CL is meant to replace GWT, but
all the discussions I can find are years old. Given that I am starting a new addition to
my existing code which uses Maven, should I be learning J2CL or GWT?
If it helps, to answer the question, my goal is to write an interactive web-based
version of my current printable puzzles so a user may solve them online.
Thank you for the background info.
I will continue with GWT for now.
Thank you,
Neil
--
Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com
We offer 30 year loans on single family houses!
From: google-we...@googlegroups.com <google-we...@googlegroups.com> On Behalf Of Colin Alworth
Sent: Tuesday, December 10, 2024 11:13 AM
To: GWT Users <google-we...@googlegroups.com>
Subject: Re: Compile error with SmartGWT
If you write Java that is safe for GWT, use annotation processors to generate code as needed, and use jsinterop over JSNI, your codebase will be largely or totally compatible with either GWT or J2CL. Most of gwt-user (except i18n and widgets) have been rewritten already to work with no JSNI and are tested in j2cl. J2CL is maintained by Google, but can be difficult to get started with, especially for existing applications. For new projects there are simple maven archetypes that out of the box will give you smaller and faster applications (on the order or 5-10% each). However, at this time J2CL can only compile new Java syntax if used from Bazel (the maven plugin cannot support this yet), and last I checked J2CL has no support for Java >11 language features (though they are planning on bringing that soon to Java 21, see https://github.com/google/j2cl/discussions/258).
--
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-tool...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/15596144-c576-487c-a27f-78ef3e42a1fbn%40googlegroups.com.