[ANN] JRS gwt-time 1.4.15/2.0.3 release

85 views
Skip to first unread message

foal

unread,
Dec 12, 2020, 2:58:25 PM12/12/20
to GWT Users
Hi,


The main point - separate library to modules:


Best,
Stas

David Nouls

unread,
Feb 3, 2021, 10:45:22 AM2/3/21
to GWT Users
I'm trying out gwt-time in my project. But I get some GWT compiler issues.

I am using the 1.4.15 release with GWT 2.8.2 (we can't migrate to 2.9 due to some issues with unsupported generic constructs in that version).
I am using the tbroyer plugin, but I tried adding the module manually just in case but it give the same errors.

Maybe knows how to solve this ?
[INFO]          [ERROR] Errors in 'org/jresearch/threetenbp/gwt/time/super/java/time/format/SimpleDateTimeTextProvider.java'
[INFO]             [ERROR] Line 339: BC cannot be resolved or is not a field
[INFO]             [ERROR] Line 340: AD cannot be resolved or is not a field
[INFO]             [ERROR] Line 345: BC cannot be resolved or is not a field
[INFO]             [ERROR] Line 346: AD cannot be resolved or is not a field
[INFO]             [ERROR] Line 351: BC cannot be resolved or is not a field
[INFO]             [ERROR] Line 352: AD cannot be resolved or is not a field
[INFO]          Tracing compile failure path for type 'java.time.format.SimpleDateTimeTextProvider'
[INFO]             [ERROR] Errors in 'org/jresearch/threetenbp/gwt/time/super/java/time/format/SimpleDateTimeTextProvider.java'
[INFO]                [ERROR] Line 346: AD cannot be resolved or is not a field
[INFO]                [ERROR] Line 352: AD cannot be resolved or is not a field
[INFO]                [ERROR] Line 339: BC cannot be resolved or is not a field
[INFO]                [ERROR] Line 345: BC cannot be resolved or is not a field
[INFO]                [ERROR] Line 351: BC cannot be resolved or is not a field
[INFO]                [ERROR] Line 340: AD cannot be resolved or is not a field
[INFO]          [ERROR] Hint: Check that the type name 'java.time.format.SimpleDateTimeTextProvider' is really what you meant
[INFO]          [ERROR] Hint: Check that your classpath includes all required source roots

David Nouls

unread,
Feb 3, 2021, 11:30:19 AM2/3/21
to GWT Users
Oh it seams I have a conflict with my dependency on gwt-common-lang3 ... included in de.knightsoft-net

foal

unread,
Feb 3, 2021, 1:10:20 PM2/3/21
to GWT Users
Thank you for reporting.

The class uses the constants from java.util.Calendar and java.util.GregorianCalendar that are not emulated by GWT. But all tests (2,803) are gone. 

I will check if I have some tests with SimpleDateTimeTextProvider class and try to reproduce the error. 

Best,
Stanislav

Reply all
Reply to author
Forward
0 new messages