The /src/main/resources where indeed excluded from copy to the classes
folder.  Thanks for that tip.  I fixed that, but I am still having
problems.  The code changes I am trying to auto-reload are being made
to pages in src/main/java.

I am wondering if this is an issue with Eclipse or maven.  It does not
re-compile on save, it seems to only re-compile when I start jetty
using the Run Configurations... > Mavin Build > Goals: jetty:run

On Wed, Apr 21, 2010 at 6:27 PM, Thiago H. de Paula Figueiredo
<thiag...@gmail.com> wrote:
> On Wed, 21 Apr 2010 20:16:25 -0300, Jeanne Rash <jeanne.r...@gmail.com>
> wrote:
>
>> The quickstart app runs fine with mavin-compiler-plugin 2.0.2 and
>> maven-jetty-plugin 6.1.9 plugin but I cannot seem to get the automatic
>> re-loading of class changes working.   My understanding is that I
>> jetty will pickup class changes automatically without requiring a
>> restart?  Am I missing a configuration step? Do I have incompatible
>> versions?
>
> The Sonatype's m2eclipse plugin does something that is counter-intuitive: it
> configures the project so that the contents of src/main/resources is *not*
> copied to the classes folder when something is changed. Go to the project
> properties, Java build path, click in the 'Excluded' item under
> src/main/resources and then click 'remove'. Eclipse will recompile your
> project and the live class reloading should work now.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and
> instructor
> Owner, software architect and developer, Ars Machina Tecnologia da
> Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to