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@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@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@redhat.com> wrote:
On Tue, Jul 25, 2017 at 3:28 PM, Ramon Gordillo Gutierrez <ramon.gordillo@redhat.com> wrote:
Maybe you are seeking for devtools?


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

​Torre de Cristal​, Floor 17​​th, ​Paseo de la Castellana 259C

​​28046 Madrid

ramon.gordillo@redhat.com    T: +34916357935    M: +34639667440    

T: @redhatnews   L: Red Hat


On Wed, Jul 26, 2017 at 12:07 AM, Burr Sutter <bsutter@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

apupier@redhat.com    IM: apupier


_______________________________________________
jbosstools-dev mailing list
jbosstools-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosstools-dev



--

JEFF MAURY

Red Hat 

jmaury@redhat.com   

@redhatjobs   redhatjobs   @redhatjobs