I'm using IDEA8 and live class reloading is working just fine for both
page/component classes and templates.
I've also configured a run configuration that executes in my case the
tomcat:run goal. The tomcat plugin then runs the application inplace looking
for the classes in the target/classes dir which in place is where IDEA puts
compiled classes too. So all i have to do is configure the web facet in IDEA
to not generate any war or even an exploded structure and that's it,
everything works fine.

On Thu, Jan 8, 2009 at 7:33 AM, Angelo Chen <angelochen...@yahoo.com.hk>wrote:

>
> Hi Otho,
>
> Thanks. I have one configuration, jetty:run, start it, then any changes
> made(either to the class or template), I click 'make module' while jetty is
> running, it has everything updated too, but this is not live reloading. I
> tried your two configuration approach and it's just the same as one
> configuration approach, am I missing something? live class/template
> reloading is really cool, but is it really working with IDEA8?
>
> Angelo
>
>
> Otho wrote:
> >
> > I have 2 run configurations, both of type maven.
> >
> > In the first the field for the maven goal to run contains: jetty:run
> > (jetty:run-exploded doesn't work with live class reloading.)
> >
> > In the second the field for the maven goal contains: compile.
> >
> > I start up the application with the first goal and after changing
> > something
> > reloadabke I compile with the second goal and everything is there as it
> > should be.
> >
> > For page/component classes you can also just press Ctrl-Shift-F9 to
> > (re-)compile them and they are automatically picked up, but for templates
> > you need the way via the compile goal which copies all resources
> > correctly.
> > This way also changes (or even newly created files) in the properties
> > files
> > for pages/components get picked up.
> >
> > Hope that helps.
> >
> > Otho
> >
> >
> > 2009/1/6 Angelo Chen <angelochen...@yahoo.com.hk>
> >
> >>
> >> Hi Otho,
> >>
> >> Can you give some more details? Thanks.
> >>
> >> Angelo
> >>
> >>
> >> Otho wrote:
> >> >
> >> > Hi,
> >> >
> >> > just use the maven compile target in a separate run config.
> >> >
> >> >
> >> > 2009/1/6 Angelo Chen <angelochen...@yahoo.com.hk>
> >> >
> >> >>
> >> >> Hi,
> >> >>
> >> >> I noticed that using Maven Build in IDEA8, there is no option to have
> >> >> 'build
> >> >> on frame deactivation' and 'build web resources only'. how to do this
> >> >> live
> >> >> reloading when template got changed or class modified wit IDEA8?
> >> thanks.
> >> >>
> >> >> Angelo
> >> >>
> >> >>
> >> >> bbcooper wrote:
> >> >> >
> >> >> > Hi folks,
> >> >> >
> >> >> > I made another post. This time with screencast to better
> demonstrate
> >> >> the
> >> >> > principle of live class reloading to newcomers.
> >> >> >
> >> >> > Comments welcome at
> >> >> > http://bbwebcraft.blogspot.com/
> >> >> >
> >> >> > Cheers,
> >> >> > Borut
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/Rapid-turnaround-with-Tapestry-5-blog-post-tp21299421p21306450.html
> >> >> Sent from the Tapestry - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> >> >> For additional commands, e-mail: users-h...@tapestry.apache.org
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Rapid-turnaround-with-Tapestry-5-blog-post-tp21299421p21311443.html
> >> Sent from the Tapestry - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> >> For additional commands, e-mail: users-h...@tapestry.apache.org
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Rapid-turnaround-with-Tapestry-5-blog-post-tp21299421p21347034.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to