Re: gwt-maven-springboot-archetype updated ...

2024-05-24 Thread Thomas Broyer
On Thursday, May 23, 2024 at 6:31:18 PM UTC+2 frank.h...@googlemail.com wrote: Running a `mvn clean verify` generate the project and compares it with predefined sources. Similar to your gwt-maven-archetype. What not gets tested, is building a war and run it. Ah, apparently it also gets

Re: JSInterop and "JSON.stringify" method return "Converting circular structure to JSON"

2024-05-22 Thread Thomas Broyer
On Wednesday, May 22, 2024 at 12:43:56 PM UTC+2 tenti...@gmail.com wrote: I misunderstood the documentation... ty for the clarification Thomas can you give me some confirmations. The Date issue, When you say to use the JsDate do you mean the one in the elemental2 package

Re: gwt-maven-springboot-archetype updated ...

2024-05-21 Thread Thomas Broyer
On Tuesday, May 21, 2024 at 6:02:31 PM UTC+2 frank.h...@googlemail.com wrote: Ok, got it, was thinking, we were talking about the generated project ... Yep correct, usually, running the verify goal, will compare the generated sources with the ones stored under test resources. There is no

Re: Using JsInterop to create JS object literals

2024-05-21 Thread Thomas Broyer
t a function Il giorno martedì 21 maggio 2024 alle 14:56:22 UTC+2 Marco Tenti (IoProgrammo88) ha scritto: Sorry Thomas about your last comment " I'd rather user fields than getters/setters for such objects " can you point me out to some example for this ? Il giorno mercoledì 29 giugno

Re: Help to undrerstand how to use domino-jackson and the annotation JSONMapper

2024-04-12 Thread Thomas Broyer
Aren't you supposed to directly use the generated class rather than using GWT.create() ? (unless you also added a in your gwt.xml) https://dominokit.com/solutions/domino-jackson/v1/docs/getting-started/quick-start On Friday, April 12, 2024 at 1:20:27 PM UTC+2 tenti...@gmail.com wrote: > I'm

Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10

2024-04-12 Thread Thomas Broyer
On Friday, April 12, 2024 at 7:50:42 AM UTC+2 Mathias wrote: -My dependencies should be ok since i can build it with the plugin, so i'm a bit at a loss as to how make this work. Dependencies for gwt:compile and gwt:codeserver aren't the same:

Re: How to unescape a JSONString?

2024-04-06 Thread Thomas Broyer
erversJson > }; > return new RTCPeerConnection(peerConnectionConfig); > }-*/; > > Now I'm telling GWT it's a JSO, and GWT knows not to escape it. > > On Monday 9 November 2009 at 10:25:24 pm UTC+11 Thomas Broyer wrote: > >> >> >> On Nov 9, 11:47 am, peter

Re: NoClassDefFoundError on a particular class while running gwt:codeserver

2024-04-05 Thread Thomas Broyer
On Thursday, April 4, 2024 at 9:29:21 PM UTC+2 dja...@gmail.com wrote: Hi, I can't seem to be able to point out what dependency I am missing while trying to run my gwt application in Devmode with gwt:codeserver. I can build the program, compile it and deploy it without a problem. However

Re: Session Management problem in flask application

2024-04-04 Thread Thomas Broyer
On Thursday, April 4, 2024 at 2:21:36 PM UTC+2 aakashrathor@gmail.com wrote: ok, thanks again @Thomas Broyer for provide me the information on session and cookies and also read this below conditions and let me this working is wrong or right .. 1)in current situation in my flask app

Re: Session Management problem in flask application

2024-04-04 Thread Thomas Broyer
er can you elaborate more that can help me and clear what you wants to say On Wednesday, April 3, 2024 at 6:02:06 PM UTC+5:30 Thomas Broyer wrote: On Wednesday, April 3, 2024 at 1:16:58 PM UTC+2 aakashrathor@gmail.com wrote: Hello everyone, In my flask application there is some issue rel

Re: Session Management problem in flask application

2024-04-03 Thread Thomas Broyer
On Wednesday, April 3, 2024 at 1:16:58 PM UTC+2 aakashrathor@gmail.com wrote: Hello everyone, In my flask application there is some issue related to login system and issue as below 1)in flask app there are multiple users(roles) like admin ,indentor.etc. and the problem is

Re: [ERROR] Unable to find 'com/google/common/collect/Collect.gwt.xml' : GWT 2.9

2024-04-01 Thread Thomas Broyer
On Saturday, March 30, 2024 at 11:01:46 PM UTC+1 dja...@gmail.com wrote: You said : *" Also, the moduleTemplate configuration looks wrong, like you've left an example placeholder in the configuration?", * No, I don't think so, I moved the module.gwt.xml where the client/local folder because

Re: i have applied below CSP policy and changed my GWT version to 2.8.2 after that i am getting below error for PRC call ( to read Database and populate the data in UI and save data to DB) and button

2024-03-28 Thread Thomas Broyer
See https://github.com/gwtproject/gwt/issues/9578 On Wednesday, March 27, 2024 at 8:23:13 AM UTC+1 paparao@gmail.com wrote: > i have applied below CSP policy and changed my GWT version to 2.8.2 > after that i am getting below error for PRC call ( to read Database and > populate the data in

Re: apply content secure policy using script-src 'self' and object-src 'self' without unsafe-inline and unsafe-eval

2024-03-06 Thread Thomas Broyer
The problem is not loading the nocache.js itself, but is triggered by the setupInstallLocation function of the nocache.js, at line 71, specifically the line: $doc.body.appendChild(scriptFrame); and probably due to that line: scriptFrame.src = $intern_10; because of: $intern_10 = 'javascript:""'

Re: Deobfuscated stack trace message and line-specific stack traces

2024-02-26 Thread Thomas Broyer
On Monday, February 26, 2024 at 11:56:45 AM UTC+1 ma...@craig-mitchell.com wrote: Thanks Thomas, now working great! For anyone coming from the Eclipse GWT plugin, you can do this to keep it consistant with how it used to work: In your client pom. Add the like this:

Re: Deobfuscated stack trace message and line-specific stack traces

2024-02-25 Thread Thomas Broyer
On Sunday, February 25, 2024 at 12:34:44 AM UTC+1 ma...@craig-mitchell.com wrote: Sorry, I do see them in mywebapp-client\target\gwt\deploy\mywebapp\symbolMaps How do I get them from there, into the war? Configure to somewhere inside the (preferably inside WEB-INF so they won't be

Re: Deploy to Google App Engine (GAE)

2024-02-24 Thread Thomas Broyer
ignature_sub1=Acquisition_sub2=Global_YMktg_sub3=_sub4=10604_sub5=EmailSignature__Static_> > > On Sat, Feb 24, 2024 at 12:14, Thomas Broyer > wrote: > I could easily write a Main class that runs an embedded Jetty server > jagwtvax( > https://eclipse.dev/jetty/documentation/j

Re: Deploy to Google App Engine (GAE)

2024-02-24 Thread Thomas Broyer
gt;> Maybe all that should be in a separate project ? >> >> Sent from Yahoo Mail on Android >> <https://mail.onelink.me/107872968?pid=nativeplacement=Global_Acquisition_YMktg_315_Internal_EmailSignature_sub1=Acquisition_sub2=Global_YMktg_sub3=_sub4=10604_sub5=EmailSignature__Static_&

Re: Deploy to Google App Engine (GAE)

2024-02-21 Thread Thomas Broyer
On Wednesday, February 21, 2024 at 3:11:54 PM UTC+1 tim_mac...@yahoo.co.uk wrote: I've been trying this app engine sample for Java 11+ which uses a JAR packaged artifact that is installed locally: it provides a Main class to instantiate an HTTP server to run an embedded web application WAR

Re: Deploy to Google App Engine (GAE)

2024-02-21 Thread Thomas Broyer
Fwiw, I haven't used WARs for years (and by years I mean more than a decade), but the archetype is only there to help you get started with cleanly separated client/shared/server modules, and I don't want to impose my own opinionated way of building apps to others (or possibly start

Re: Had a problem trying GWT 2.11.0

2024-02-05 Thread Thomas Broyer
Just published version 2024.2.5 of the archetypes that adds a DOCTYPE linking to the DTD to the context.xml. I could reproduce the jetty_overlays error in env=prod, but that really looks like a bug in the jetty-maven-plugin (and creating the directory allows the server to start, but it was

Re: gwt-maven-springboot-archetype updated ...

2024-02-01 Thread Thomas Broyer
You may want to use -agentlib:jdwp (as given by IntelliJ IDEA) rather than the legacy -Xdebug -Xrunjdwp (and then you no longer need the quotes ) And when I say legacy, I really mean it: already in Java 8 -Xdebug does nothing

Re: "Unload event listeners are deprecated" browser error

2024-01-25 Thread Thomas Broyer
Yes: https://developer.mozilla.org/en-US/docs/Web/API/Window/unload_event Apparently, this happens when you use Window.addXxxHandler (and for instance the default PlaceController's delegate calls Window.addClosingHandler, which registers an unload handler but is only interested in the

Re: gwt-maven-springboot-archetype updated ...

2024-01-24 Thread Thomas Broyer
oh, and GWT 2.11 with Jakarta Servlet and Jetty 11; so requiring at least Java 11. On Wednesday, January 24, 2024 at 7:55:33 PM UTC+1 Thomas Broyer wrote: > I updated modular-webapp (and modular-requestfactory) to GWT 2.11 (in > version 2024.1.24) > > On Wednesday, January 24, 2024

Re: gwt-maven-springboot-archetype updated ...

2024-01-24 Thread Thomas Broyer
I updated modular-webapp (and modular-requestfactory) to GWT 2.11 (in version 2024.1.24) On Wednesday, January 24, 2024 at 10:58:45 AM UTC+1 ma...@craig-mitchell.com wrote: > Ignore my post. Just realised the doco uses net.ltgt.gwt.archetypes and > not the springboot

Re: How to debug the java code on the eclipse ide with the tbroyer gwt maven plugin ?

2023-12-12 Thread Thomas Broyer
On Tuesday, December 12, 2023 at 3:44:34 PM UTC+1 gardella...@gmail.com wrote: Which limitation are you referring to? Is it something that can be fixed or is it impossible to fix variable names there?

Re: Unable to run project on browser

2023-11-07 Thread Thomas Broyer
Every application can be updated if you put enough time/money, so not updating is a choice. Conversely, the cost of not updating increases as time passes (what you're experiencing here with development environments that are hard to setup). If you (or your management) decide to live "in the

Re: GWT: Deserialize objects sent/received via websocket

2023-10-23 Thread Thomas Broyer
On Sunday, October 22, 2023 at 3:25:18 PM UTC+2 an.s...@gmail.com wrote: Hi everyone, thanks for all the thoughts about the topic. After further investigation of the protocol, it seems like there is no pbject serialization involved. Instead, the application creates a websocket and

Re: GWT: Deserialize objects sent/received via websocket

2023-10-20 Thread Thomas Broyer
You could have a look at https://docs.google.com/document/d/1eG0YocsYYbNAtivkLtcaiEE5IOF5u4LUol8-LL0TIKU/edit to see what GWT-RPC exchanges look like and see if they match what you're seeing. But they're not "binary". I didn't follow what gRPC (Google's RPC format: https://grpc.io/) looks

Re: Reg: Service URL manipulation in the request payload

2023-10-12 Thread Thomas Broyer
On Thursday, October 12, 2023 at 10:14:01 AM UTC+2 paulraj...@gmail.com wrote: Hello Team, I've a question on GWT RPC request payload. We know that request payload has service URL along with other data pertains to the remote method. the testing team is using burb tool to manipulate the

Re: gwt-maven-plugin error

2023-09-04 Thread Thomas Broyer
AFAICT, the naming is odd but it is expected to not fail: the test broke before the plugin was fixed. (naming is particularly odd as that test was added in the same commit as the fix, so indeed never actually failed:

Re: Partial super source? Possible?

2023-07-26 Thread Thomas Broyer
e). > > But my concern is now with J2CL (as I plan to move my GWT app to J2CL in > the future). > I would like to know if this solution will also work with J2CL. > i.e. will I be able to provide my own implementation of String.format() if > not emulated by J2CL? > > On Tuesd

Re: Partial super source? Possible?

2023-07-25 Thread Thomas Broyer
On Tuesday, July 25, 2023 at 2:26:14 PM UTC+2 Bruno Salmon wrote: The shadow super-source should work in my case, thank you. If later I want to move from GWT to J2CL, will I have a similar feature (ex: providing my own implementation of String.format() if not emulated) ? IIRC, no: each

Re: GWT compilation issue with jdk 17

2023-07-21 Thread Thomas Broyer
On Friday, July 21, 2023 at 12:51:32 PM UTC+2 NIKITAH wrote: Yes , we are using jakartaee-api : 9.0.0 . So can you please suggest which version of gwtp-dispatch-rest-*.jar will be compatible with Jakarta 9.0 ? None! Repeating myself here: - GWTP is long dead; at least one year before

Re: GWT RPC call recognized as a Java Method Injection by Fortiweb

2023-07-21 Thread Thomas Broyer
On Friday, July 21, 2023 at 11:38:59 AM UTC+2 petr...@o3enterprise.com wrote: We have one deployment of a GWT app where there is a Fortiweb firewall that blocks every GWT RPC call because it recognizes every call as a Java Method Injection attack. This seems to be caused by the presence of

Re: GWT compilation issue with jdk 17

2023-07-21 Thread Thomas Broyer
Two things: - using JDK 17 doesn't mean you have to use Jakarta EE 9+, Java EE 8 / Jakarta EE 8 should still work just fine. You may have also changed your server to a Jakarta EE 9+ version, but that's (almost) independent from using JDK 17 - GWTP is long dead; at least one

Re: Partial super source? Possible?

2023-07-21 Thread Thomas Broyer
GWT standard emulation is "just" super-source itself. You cannot "augment" it, but you can "shadow" it by providing your own super-source version of java.lang.String (copy from GWT and patch; and make sure it appears before GWT's emulation in the source path – i.e. IIRC make sure the comes

Re: DataTransfer getData

2023-05-16 Thread Thomas Broyer
AFAICT, this is not how you handle file drops: https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API/File_drag_and_drop and GWT's drag and drop API doesn't support what's needed here. You'd have to use Elemental2 (com.google.elemental2:elemental2-dom) which should have

Re: GWT for a Java to WASM compiler

2023-05-12 Thread Thomas Broyer
On Saturday, May 13, 2023 at 12:34:33 AM UTC+2 ma...@craig-mitchell.com wrote: >From memory, TeaVM has had WASM in an undocumented and experimental status for a few years now. I won't be holding my breath for that one.  Well, at least it's documented now  -- You received this

Re: GWT for a Java to WASM compiler

2023-05-12 Thread Thomas Broyer
Also, TeaVM does Java → WebAssembly (WASM or WASI) https://www.teavm.org/ No idea if it already leverages WASM-GC or it's in their roadmap On Friday, May 12, 2023 at 12:59:17 PM UTC+2 gordan...@steatoda.com wrote: > On 12. 05. 2023. 12:27, Craig Mitchell wrote: > > > > There wasn't any mention

Re: HTTP Method Override

2023-04-26 Thread Thomas Broyer
Those headers don't come from GWT itself, they've been added by the application or some library/framework it uses on top of GWT. It looks like that app is using something like gwt-dispatch, gwt-sl or spring4gwt or something like that, but maybe homemade. What I'd do to tell if they're actually

Re: Can one prevent Jetty from scanning specific jars for annotations?

2023-03-06 Thread Thomas Broyer
Have you tried setting metadata-complete="true" on the of your web.xml? It's supposed to disable annotation scanning AFAICT (but I don't remember how the JettyLauncher configures Jetty so maybe it bypasses this attribute). On Monday, March 6, 2023 at 4:14:03 PM UTC+1 mmo wrote: > In my last

Re: JSInterop native class

2023-02-24 Thread Thomas Broyer
Because GWT code runs in an iframe, JsPackage.GLOBAL maps to the JSNI $wnd equivalent referencing the parent window so anything referenced from JsInterop needs to be recorded as a window property; and classes aren't recorded on the window per ECMAScript (see

Re: GWT compile stuck

2023-02-24 Thread Thomas Broyer
This looks like a deadlock in JDK classes themselves. Did you try updating your JDK to the latest version? (11.0.18 AFAICT; 11.0.5 is more than 3 years old already) On Thursday, February 23, 2023 at 3:14:03 PM UTC+1 alaahu...@gmail.com wrote: > I'm working on upgrading an app that uses GWT

Re: Does the GWTP v1.6 library still work under GWT 2.10? And odd class-cast exceptions on the client...

2023-02-24 Thread Thomas Broyer
On Thursday, February 23, 2023 at 10:51:53 PM UTC+1 mmo wrote: We are using the latest available version of GWTP, i.e. v1.6. Latest but 6 years old‼ …and the project hasn't seen any update since that date (except one change 18 months later –that's still 3 years and a half ago, and never

Re: What do these error messages mean?

2023-02-11 Thread Thomas Broyer
On Friday, February 10, 2023 at 6:38:04 PM UTC+1 lofid...@gmail.com wrote: You can still emulate System.xxx if you want to: It *is* emulated since GWT 2.8.0, where it returns GWT properties' values: https://github.com/gwtproject/gwt/commit/999d9a68abfa2583692826e49095dd26cb07f715 But as the

Re: GWT app gets loaded multiple times in Firefox

2023-02-08 Thread Thomas Broyer
It seems to be due to the __gwt_historyFrame: the subsequent requests have initiator=subdocument in the dev tools network panel, and a Sec-Fetch-Dest:iframe request header; if you inspect the iframe in dev tools, you can see the host page being loaded inside it rather than an about:blank, and

Re: Unable to find 'com/google/gwt/core/Core.gwt.xml' - what am I missing?

2023-02-03 Thread Thomas Broyer
Hard to tell without seeing the project. >From your logs, it actually looks like you have cleanly separated server/shared/client modules; in this case, configuration of the classpathScope needs to be done in the root POM, where the gwt:codeserver is called. Only the moduleName will be read from

Re: Unable to find 'com/google/gwt/core/Core.gwt.xml' - what am I missing?

2023-02-03 Thread Thomas Broyer
See https://tbroyer.github.io/gwt-maven-plugin/codeserver.html for the differences between gwt:compile and gwt:codeserver. Here, because it looks like you have both server and client code in the same Maven project, I'd say this is because your gwt-user is in scope=provided so it's not available

Re: Convert Existing GWT Backend to SPRING BOOT

2022-11-21 Thread Thomas Broyer
Can't you use your GWT-RPC servlets inside Spring Boot? (and *only* change them so you can have Spring inject dependencies into them so you can effectively rewrite the entire backend without touching the frontend at all) On Monday, November 21, 2022 at 3:07:33 PM UTC+1 Michael Joyner wrote: >

Re: File upload stuck on loading

2022-10-11 Thread Thomas Broyer
It would certainly help if you provided details on how you do the upload (using GWT's own FormPanel and FileUpload? or a third-party library? GXT-specific widgets?) and how you handle the response (including how you generate it server-side) For example, see the note at

Re: [GWT] [ERROR] Hint: Check that your module inherits 'com.google.gwt.core.Core'

2022-10-07 Thread Thomas Broyer
See https://www.gwtproject.org/release-notes.html#Release_Notes_2_10_0 GWT *runs* on JDKs from 8 to 17; you can however only compile Java 11 –at most– source files (depending on -sourceLevel). When facing that kind of error, make sure you run with -failOnError (or its older name: -strict), and

Re: GWT Migration from 2.1.0 to 2.9.0

2022-09-26 Thread Thomas Broyer
Add the script tags to your HTML (alternatively, use ScriptInjector in our entrypoint), but if they're not loaded, chances are that the Ext global is not defined, so Ext.BLANK_IMAGE_URL=… fails with the above-mentioned error. On Monday, September 26, 2022 at 2:54:16 PM UTC+2

Re: Add containers in NorthEast, NorthWest and Center section of BorderLayoutContainer

2022-09-16 Thread Thomas Broyer
There's no such thing as a BorderLayoutContainer in GWT proper (https://www.gwtproject.org/javadoc/latest/) Which library (in which version, it sometimes matter) are you using? (note: don't expect an answer from myself then, I never used any third-party widget library) On Thursday, September

Re: Keyboard Accessibility: while tabbing the first element in celltable gets focus

2022-09-09 Thread Thomas Broyer
What kind of Cell is this? Can you show part of the code that sets up the table? Did you set KeyboardSelectionPolicy to DISABLED? On Friday, September 9, 2022 at 6:09:14 PM UTC+2 nidhi@gmail.com wrote: > I am working on adding keyboard accessibility to my application. When > tabbing from

Re: How to remove tabindex=0 from the cell table html

2022-09-09 Thread Thomas Broyer
What kind of Cell is this? Can you show part of the code that sets up the table? Did you set KeyboardSelectionPolicy to DISABLED? On Friday, September 9, 2022 at 1:48:45 AM UTC+2 nidhi@gmail.com wrote: > I am working on adding keyboard accessibility to my product. When I am > tabbing from

Re: Security Vulnerabilities with GWT 2.10

2022-09-01 Thread Thomas Broyer
On Thursday, September 1, 2022 at 11:57:07 AM UTC+2 priyako...@gmail.com wrote: > Thanks for response. > > There is one more CVE has been reported for gwt-dev jar for htmlUnit > component. Details of CVE are as below - > CVE - CVE-2022-29546 > severity - 7.5 > Description - HtmlUnit

Re: Migrating to ltgt gwt-maven-plugin causes compile problem with HibernateValidation

2022-08-24 Thread Thomas Broyer
Did you maybe have gwtSdkFirstInClasspath set to true? That would have put gwt-user and gwt-dev and all their dependencies into the classpath before your own dependencies, putting javax.validation 1.0.0.GA before javax.validation 1.1.0.Final and therefore shadowing it (I'd expect Hibernate

Re: Migrating to ltgt gwt-maven-plugin causes compile problem with HibernateValidation

2022-08-24 Thread Thomas Broyer
GWT does not support javax.validation 1.1.0, only 1.0.0. Because you're building a gwt-app, which only contains client-side code by definition, I see no reason for having javax.validation 1.1.0 (and Hibernate Validator 5, as well as gwt-servlet which is a subset of gwt-user). Stick to

Re: [gwt-contrib] GWT 2 Roadmap as it applies to future deprecations

2022-08-21 Thread Thomas Broyer
with '--release 8' should be enough, at least to begin with. Using retrolambda or similar might be a possibility (either when producing/packaging gwt-servlet, or asking users to do it on their side when consuming gwt-servlet for a Java 8 environment). This should make it possible to: - update pr

Re: Security Vulnerabilities with GWT 2.10

2022-07-29 Thread Thomas Broyer
On Friday, July 29, 2022 at 1:27:36 PM UTC+2 priyako...@gmail.com wrote: > Hi All, > > Below Security Vulnerabilities in gwt-dev.jar in latest GWT 2.10 release > have been reported by Dependency checker tool - > > [image: gwt-dev_vulnerablities.PNG] > Given above vulnerabilities - > 1. Are

Re: GWT compiler keeps complaining about missing source files

2022-07-26 Thread Thomas Broyer
You may want to try out using super-source instead. Move your org/springframework into ch/zh/registerjp/super/ and add in ZHStRegisterJPWeb.gwt.xml (and remove the GwtSpring.gwt.xml and the related ) * | +-* src | +-* main | | +-* java | | | +-* ch | | | | +-* zh | | | | | +-* registerjp | |

Re: Startup error: Object of class 'com.google.gwt.dev.shell.jetty.JettyLauncher.WebAppContextWithReload' is not of type 'org.eclipse.jetty.webapp.WebAppContext'.

2022-07-22 Thread Thomas Broyer
On Thursday, July 21, 2022 at 5:10:40 PM UTC+2 mmo wrote: > OK - thanks for letting me know! I interpret that such that gwt:run and > gwt:debug aren't working/supported anymore, right? Well, first, regarding the plugin you're using: “The legacy maven plugin is still supported but it is

Re: Startup error: Object of class 'com.google.gwt.dev.shell.jetty.JettyLauncher.WebAppContextWithReload' is not of type 'org.eclipse.jetty.webapp.WebAppContext'.

2022-07-21 Thread Thomas Broyer
If you need anything specific, don't use the embedded Jetty. You have a jetty-web.xml so I assume you need "something specific" → don't use the embedded Jetty. (it might be that this was plain broken in 2.10 when upgrading the Jetty version, but the last time I had to work on this –that was

Re: Compatibility of GWT 2.10.0 with GXT 2.3.1.a

2022-07-18 Thread Thomas Broyer
In an ideal world, you'd reach out to those libs' maintainers and ask them if their lib is compatible with GWT 2.10. But those are all libs that haven't had a new release in *a decade*: * GXT 2.3.1.a was released in 2014 * GWTx 1.5.3 was released 2009 (GWT 2.0.0 wasn't even released at the time!)

Re: net.ltgt.gwt.maven and testing in multi-module project structure?

2022-07-13 Thread Thomas Broyer
On Wednesday, July 13, 2022 at 3:06:37 AM UTC+2 ime...@gmail.com wrote: > Thank you, the setting the did it. > FYI, using a GWTTestSuite can improve performance (that's why it's the default in the plugin, because it favors best practices):

Re: net.ltgt.gwt.maven and testing in multi-module project structure?

2022-07-10 Thread Thomas Broyer
On Sunday, July 10, 2022 at 6:03:14 AM UTC+2 ime...@gmail.com wrote: > Hi folks, > > I'm moving away from the 'classic' Maven GWT plugin to net.ltgt.gwt.maven > by Thomas Broyer and I'm unclear to make client tests work. I created the > project using > > m

Re: Your src appears not to live underneath a subpackage called 'client',but you'll need to use the directive in your module to make it accessible

2022-07-07 Thread Thomas Broyer
On Tuesday, July 5, 2022 at 1:58:03 AM UTC+2 abhiy...@gmail.com wrote: > 2) Also is there any documentation on how to use external servlet > container along with super dev mode in eclipse plugin > > IIRC, the videos at

Re: Your src appears not to live underneath a subpackage called 'client',but you'll need to use the directive in your module to make it accessible

2022-07-02 Thread Thomas Broyer
I suppose you've changed the way you call SuperDevMode to pass it com.cname.proj.client.Main too: SuperDevMode expects the module name, not the entrypoint class name. So you'd give SuperDevMode com.cname.proj.Main (which is the name of the Main.gwt.xml), in which it'll find the entrypoint

Re: 'Throwable.HasJavaThrowable' has invalid name '?'.

2022-07-01 Thread Thomas Broyer
On Thursday, June 30, 2022 at 4:22:08 PM UTC+2 mmo wrote: > Pardon my ignorance but I never had to dive very deeply into many of these > GWT details and options, yet. > > Is that "-strict" that Michael and you mention the same as setting: > > gwt-maven-plugin >

Re: java.lang.ClassNotFoundException: javax.sql.DataSource when using GWT 2.9.0 + Java 11 combination

2022-06-30 Thread Thomas Broyer
Didn't legacy devmode also only work with JDK 8? On Wednesday, June 29, 2022 at 10:46:30 PM UTC+2 Jens wrote: > Without being able to see the project setup this is tough to answer. > > However regardless of the exception you are seeing: Classic/Legacy DevMode > will not work with GWT 2.9.0

Re: Using JsInterop to create JS object literals

2022-06-29 Thread Thomas Broyer
Using isNative=true, you're telling GWT that you're only "mapping" in Java a *type* that exists in JS. The default naming rule is that the full name of that type is the fully qualified name of the Java class, you can change the simple name with 'name', and the *prefix* with namespace (which

Re: Install GWT plugin for Firefox26

2022-06-28 Thread Thomas Broyer
Well it should be downloadable at https://dl-ssl.google.com/gwt/plugins/firefox/gwt-dev-plugin.xpi (link from the error page that should appear in Firefox; copy/paste to another browser for download, then install it in Firefox) On Tuesday, June 28, 2022 at 8:17:32 PM UTC+2 Ben Shapiro wrote:

Re: Install GWT plugin for Firefox26

2022-06-24 Thread Thomas Broyer
Is your app that old that you cannot use SuperDevMode ? It exists since GWT 2.5 which will soon be 10 years old ‼ with the first "really usable" version in GWT 2.7, nearly 8 years ago. https://www.gwtproject.org/articles/superdevmode.html Nobody nowadays still uses the "legacy devmode" with

Re: Is there an easy way to use GWT Request Factory?

2022-05-21 Thread Thomas Broyer
now - I even use the generated serializers in combination >> with WebSockets. What can possibly go wrong here...? >> >> On Fri, May 20, 2022 at 3:57 PM Thomas Broyer wrote: >> >>> Short answer: don't start using RequestFactory now, it's been >>> practic

Re: Is there an easy way to use GWT Request Factory?

2022-05-20 Thread Thomas Broyer
Short answer: don't start using RequestFactory now, it's been practically unmaintained for years. Long answer: there's not really a longer answer actually, it's OK to keep using RF in existing projects (if you can't afford moving to something else), but don't start anything with it now. (I

Re: [gwt-contrib] Preliminary testing for GWT 2.10 release

2022-04-24 Thread Thomas Broyer
hText explicitly uses the RichText widget. >> >> However, both maven and gradle projects do correctly include the >> warnings, if you happen to include those gwt modules in your project. That >> does make the iteration time a bit longer to test, but it appears we can

Re: [gwt-contrib] Preliminary testing for GWT 2.10 release

2022-04-22 Thread Thomas Broyer
oups.com > <https://groups.google.com/d/msgid/google-web-toolkit-contributors/dad1685b-9ad0-4a1a-88f4-dd0332d7b91dn%40googlegroups.com?utm_medium=email_source=footer> > . > -- Thomas Broyer /tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/> -- You received this message because you a

Re: hilla.dev

2022-03-14 Thread Thomas Broyer
I haven't tried it (if only because of Spring) but your description is overly reductive IMO. Hilla is made of (at least) 3 parts: - client-side library of web components (router, form data-binding, data grids, etc.) - server-side framework (or only scaffolding?) based on Spring Boot, à

Re: Building a GWT project in Eclipse 2019-03+ with Java 11.

2022-02-20 Thread Thomas Broyer
On Saturday, February 19, 2022 at 1:57:16 AM UTC+1 tequil...@gmail.com wrote: > Hi Jasper > > I'll be just glad if my current progress saves someone's time. > I progress on step by step basis, so far I succeeded in Eclipse build and > debugging. > > Most of my problems were caused by

Re: GWT and UserAgent

2022-02-20 Thread Thomas Broyer
On Friday, February 18, 2022 at 6:00:24 PM UTC+1 David Nouls wrote: > Hello I read that FireFox and Chrome are deprecating the useragent string. Not sure where you read that and what it would really mean, particularly wrt backwards compatibility: browser vendors (and spec writers) try very

Re: Upgrading from 2.8.1 to 2.9.0 yields "...type not found, or there are compile errors..."?!?

2021-12-07 Thread Thomas Broyer
Use -strict (alias for -failOnError) too, it will fail early rather than ignoring some errors and later failing because of them. On Tuesday, December 7, 2021 at 10:28:09 AM UTC+1 vas...@gmail.com wrote: > I would try to enable the verbose and debug flags of the compilation. > > In my experience

Re: Why was benchmarking removed in GWT 2.6?

2021-12-02 Thread Thomas Broyer
>From the commit history: https://github.com/gwtproject/gwt/commit/39eb6001a037fd8b6580a73a2540e6e9c04e54c2 “This didn't get enough adaption externally or internally. The way it's implemented requires special support from GWTTestCase infrastructure. Also, we are not going have an environment to

Re: Element type "entry-point" must be declared.

2021-11-23 Thread Thomas Broyer
Those errors are *only* about the XML DTD validation, but they actually won't affect GWT itself. It looks like there's a problem with the gwtproject.org site that doesn't serve the doctype/2.8.1/gwt-module.dtd and instead redirects back to the home page, breaking XML DTD validation altogether

Re: Can't upgrade my Gwt 2.4. Where did the "gwt-html5-storage.jar" dissapear?

2021-11-14 Thread Thomas Broyer
You don't need it anymore: http://www.gwtproject.org/doc/latest/DevGuideHtml5Storage.html (basically change your imports from com.google.code.gwt.storage to com.google.gwt.storage, there might be other changes needed, I never did such migration myself) On Sunday, November 14, 2021 at 5:28:38

Re: jsConstructor returns undefined

2021-11-05 Thread Thomas Broyer
On Friday, November 5, 2021 at 10:33:00 AM UTC+1 Jens wrote: > You can use jsinterop-base library. It has a method > 'Js.asConstructorFn(Class)' …which uses c...@java.lang.Class::jsConstructor, so if it's null/undefined in your own JSNI, there's no reason it won't be in jsinterop-base's

Re: Populating CellTable using ListDataProvider?

2021-10-21 Thread Thomas Broyer
Is this not enough? Buried too deep? Lacking examples and/or a step-by-step? In order to use a set of widgets in a ui.xml template file, you need to tie their package to an XML namespace prefix. That’s what’s

Re: Security Scanning for GWT Code

2021-09-10 Thread Thomas Broyer
What kind of security vulnerabilities are you looking for? Of the OWASP Top 10, I think only XSS could be detected by static analysis, looking for any call to unsafe methods, making sure you're using SafeHtml et al. everywhere (and SafeHtmlUtils.fromSafeConstant and

Re: How to disable asserts when using CodeServer

2021-08-18 Thread Thomas Broyer
I'm afraid you cannot disable assertions: https://github.com/gwtproject/gwt/blob/2.7.0/dev/codeserver/java/com/google/gwt/dev/codeserver/CompilerOptionsImpl.java#L216-L219 On Wednesday, August 18, 2021 at 4:54:53 PM UTC+2 roc.b...@gmail.com wrote: > We have a legacy application, GWT 2.7.0.

Re: [ERROR] Upgrade GWT from 2.5.1 to 2.9

2021-07-19 Thread Thomas Broyer
“Ignored 3 units with compilation errors in first pass.” “Compile with -strict or -logLevel set to DEBUG or WARN to see all errors” “Ignored 13 units with compilation errors in first pass.” “Compile with -strict or -logLevel set to TRACE or DEBUG to see all errors” Do what's suggested here:

Re:

2021-06-08 Thread Thomas Broyer
At this line in JdtCompiler, the warningThredshold field is part of a JDT class, so double check your dependencies, your probably have an incompatible JDT/ECJ dependency in your classpath. On Monday, June 7, 2021 at 8:57:19 PM UTC+2 jiny...@gmail.com wrote: > Hello, > > We have an application

Re: Upgrade GWT from 2.7 to 2.9

2021-06-03 Thread Thomas Broyer
On Thursday, June 3, 2021 at 6:42:15 PM UTC+2 HATIM SETTI wrote: > Hi team, > > I'm working on an existing project with (gwt 2.7 , maven Java 6,spring..), > and we want to upgrade to 2,8 or 2.9 atest version. > > And I want to know the impact of that, will we need to change a lot of > code,

Re: Meaning of @ImportedWithPrefix?

2021-05-25 Thread Thomas Broyer
Yes, make a dummy style resource where all class names are marked @external (http://www.gwtproject.org/doc/latest/DevGuideClientBundle.html#External_and_legacy_scopes) and override the methods of CellTable.Style to annotate them with @ClassName to match the CSS class names you used in the

Re: Meaning of @ImportedWithPrefix?

2021-05-20 Thread Thomas Broyer
Yes. Note that you can put CellTable.Style.DEFAULT_CSS into your @Source to combine the default styles with yours. On Thursday, May 20, 2021 at 1:42:12 AM UTC+2 ime...@gmail.com wrote: > Yes, thank you. > > Actually, I was trying to figure out how to style CellTable (or DataGrid) > so I

Re: GWT tutorial does not compile

2021-05-17 Thread Thomas Broyer
On Sunday, May 16, 2021 at 5:54:51 PM UTC+2 lofid...@gmail.com wrote: > Yes that also fine. > > The main thing: use the *TBroyer Maven plugin* instead the old one or > Eclipse plugin. > Except, he said several times that he couldn't: “ I don't have a choice. I have to use what is in my

Re: [gwt-contrib] Asking for decision on DevMode embedded Jetty support

2021-05-04 Thread Thomas Broyer
hat's unrelated to GWT (had you used Gradle for instance, it would have been different, because it would have picked the highest ASM version), and of course this is because you put your server-side dependencies in GWT's classpath (with a very convoluted setup; https://xkcd.com/1172/). -- Thomas

Re: [gwt-contrib] Asking for decision on DevMode embedded Jetty support

2021-05-04 Thread Thomas Broyer
Where you're starting your Spring Boot server separately from DevMode (so you have 2 processes, not just one, contrary to what you're saying above), whose embedded server only serves a (development-only) static HTML page. That's probably not how I would work with Spring Boot, but indeed that works

Re: GWT tutorial does not compile

2021-04-30 Thread Thomas Broyer
On Thursday, April 29, 2021 at 10:48:51 PM UTC+2 likejudo wrote: > Thanks for the links. > I found from other posts that DOCTYPE was incorrectly set. 'www' is > required and that fixed it. > That DOCTYPE is mostly useless (it can help in IDEs to provide autocompletion and validation, but

Re: Change CodeServer URL

2021-04-27 Thread Thomas Broyer
Why do you need this? http://localhost is already a secure context, enabling everything that's otherwise available only through HTTPS: https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts Or are you testing remotely and cannot use http://localhost either? On Tuesday, April 27,

Re: [gwt-contrib] Asking for decision on DevMode embedded Jetty support

2021-04-18 Thread Thomas Broyer
setup a lot (say goodbye to those 4 gwt-eclipse projects). You apparently already have clearly separate projects for client and server code, so running them separately doesn't seem completely crazy. -- Thomas Broyer /tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/> -- You received this messa

  1   2   3   4   5   6   7   8   9   10   >