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: Releasing a multi-module project to Maven Central?

2023-12-21 Thread Thomas Broyer
Shouldn't you use the jar-no-fork *goal* of the maven-source-plugin? Using that value as execution id does nothing special. BTW, did you read https://central.sonatype.org/publish/publish-maven/ ? (No idea if any of this would solve your problem though) Le jeu. 21 déc. 2023, 03:15, Laird Nelson

Re: maven debugging frustrations

2023-12-19 Thread Thomas Broyer
In `mvn -X` you should find the arguments to javac (beware that empty arguments are not displayed there, rather than being shown as "" for instance), which would allow you to run javac on your own, taking Maven out of the equation. Le mar. 19 déc. 2023, 23:28, a écrit : > Indeed, if there were

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: what javac is actually used?

2023-12-03 Thread Thomas Broyer
Afaict, running with debug logs (mvn -X) will print the arguments passed to the compiler, such that they can be passed to javac with Maven pushed out if the equation. They can then be inspected and tweaked, and then maven-compiler-plugin configuration (hopefully) adjusted to what's expected. Le

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: [ANN] Maven Surefire 3.2.1 released

2023-10-24 Thread Thomas Broyer
inates > * [SUREFIRE-2182] - Log starter implementation on DEBUG level > > ** Dependency upgrade > * [SUREFIRE-2188] - Upgrade to Parent 40 > > > Enjoy, > > -The Apache Maven team > > - >

Re: [ANN] Maven Surefire 3.2.1 released

2023-10-24 Thread Thomas Broyer
inates > * [SUREFIRE-2182] - Log starter implementation on DEBUG level > > ** Dependency upgrade > * [SUREFIRE-2188] - Upgrade to Parent 40 > > > Enjoy, > > -The Apache Maven team > > - >

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: passing compiler args via a properties file

2023-09-24 Thread Thomas Broyer
ts, so I think the question remains unanswered: can Maven load a property's value from a file? (possibly through a plugin; I have looked at build-helper-maven-plugin and apparently it doesn't support it) -- Thomas Broyer /tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>

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: elegant way to disable Nexus staging/deployment in child POMs

2023-07-31 Thread Thomas Broyer
Le dim. 30 juil. 2023, 21:36, Garret Wilson a écrit : > On 7/30/2023 3:45 PM, Thomas Broyer wrote: > > The easiest way to opt-in is to configure the plugin in > > > of the parent POM, and then only "apply" to chosen projects by declaring > > the plug

Re: elegant way to disable Nexus staging/deployment in child POMs

2023-07-30 Thread Thomas Broyer
The easiest way to opt-in is to configure the plugin in of the parent POM, and then only "apply" to chosen projects by declaring the plugin in the (only needs the groupId and artifactId then) That only works if you're calling Maven with lifecycle phases though, I think it'll error out if you

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: improving the Maven BOM pattern

2023-06-15 Thread Thomas Broyer
I must say I haven't seen any project using the approach described in the Maven doc. Most projects I've seen use the root POM as both the aggregator POM and the parent POM, and have their BOM in a submodule. Sometimes the root POM is only the aggregator and the parent POM is a submodule as well.

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: MavenCLI failing in Jenkins

2023-04-20 Thread Thomas Broyer
aven project doesn't itself provide Docker images AFAICT so at least there cannot be any confusion between two "official" images. -- Thomas Broyer /tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>

Re: What could cause a missing JAR in WEB-INF?

2023-04-15 Thread Thomas Broyer
O] | | +- xerces:xercesImpl:jar:2.11.0:provided > [INFO] | | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.22:provided > ... > [INFO] +- com.megginson.sax:xml-writer:jar:0.2:compile > [INFO] | \- xml-apis:xml-apis:jar:1.0.b2:compile > > So for some reason the machines see a different requirement for > xml-apis-*.

Re: What could cause a missing JAR in WEB-INF?

2023-04-14 Thread Thomas Broyer
Have you tried diffing the effective-pom on the various machines? How about running with debug logs? Does the waven-war-plugin maybe outputs why it picks or excludes dependencies from the war? Le ven. 14 avr. 2023 à 21:34, Thad Humphries a écrit : > I have *war that I've built on 3 different

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: [OAUTH-WG] OAuth for Browser-Based Apps Draft 12

2022-12-07 Thread Thomas Broyer
n a browsing context" or possibly "code executed in a document context" (or just "in a document"?), as opposed to a "worker context" or service worker. Anyway, thanks for that work. I'm only using the drafts as reference in architecture discussions and am looking forward t

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: Windows Installer / MacOS dmg

2022-10-16 Thread Thomas Broyer
Doesn't JDK 18 come with jpackage for exactly that use case? Not sure how/if you can drive it from Maven but you should be able to prepare everything with dependency:copy-dependencies or the maven-assembly-plugin and then run jpackage manually to produce the installers. Le dim. 16 oct. 2022 à

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: java.lang.ClassNotFoundException: com.google.common.base.Preconditions

2022-07-24 Thread Thomas Broyer
IIRC exec:java doesn't fork a new JVM so the java.class.path is the one from Maven itself. Your dependencies are "only" in a custom classloader. You might want to try exec:exec with java as the executable. Le dim. 24 juil. 2022 à 20:46, Siddharth Jain a écrit : > we are running into the dreaded

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: Where can find a working plugin test example

2022-06-28 Thread Thomas Broyer
TL;DR: it doesn't use the maven-plugin-testing-harness but maven-invoker-plugin, and that's what I've been using as well. Le mar. 28 juin 2022 à 07:59, Martin Höller a écrit : > Hi! Stephan! > > Some years ago I had a similar problem while developing > vdldoc-maven-plugin [1]. I found all the

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: How does Maven really treat "bundle" packaging type?

2022-06-20 Thread Thomas Broyer
Le lun. 20 juin 2022 à 20:38, Pawel Veselov a écrit : > TL;DR: > > Is there a way, and what is the correct one if there is, to prevent a > package being downloaded from a particular repository (or lock it to > being downloaded from a particular one, though I thought the answer to > that one is

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: Splitting a dependency tree with the assembly plugin

2022-05-07 Thread Thomas Broyer
How about first building a distribution for each module separately (each in its own Maven module) and then assemble them into a single distribution? Le sam. 7 mai 2022 à 18:49, Mark Raynsford a écrit : > Hello! > > I'm running into a problem when trying to produce an application > distribution.

Re: Maven Reactor and plugin "local" dependencies

2022-05-06 Thread Thomas Broyer
, I maintain some Maven plugin and archetypes, and have to deal with Maven as a consumer of libraries I contribute to (lately having to make tests with artifact relocation and BOMs) Am not saying either "maven is the best", but I am convinced "maven can be > better", MUCH

Re: Maven Reactor and plugin "local" dependencies

2022-05-06 Thread Thomas Broyer
omes before annotation-user in the aggregator POM (it also runs the whole build, rather than '-pl annotation-user -am', using that you should see that you need to explicitly add annotation-processor to the project list on the command line) -- Thomas Broyer /tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>

Re: Maven Reactor and plugin "local" dependencies

2022-05-06 Thread Thomas Broyer
procase generated using a couple of org.apache.maven.archetypes:maven-archetype-simple archetype:generate invocations, exec-maven-plugin failed with a NPE when looking up the executableDependency, which is probably a bug in the plugin, but my point was to demonstrate issues with the Maven lifecycles, even prior to execute the plugin's goal. If you do not want/cannot afford to add the package phase to that invocation, your only alternative (to my knowledge) is to 'mvn install -pl submoduleA' prior to 'mvn -pl submoduleB exec:java'. -- Thomas Broyer /tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>

Re: Maven Reactor and plugin "local" dependencies

2022-05-06 Thread Thomas Broyer
ut there are exceptions). In other words, I should be able to 'cd' into a project and 'mvn verify' it and it should Just Work™ without relying on some "ambient" state such as "when did I last 'mvn install' that thing? am I actually using the 'correct version' of it?". -- Thomas Broyer /tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>

Re: Maven Reactor and plugin "local" dependencies

2022-05-06 Thread Thomas Broyer
lugin:scaffold -Dwhatever' (note that I haven't included -am here). You could argue this is somehow "broken", I wouldn't disagree, but then don't argue that Maven itself is not somehow "broken by design" or at a minimum "limited" in its capabilities: there are cases w

Re: Maven Reactor and plugin "local" dependencies

2022-05-05 Thread Thomas Broyer
Because it is an antipattern? https://www.cloudbees.com/blog/maven-and-install-hack If you do rely on "mvn install", which one of your commit is your snapshot in your local repository from? How can you tell? And it gets worse if you deploy snapshots to a repository, as now it could also be from

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: What steps will install dependent artifacts in local maven repo

2022-03-23 Thread Thomas Broyer
Jenkins build nodes, and I'm > > not > > > certain whether those build nodes are shared with other projects in > > our > > > large enterprise. I'm trying to determine that. > > > > > > We may determine that because of these issues, we will have to specify > > a > > > fresh empty local repository for every build, which will obviously > > make our > > > builds take longer. > > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > -- Thomas Broyer /tɔ.ma.bʁwa.je/ <http://xn--nna.ma.xn--bwa-xxb.je/>

Re: What steps will install dependent artifacts in local maven repo

2022-03-22 Thread Thomas Broyer
Le mar. 22 mars 2022 à 23:37, Nick Stolwijk a écrit : > Also, org.codehaus.groovy:groovy-eclipse-batch:RELEASE is not in > Maven Central. Yes it is: https://search.maven.org/artifact/org.codehaus.groovy/groovy-eclipse-batch About the RELEASE version:

  1   2   3   4   5   6   7   8   9   10   >