Sunday, May 19, 2024

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

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 instructions here:  https://github.com/NaluKit/gwt-maven-springboot-archetype?tab=readme-ov-file#local-generation say to test, you do:

cd gwt-maven-springboot-archetype && mvn clean compile

And then I should be able to do:

mvn archetype:generate -DarchetypeGroupId=com.github.nalukit.archetype -DarchetypeVersion=HEAD-SNAPSHOT -DarchetypeArtifactId=modular-springboot-webapp

But that fails with:

The desired archetype does not exist (com:modular-springboot-webapp:HEAD-SNAPSHOT)

I suspect I'm supposed to do a mvn install?  Or mvn deploy?  Something that makes HEAD-SNAPSHOT available?

On Sunday 19 May 2024 at 2:17:17 am UTC+10 Frank Hossfeld wrote:
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 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: 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 and then java -jar myserver/myapp.war, it crashes.

I'll investigate.  Any ideas/help most welcome.

On Saturday 18 May 2024 at 8:42:09 pm UTC+10 Craig Mitchell wrote:
> New version available ... This one fixes the serializationPolicyFilePath issue ... 


On Thursday 16 May 2024 at 4:38:52 am UTC+10 Frank Hossfeld wrote:
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/a05f1900-ba3e-447b-a056-c9fca4ccc5bbn%40googlegroups.com.

No comments:

Post a Comment