vendredi 13 mars 2015

Spring Boot work with Spring Loaded and Gradle

I am trying to get a simple Spring-Boot application to work with Spring Loaded and Gradle without any success. I have tried the following:




  1. Using Spring-Boot with the bootRun task simply reloads static resources just fine with a simple F5 in the browser




  2. If I use bootRun again and change a class through a text editor and the use compileJava it doesnt work.




  3. If I run it with IntelliJ Application make a change in an existing controller and use the IntelliJ make it works only for existing methods. Doesnt update new methods, change of signatures etc.




  4. Using intelliJ with VM argument: -javaagent:C:\Users\myuser.m2\repository\org\springframework\springloaded\1.2.1.RELEASE\springloaded-1.2.1.RELEASE.jar -noverify Still does nothing.




Ideally, I would like to perform the process through using Gradle only - not the IntelliJ since team members might be using another IDE.


Please have a look at the Github project so you can see my sample code: Sample Project


Just perform any changes in the DemoController


Aucun commentaire:

Enregistrer un commentaire