Re: is it possible to debug GWT projects (breakpoints, step through code etc) ?

2024-06-28 Thread 'tim_mac...@yahoo.co.uk' via GWT Users
This might be useful github.com/timmacp/AppEngineGwt/tree/main Its based on github.com/tbroyer/gwt-maven-archetypes & Google Cloud Platform samples for App Engine with Java 11+ github.com/GoogleCloudPlatform/java-docs-samples/tree/main/appengine-java11/appengine-simple-jetty-main which shows ho

module java.base does not "opens java.lang" to unnamed module

2024-06-21 Thread 'tim_mac...@yahoo.co.uk' via GWT Users
SInce upgrading to Java 11, throwing a new IllegalArgumentException in an RPC server-side implementation gives InaccessibleObjectException. It can be stopped by using a VM argument --add-opens, but apparently this is not recommended. Can anyone clarify ? -- You received this message because

Re: GWT, Java 17, jakarta.servlet, Eclipse, GWT plugin

2024-06-12 Thread 'tim_mac...@yahoo.co.uk' via GWT Users
This might help: its a different solution to the issue Craig dealt with. Its an extension of the gwt multi-module sample with an embedded Jetty, for Java 11 without Spring. https://github.com/timmacp/AppEngineGwt/tree/main On Wednesday, June 12, 2024 at 9:03:01 AM UTC+1 Wejden Mrabti wrote: > hel

Re: Hello Noob question

2024-03-12 Thread 'tim_mac...@yahoo.co.uk' via GWT Users
I am hoping to continue using this with upgrade to gwt 2.11.0 , gwt-maven-plugin 1.1.0 , java source level 11. I checked it as far as calling Polymer.startLoading() Polymer.importHref( .. ) No errors so far. in module.gwt.xml I presume you have: did you add the dependency in the -cli

Re: Had a problem trying GWT 2.11.0

2024-02-05 Thread 'tim_mac...@yahoo.co.uk' via GWT Users
I also found that out eventually. Another thing: The server module needs /target /jetty_overlays folder for running env-prod. On Sunday, February 4, 2024 at 5:43:59 PM UTC jamal@gmail.com wrote: > After generating a project skeleton using the latest gwt-maven-archetypes >

Re: Deploy to Google App Engine (GAE)

2023-12-26 Thread 'tim_mac...@yahoo.co.uk' via GWT Users
Maybe this thread is gettig a bit off-topic for gwt ? maybe more suitable for Stackoverflow or https://groups.google.com/g/google-appengine & https://groups.google.com/g/google-cloud-dev now superceded by https://www.googlecloudcommunity.com/gc/Serverless/bd-p/cloud_serverless. On Tuesday, Decemb

Re: Deploy to Google App Engine (GAE)

2023-12-24 Thread 'tim_mac...@yahoo.co.uk' via GWT Users
Looks like Cloud CLI provides a dev server if using the legacy bundled services (App Engine API JAR)? https://cloud.google.com/appengine/docs/standard/java-gen2/services/access If you are using the legacy bundled services, the second-generation Java runtimes provide the Jetty web-serving framew

Re: Deploy to Google App Engine (GAE)

2023-12-23 Thread 'tim_mac...@yahoo.co.uk' via GWT Users
Afaik gwt:devmode is launching a GWT Jetty, rather than the GAE Jetty. The latter requires appengine:run with a launch profile env property & name appengine:run -Denv=haslistener As you say: for IDE debugging: we need a Remote Java Application & jvmFlags, discussed at length here: https://stack

Re: Deploy to Google App Engine (GAE)

2023-12-21 Thread 'tim_mac...@yahoo.co.uk' via GWT Users
These are my current poms, based on the tbroyer archetype. Probably best to look at the latter first if youre not familiar with it. The launch is configured in the server pom: env-dev-gae1 env haslistener ...

Re: Deploy to Google App Engine (GAE)

2023-12-20 Thread 'tim_mac...@yahoo.co.uk' via GWT Users
I havent tried raising the Java level yet, its still JavaSE-1.8. Got as far as using latest versions: JDK 21 gcloud CLI app & cloudSdkVersion 457.0.0 appengine-maven-plugin 2.5.0 To get it to run, so far: 1 I had to remove all DOCTYPE declarations in xml files in the server project (new restr

Re: Deploy to Google App Engine (GAE)

2023-12-19 Thread 'tim_mac...@yahoo.co.uk' via GWT Users
For some years I've been deploying GWT 2.8.2 to GAE with Maven & Google Cloud Tools. I now find GAE is not supporting Java 8 after January, so currently upgrading (rather slowly). There are 4 long POM files, probably better to mail them then post a distilled version here ? On Sunday, Decembe