[jbosstools-dev] Does anyone know the spring-boot:run with hot deploy?

Jean-Francois Maury jmaury at redhat.com
Wed Jul 26 06:12:07 EDT 2017


I started a POC about it but did not finished yet.
The thing is that the FIS java image allows to set up an extra folder to be
part of the classpath and if the jar is started with a env variable to this
folder, then the spring boot devtools will monitor this folder and restart
the app.
This only bad point is that because the app is a war from the Maven POV the
deploy stuff in jbosstools will deploy an exploded war so we should adjust
the variable to the folder where the classes will be deployed (ex
/deployments/mywar/WEB-INF/classes)

Jeff

On Wed, Jul 26, 2017 at 10:47 AM, Aurélien Pupier <apupier at redhat.com>
wrote:

> Hello,
>
> Spring Tool Suite is providing some UI for hot deployment.
> it is even possible for Containers (with CloundFoundry for now)
> See https://www.youtube.com/watch?v=iE-7eSYDsPo&index=33&list=WL ,
> especially between 23' and 29'20" for remote hot deploy.
>
> We discussed about it with some people of JBoss Tools team (as it would be
> convenient for Fuse Integration Services based on SpringBoot) but don't
> know what is possible and what is currently planned.
>
> regards,
>
> On Wed, Jul 26, 2017 at 4:36 AM, Kamesh Sampath <ksampath at redhat.com>
> wrote:
>
>> if you are using IDE after adding devtools deps ( be sure to add it
>> optional)  and when you rebuild the app does restart.
>>
>> On Wed, Jul 26, 2017 at 4:28 AM Burr Sutter <bsutter at redhat.com> wrote:
>>
>>> On Tue, Jul 25, 2017 at 3:28 PM, Ramon Gordillo Gutierrez <
>>> ramon.gordillo at redhat.com> wrote:
>>>
>>>> Maybe you are seeking for devtools?
>>>>
>>>> https://docs.spring.io/spring-boot/docs/current/reference/ht
>>>> ml/using-boot-devtools.html
>>>>
>>>> It does not implement hot-deploy but autorestart. Not bad so far.
>>>>
>>>>
>>> Interesting, looks like I need to change my pom.xml (which is coming
>>> from the Launchpad/RHOAR booster/quickstart)
>>>
>>>
>>>> RAMON GORDILLO
>>>>
>>>> MIDDLEWARE SOLUTION ARCHITECT
>>>>
>>>> Red Hat Iberia <https://www.redhat.com/>
>>>>
>>>> ​Torre de Cristal​, Floor 17​​th, ​Paseo de la Castellana 259C
>>>>
>>>> ​​28046 Madrid
>>>>
>>>> ramon.gordillo at redhat.com    T: +34916357935
>>>> <http://redhatemailsignature-marketing.itos.redhat.com/>    M:
>>>> +34639667440 <http://redhatemailsignature-marketing.itos.redhat.com/>
>>>>
>>>> <https://red.ht/sig>
>>>> T: @redhatnews <https://twitter.com/redhatnews>   L: Red Hat
>>>> <https://www.linkedin.com/company/red-hat>
>>>>
>>>>
>>>> On Wed, Jul 26, 2017 at 12:07 AM, Burr Sutter <bsutter at redhat.com>
>>>> wrote:
>>>>
>>>>> does anyone know the command for
>>>>> mvn clean compile spring-boot:run
>>>>> that also supports hot redeploy?
>>>>>
>>>>> vertx run with hot deploy is
>>>>> mvn clean compile vertx:run
>>>>>
>>>>
>>>>
>
>
> --
>
> AURÉLIEN PUPIER
>
> SENIOR SOFTWARE ENGINEER, FUSE TOOLING
>
> Red Hat France <https://www.redhat.com/>
>
> apupier at redhat.com    IM: apupier
> <https://red.ht/sig>
>
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>



-- 

JEFF MAURY

Red Hat

<https://www.redhat.com/>

jmaury at redhat.com
<https://red.ht/sig>
<https://redhat.com/summit>
@redhatjobs <https://twitter.com/redhatjobs>   redhatjobs
<https://www.facebook.com/redhatjobs/>   @redhatjobs
<https://instagram.com/redhatjobs>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbosstools-dev/attachments/20170726/463cd64e/attachment-0001.html 


More information about the jbosstools-dev mailing list