Hi Mark,

I have been able to get the new goal to pick up the modified source files.
I had to run 'mvn compile war:inplace' then a tomcat:run with future
compile war:inplace goals.  The chnages were then reloaded.  I am not
sure if this is problem with giving the context a docbase if
${basedir}/src/main/webapp and then locating the classs from the
target classes directory.

Trent

On 04/12/06, Mark Hobson <[EMAIL PROTECTED]> wrote:
On 04/12/06, Trent Rosenbaum <[EMAIL PROTECTED]> wrote:
> I have been trying out the new tomcat goals and I am not sure what is
> present within the new functionality.  I can see my changes within JSP
> files being reloaded when I used tomcat:run, but I could not see
> changes to any beans being reloaded.  I noticed that the context had a
> value of true for its reloadable attribute.  I was not sure how to
> invoke this because the manager app will not be present.  Should this
> happen automatically after a default period of time?

In theory [1], the context should be automatically reloaded when
Tomcat notices any file changes, but I haven't checked this
functionality yet.

Mark

[1] 
http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/loader/WebappLoader.html

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to