mvn war:exploded did not work.

However, mvn compile is working now and the server will restart. It did not
when I tried earlier.

Cheers

On Thu, Apr 21, 2022 at 12:56 AM 'Rogelio Monter Rodriguez' via Google App
Engine <google-appengine@googlegroups.com> wrote:

> As stated in the app-maven-plugin User guide
> <https://github.com/GoogleCloudPlatform/app-maven-plugin/blob/master/USER_GUIDE.md#how-do-i-enable-automatic-reload-of-my-application>
> :
>
>     To enable automatic reload of an application, you must tell the Dev
> App Server to scan for changes :
>
>     <configuration>
>
>       <automaticRestart>true</automaticRestart>
>
>     </configuration>
>
>     While your app is running, just run mvn war:exploded to reflect your
> changes into the running application.
>
> On Wednesday, April 20, 2022 at 4:51:47 AM UTC-5 ludovic.c...@gmail.com
> wrote:
>
>> Hi,
>> Try to follow the doc at:
>>
>> https://cloud.google.com/appengine/docs/standard/java/maven-reference#appenginerun
>> Especially the config for the Pom.xml file to put the classes in the
>> correct folder.
>>
>> Thanks
>>
>>
>> On Tue, Apr 19, 2022 at 8:43 PM 'Rajesh G' via Google App Engine <
>> google-a...@googlegroups.com> wrote:
>>
>>> Hi, any ideas on how to make the hot reload work
>>>
>>> Thanks
>>>
>>> On Sat, Apr 16, 2022 at 5:20 PM Rajesh G <
>>> rajesh...@veersoftsolutions.com> wrote:
>>>
>>>> Hello,
>>>> I have created a simple java appengine using maven archetypes.
>>>> I am not using eclipse (because I don't have eclipse in windows wsl2.)
>>>>
>>>> I run the server using
>>>> mvn appengine:run
>>>>
>>>> Then I do simple changes to a servlet. Then another window, I run
>>>> mvn:compile.  It compiles into the target/snapshot folder
>>>>
>>>> However, I am not seeing the changes on the server.  The latest servlet
>>>> changes is not reflected
>>>>
>>>> I tried the following settings also in the pom.xml file.  The server is
>>>> not restarted
>>>>
>>>> <configuration>
>>>>   <automaticRestart>true</automaticRestart>
>>>> </configuration>
>>>>
>>>>
>>>> --
>>>> Support Team
>>>> www.servicefolder.com
>>>> *Field Service Software on Google Cloud Platform and Mobile*
>>>>
>>>>
>>>>
>>>
>>> --
>>> Support Team
>>> www.servicefolder.com
>>> *Field Service Software on Google Cloud Platform and Mobile*
>>>
>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Google App Engine" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/google-appengine/5XT9ASv7iM4/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> google-appengi...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijaEYSV83h6rvK-NDF8bpTw%3Dx31cSrtzmZExufXu%3DP%3DqzQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijaEYSV83h6rvK-NDF8bpTw%3Dx31cSrtzmZExufXu%3DP%3DqzQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/d4855b59-c9d5-4eab-9678-ac19094529afn%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/d4855b59-c9d5-4eab-9678-ac19094529afn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Support Team
www.servicefolder.com
*Field Service Software on Google Cloud Platform and Mobile*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijaOH8OUfy-bkE4j09LvbTOOENGTrYvVPc_DpSAxOXeAtQ%40mail.gmail.com.

Reply via email to