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 `mvn clean verify`- not sure, if 
install is really needed. So, for develpment, `mvn clean compile`  Is all 
you need to do. And it save a lot of time especially when the project gets 
more classes.

Craig Mitchell schrieb am Montag, 20. Mai 2024 um 05:00:07 UTC+2:

> 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 install
>
> And my PR looks good.  🙂
>
> On Monday 20 May 2024 at 12:40:45 pm UTC+10 Craig Mitchell wrote:
>
>> 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 ... *
>>>>>>>
>>>>>>> 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 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 discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/9e22c73b-721b-49d4-8748-2d49f1986c4cn%40googlegroups.com.

Reply via email to