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

2024-01-05 Thread Craig Mitchell
Thank you! I was struggling to get Springboot to work with GWT, and this did it beautifully! One thing I messed up: > Define value for property 'package' teamdrift: : jar I thought it meant how did I want to package the output, as I need an executable jar, not a war. But it meant what did I

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

2024-01-06 Thread 'Frank Hossfeld' via GWT Users
The plugin uses the same input (except for the artifactId) as Thomas Broyer's gwt-maven-archetype. > One small error, the top level pom.xml has 3 blank lines between every XML line. Just like this: https://github.com/NaluKit/gwt-maven-springboot-archetype/blob/main/clean-modular-springboot-w

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

2024-01-21 Thread grays...@gmail.com
Hi Frank, Would you please also publish the new version for "modular-springboot-webapp" (the one that generates a gwt project with sample code)? The lastest verison of "modular-springboot-webapp" is still " 2022.9.14

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

2024-01-22 Thread 'Frank Hossfeld' via GWT Users
Hi Grayson, it's on my To-Do-list. I had to wait until GWT 2.11.0 is released. I'll try to take a look today. cu Frank grays...@gmail.com schrieb am Montag, 22. Januar 2024 um 07:47:52 UTC+1: > Hi Frank, > > Would you please also publish the new version for > "modular-springboot-webapp" (the

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

2024-01-23 Thread 'Frank Hossfeld' via GWT Users
Hi, both archetypes have been updated to the latest GWT (2.11.0) & Spring Boot version (3.2.2). Happy generating ... cu Frank Frank Hossfeld schrieb am Montag, 22. Januar 2024 um 14:29:41 UTC+1: > Hi Grayson, > > it's on my To-Do-list. I had to wait until GWT 2.11.0 is released. I'll > try to

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

2024-01-24 Thread Craig Mitchell
I was going to suggest the GWT doco gets updated to use this, but I see you already have! https://www.gwtproject.org/gettingstarted-v2.html Excellent stuff! 👍 On Tuesday 23 January 2024 at 11:05:48 pm UTC+11 Frank Hossfeld wrote: > Hi, > > both archetypes have been updated to the latest GWT (

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

2024-01-24 Thread Craig Mitchell
Ignore my post. Just realised the doco uses net.ltgt.gwt.archetypes and not the springboot com.github.nalukit.archetype. And thus, it's still on GWT 2.10.0, and not 2.11.0 with the jakarta stuff. On Wednesday 24 January 2024 at 8:39:07 pm UTC+11 Craig Mitchell wrote: > I was going to suggest t

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

2024-01-24 Thread 'Frank Hossfeld' via GWT Users
Yeap, that's right. Needs an update. May be I'll create a PR ... At the end of the https://www.gwtproject.org/gettingstarted-v2.html site, you will find a link to the springboot-archetype. Craig Mitchell schrieb am Mittwoch, 24. Januar 2024 um 10:58:45 UTC+1: > Ignore my post. Just realise

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 com.github.nalukit.archet

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 at 10:58:45 

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

2024-01-24 Thread 'Frank Hossfeld' via GWT Users
Thanks! Thomas Broyer schrieb am Mittwoch, 24. Januar 2024 um 19:57:12 UTC+1: > 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-requestfacto

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

2024-01-24 Thread Craig Mitchell
Awesome stuff! Thank you both. Makes starting a new GWT project a breeze! On Thursday 25 January 2024 at 6:08:27 am UTC+11 Frank Hossfeld wrote: > Thanks! > > Thomas Broyer schrieb am Mittwoch, 24. Januar 2024 um 19:57:12 UTC+1: > >> oh, and GWT 2.11 with Jakarta Servlet and Jetty 11; so requir

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

2024-01-24 Thread Ralph Fiergolla
Finally! Thanks a lot! Thomas Broyer schrieb am Mi. 24. Jan. 2024 um 19:57: > 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

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

2024-01-31 Thread Craig Mitchell
Hi, I'm able to debug the GWT client okay (in Chrome). However, debugging the SpringBoot server in IntelliJ isn't working. I already have the code server running, and then I start the server with: mvnDebug spring-boot:run -pl mywebapp-server -am The server then waits for the debugger to attac

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

2024-01-31 Thread bbe...@gmail.com
The problem is that spring-boot:run is going to launch another Java process for you application, so mvnDebug is attached to the first Maven process, not your application. You will need to execute spring-boot:run passing the config to enable remote debugging: mvn spring-boot:run -pl your-projec

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

2024-01-31 Thread 'Frank Hossfeld' via GWT Users
Thanks, I am usually using the Spring Boot run configuration from IntelliJ. This works without additional parameters. bbe...@gmail.com schrieb am Mittwoch, 31. Januar 2024 um 19:12:22 UTC+1: > The problem is that spring-boot:run is going to launch another Java > process for you application, so

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

2024-01-31 Thread 'Frank Hossfeld' via GWT Users
Mmmh, might be worse adding this information to the archetype read me. Frank Hossfeld schrieb am Mittwoch, 31. Januar 2024 um 20:35:40 UTC+1: > Thanks, I am usually using the Spring Boot run configuration from > IntelliJ. This works without additional parameters. > > bbe...@gmail.com schrieb am

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

2024-01-31 Thread 'Frank Hossfeld' via GWT Users
Mmmh, it might be worth adding this information to the archetype docs. -- 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-toolkit+unsubscr...@googlegroups.c

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

2024-01-31 Thread Craig Mitchell
Thank you! Working great now (quotes were important). 👍 [image: Screen.png] On Thursday 1 February 2024 at 6:38:47 am UTC+11 Frank Hossfeld wrote: > Mmmh, it might be worth adding this information to the archetype docs. > > -- You received this message because you are subscribed to the Googl

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 (https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.htm

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

2024-02-01 Thread Craig Mitchell
Thanks Thomas. Now switched to: -Dspring-boot.run.jvmArguments=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000 [image: Screen.png] Which also works great. 🙂 On Thursday 1 February 2024 at 7:44:19 pm UTC+11 Thomas Broyer wrote: > You may want to use -agentlib:jdwp (as giv

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

2024-02-02 Thread Craig Mitchell
Just realised you can also set it in your server pom.xml, in the Spring Boot Maven plugin (configuration > jvmArguments), instead of the launcher: org.springframework.boot spring-boot-maven-plugin repackage false -agentlib:jdwp=transpor

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

2024-02-03 Thread Craig Mitchell
I noticed that it always logs the error: ERROR: The serialization policy file '/mywebapp/xxx.gwt.rpc' was not found; did you forget to include it in this deployment? on the first RPC call. The RPC still seems to work fine, but wondering if this is an issue or not? Also, should this be "gwt-se

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

2024-02-04 Thread 'Frank Hossfeld' via GWT Users
Please can you open an issue regarding the gwt-servlet-jakarta problem ... Thanks Craig Mitchell schrieb am Sonntag, 4. Februar 2024 um 04:57:34 UTC+1: > I noticed that it always logs the error: > > ERROR: The serialization policy file '/mywebapp/xxx.gwt.rpc' was not > found; did you forget to

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

2024-02-04 Thread Craig Mitchell
Done: https://github.com/NaluKit/gwt-maven-springboot-archetype/issues/4 Cheers. On Monday 5 February 2024 at 3:59:55 am UTC+11 Frank Hossfeld wrote: > Please can you open an issue regarding the gwt-servlet-jakarta problem ... > > Thanks > > Craig Mitchell schrieb am Sonntag, 4. Februar 2024 u

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

2024-02-05 Thread 'Frank Hossfeld' via GWT Users
new version is online ... Craig Mitchell schrieb am Montag, 5. Februar 2024 um 02:13:45 UTC+1: > Done: https://github.com/NaluKit/gwt-maven-springboot-archetype/issues/4 > Cheers. > > On Monday 5 February 2024 at 3:59:55 am UTC+11 Frank Hossfeld wrote: > >> Please can you open an issue regard

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

2024-03-04 Thread 'Frank Hossfeld' via GWT Users
Thanks Craig for contributing. New version is online. Frank Hossfeld schrieb am Dienstag, 6. Februar 2024 um 08:11:15 UTC+1: > new version is online ... > > Craig Mitchell schrieb am Montag, 5. Februar 2024 um 02:13:45 UTC+1: > >> Done: https://github.com/NaluKit/gwt-maven-springboot-archetype/

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

2024-03-04 Thread Craig Mitchell
Thank you Frank for making the excellent tool! Just checked the changes, working perfectly. 🙂 On Monday 4 March 2024 at 7:55:58 pm UTC+11 Frank Hossfeld wrote: > Thanks Craig for contributing. New version is online. > > Frank Hossfeld schrieb am Dienstag, 6. Februar 2024 um 08:11:15 UTC+1: > >

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

2024-05-15 Thread 'Frank Hossfeld' via GWT Users
New version available ... This one fixes the serializationPolicyFilePath issue ... Craig Mitchell schrieb am Montag, 4. März 2024 um 12:59:57 UTC+1: > Thank you Frank for making the excellent tool! Just checked the changes, > working perfectly. 🙂 > > On Monday 4 March 2024 at 7:55:58 pm UTC+

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

2024-05-15 Thread 'Frank Hossfeld' via GWT Users
and the version of Spring Bott is updated to 3.2.5 Frank Hossfeld schrieb am Mittwoch, 15. Mai 2024 um 20:36:10 UTC+2: > New version available ... This one fixes the serializationPolicyFilePath > issue ... > > Craig Mitchell schrieb am Montag, 4. März 2024 um 12:59:57 UTC+1: > >> Thank you Fran

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

2024-05-15 Thread 'Frank Hossfeld' via GWT Users
Bott -> Boot ... (spelling correction arrrgh) -- 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-toolkit+unsubscr...@googlegroups.com. To view this di

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

2024-05-18 Thread Craig Mitchell
> *New version available ... This one fixes the serializationPolicyFilePath issue ... * Awesome, thanks! I've closed https://github.com/NaluKit/gwt-maven-springboot-archetype/issues/7 👍 On Thursday 16 May 2024 at 4:38:52 am UTC+10 Frank Hossfeld wrote: > Bott -> Boot ... (spelling correctio

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

2024-05-18 Thread Craig Mitchell
I spoke to soon. Adding the EmbeddedServletContainerConfig fixes the serialization policy when running locally, but if you do a build and try to run. Ie: mvn clean package and then java -jar myserver/myapp.war, it crashes. I'll investigate. Any ideas/help most welcome. On Saturday 18 May 2

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

2024-05-18 Thread 'Frank Hossfeld' via GWT Users
please can you post the error message: Thanks Craig Mitchell schrieb am Samstag, 18. Mai 2024 um 13:11:40 UTC+2: > I spoke to soon. Adding the EmbeddedServletContainerConfig fixes the > serialization policy when running locally, but if you do a build and try to > run. Ie: mvn clean package a

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

2024-05-18 Thread Craig Mitchell
The issue seems to be the launcherDir directory doesn't exist. I've raised a an issue with the full stack trace: https://github.com/NaluKit/gwt-maven-springboot-archetype/issues/13 On Saturday 18 May 2024 at 11:06:28 pm UTC+10 Frank Hossfeld wrote: > please can you post the error message: Tha

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

2024-05-18 Thread 'Frank Hossfeld' via GWT Users
I'll added some additional code to avoid adding the launcherDir as document root in production mode. New version should be soon available. Craig Mitchell schrieb am Samstag, 18. Mai 2024 um 16:00:47 UTC+2: > The issue seems to be the launcherDir directory doesn't exist. I've > raised a an iss

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

2024-05-19 Thread Craig Mitchell
Hi Frank. Unfortunately, that didn't work. I raised an issue: https://github.com/NaluKit/gwt-maven-springboot-archetype/issues/15 I've also submitted a fix: https://github.com/NaluKit/gwt-maven-springboot-archetype/pull/16 However, I couldn't test my fix with the generation. The instructio

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

2024-05-19 Thread Craig Mitchell
Just tried a mvn install, and it seems to have worked. So I think the instructions https://github.com/NaluKit/gwt-maven-springboot-archetype?tab=readme-ov-file#local-generation : cd gwt-maven-springboot-archetype && mvn clean compile should be: cd gwt-maven-springboot-archetype && mvn clean i

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

2024-05-20 Thread 'Frank Hossfeld' via GWT Users
Thanks for you PR. Your PR is merged and a new release is done. New version should be available soon. doing a `mvn clean compile` is usually enough to generate all necessary sources and run the project. It's much faster cause it avoids a GWT compile during build. In cause you need a war, run `

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

2024-05-20 Thread 'Frank Hossfeld' via GWT Users
Thanks for you PR. Your PR is merged and a new release is done. New version should be available soon. doing a `mvn clean compile` is usually enough to generate all necessary sources and run the project. It's much faster cause it avoids a GWT compile during build. In case you need a war, run `m

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

2024-05-20 Thread Craig Mitchell
Sorry, I think I wasn't clear. Yes, I can make changes to the gwt-maven-springboot-archetype project, and do a mvn compile on it to make sure there are no syntax errors with my changes. The problem is, if I want to test to make sure my modified version of gwt-maven-springboot-archetype actuall

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

2024-05-21 Thread 'Frank Hossfeld' via GWT Users
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 test were the generated project gets started/tested, if it works. The generated proj

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 test

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

2024-05-21 Thread Craig Mitchell
Thanks Frank. I was misunderstanding and didn't know about the basic-webapp in the target. I revamped the readme.md: https://github.com/NaluKit/gwt-maven-springboot-archetype/pull/17 Hopefully made it better not worse. 😆 On Wednesday 22 May 2024 at 2:07:30 am UTC+10 Thomas Broyer wrote: >

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

2024-05-23 Thread 'Frank Hossfeld' via GWT Users
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. Thomas Broyer schrieb am Dienstag, 21. Mai 2024 um 18:07:30 UTC+2: > On Tuesday, May 21, 2024 at 6:02:31 PM UTC+2 f

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

2024-05-23 Thread 'Frank Hossfeld' via GWT Users
Thanks for contributing, Craig, LGTM, so already merged. :-) Craig Mitchell schrieb am Mittwoch, 22. Mai 2024 um 03:48:18 UTC+2: > Thanks Frank. I was misunderstanding and didn't know about > the basic-webapp in the target. > > I revamped the readme.md: > https://github.com/NaluKit/gwt-maven-

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

2024-05-23 Thread Craig Mitchell
When Thomas said: > *Out of curiosity, any specific reason you don't automate a "mvn clean verify" to validate the generated project?* I suspect he was talking about a Git pre-push hook that automatically did a mvn verify: https://git-scm.com/docs/githooks#_pre_push Unless I misunderstood. O

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 built

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

2024-05-25 Thread 'Frank Hossfeld' via GWT Users
> (fwiw, your GitHub Actions workflow no longer runs as it targets the master branch and you renamed it to main) good point! Thanks. Thomas Broyer schrieb am Freitag, 24. Mai 2024 um 11:22:43 UTC+2: > On Thursday, May 23, 2024 at 6:31:18 PM UTC+2 frank.h...@googlemail.com > wrote: > > Running