that's a timer synchronizing data so you have to wait a bit, there are log lines saying what it does. You can change the refresh interval btw: https://github.com/rmannibucau/JeBlog/blob/master/pom.xml
Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-04-29 11:36 GMT+02:00 LG Optimusv <[email protected]>: > Very quick as usual, Romain. Thanks a lot. > > However, it doesn't work for me (I tried mvn package tomee:run and > tomee:debug. Could you please check it ( > https://github.com/dxxvi/test-tomee-maven-plugin.git)? The jsp file is at > http://localhost:8080/ly/down. > > My plugin declaration is > > <plugin> > <groupId>org.apache.openejb.maven</groupId> > <artifactId>tomee-maven-plugin</artifactId> > <version>1.6.0.1</version> > <configuration> > <tomeeVersion>1.6.0.1</tomeeVersion> > <tomeeClassifier>jaxrs</tomeeClassifier> > <synchronization> > </synchronization> > <!--<reloadOnUpdate>true</reloadOnUpdate>--> > </configuration> > </plugin> > > Regards. > > > On Tue, Apr 29, 2014 at 4:42 AM, Romain Manni-Bucau > <[email protected]>wrote: > >> Hi >> >> use synchronization block http://tomee.apache.org/tomee-maven-plugin.html >> >> just adding in <configuration> an empty <synchronization> block should >> work >> >> >> Romain Manni-Bucau >> Twitter: @rmannibucau >> Blog: http://rmannibucau.wordpress.com/ >> LinkedIn: http://fr.linkedin.com/in/rmannibucau >> Github: https://github.com/rmannibucau >> >> >> 2014-04-29 10:32 GMT+02:00 LG Optimusv <[email protected]>: >> > Hi, >> > >> > What I like to have is the ability to edit jsp, html, css, even image >> files >> > in the IDE, then "compile" them (in IDEA it's Ctrl+Shift+F9) and see the >> > changes in the browser. It seems that this plugin works with .war file >> not >> > the exploded format of a web app. So everything has to be re-packaged and >> > the whole web app has to be reloaded. I'm pretty sure that I'm using this >> > plugin wrongly because nobody writes a plugin like that. >> > >> > Before using the plugin, I used to write a context xml file in >> > $TOMEE_HOME/conf/Catalina/localhost pointing to the exploded web app >> > created by maven (after modifying the $TOMEE_HOME/conf/web.xml with >> > >> > <init-param> >> > <param-name>development</param-name> >> > <param-value>true</param-value> >> > </init-param> >> > <init-param> >> > <param-name>checkInterval</param-name> >> > <param-value>1</param-value> >> > </init-param> >> > >> > in the jsp servlet. And it works really well. But I love to use the >> plugin >> > (jetty-maven-plugin works perfectly, it allows us to specify the web.xml, >> > the webapp directory ...). >> > >> > Thanks. >>
