Thanks, I assumed reload was more something like undeploy followed by
deploy.


On Sat, Mar 29, 2014 at 4:42 AM, Christopher Schultz <
ch...@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Brendan,
>
> On 3/28/14, 9:21 PM, Brendan Miller wrote:
> > Using the tasks from the example ant script at:
> > http://tomcat.apache.org/tomcat-8.0-doc/appdev/build.xml.txt
> >
> > I have can deploy and undeploy from ant. However, the "reload" task
> > doesn't seem to do anything.
> >
> > I make changes to java and html files, run "ant reload" which
> > triggers the reload task. Ant reports success. I browse to the site
> > and my changes aren't reflected. undeploy followed by deploy
> > works.
>
> Are you compiling your .java files? Are you copying the .class files
> and any other updated files into the deployment directory?
>
> > Am I not understanding what reload is supposed to do, or is there
> > a different task that makes more sense to use?
>
> Reload will stop the web application, then re-start it. If you've
> updated cached resources on the disk (e.g. classes or libraries,
> certain static files, etc.) then the caches will start empty after the
> reload.
>
> You should only need "reload" if you are updating your web application
> on the disk and don't have "reloadable" set to true for your application.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJTNrGNAAoJEBzwKT+lPKRYPJ4P/Rtg94qHLHaUC/RoBhep65hj
> bncw2/1YWN7d3TdctwpAnmAX4UNqA63GLoTPBUdlFygo3Z92IzORf9urTk4lPMzz
> mUs5oqtjL/R8P0PZcRnb1CnZkoo5L98CbBgC9aJLjPeYdRVt7/ZK8VEAjNZwhHw6
> hEm1USin1/lbPu0asIv1641kNcEhZxVjYcXl395qUy+9zfA6a1Fgm5ghtB/x4UAe
> 8YAJX0c9fGc+0HlKXGeuN+9zlrAnDFNbb//Ervk46bpF5Wk3JQisos1RMUxD4g89
> 6Yuzd6W1WwfpmoDu7tyCoMa5JGiCBCYFNn0D1/6Og8uNMrr/0DSq3Gkdsa3V1E/t
> W3SqFe2AZM7GnBC28ZQaTQqn1P+lttKvfK5Ezcjd4tdI2oHjB9ub5ivbNddE/qF4
> FWwa502TBj5hci5EraYzqR0Qj/K7HUt/DMOxJ+qjWLm2DaTCLwN9liFM1q7qPOnv
> AK+8KlZiZPkefJaaxCE0ZpV11p+wFhj6spnFdQNGzl5XRnd+1VSPl4HVid4mjIhU
> EJPt9X0+FLvuXvR8JUhpNaDk251voLyQJRzNYGWJsRk5RMj+ZQl4gaxVIULDLKSb
> OLULhPfiSJr/+CHaequePegXBqZpDG22Nv6IhPD1HkDEppf6kbk7DYcvA7/eV+yq
> 2VD7z4se2yZqG7hrbTO+
> =3Hvo
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to