You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by René Schade <sc...@hypergenic.com> on 2005/10/10 15:40:25 UTC
Example build.xml error?
Hi List,
Starting a new project, I deceided to move to Tomcat 5.5.
In the "Application Developer's Guide"
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/index.html
There is an example build.xml file for installing & reloading the project, a "basic build-file":
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/build.xml.txt
Using this build.xml file works fine, except for one thing. Whenever I do a change followed by "ant reload", it does not deploy the changes to the server. The changed files are recompiled in to the local /build folder, followed by a reload of the server, but the changed files are never deployed to the server.
Maybe my setup is wrong, maybe it is not supposed to support this, or maybe it's just an error?
Regards,
René
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Example build.xml error?
Posted by Anto Paul <an...@gmail.com>.
On 10/10/05, René Schade <sc...@hypergenic.com> wrote:
> Hi List,
>
> Starting a new project, I deceided to move to Tomcat 5.5.
>
> In the "Application Developer's Guide"
>
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/index.html
>
> There is an example build.xml file for installing & reloading the project, a "basic build-file":
>
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/build.xml.txt
>
> Using this build.xml file works fine, except for one thing. Whenever I do a change followed by "ant reload", it does not deploy the changes to the server. The changed files are recompiled in to the local /build folder, followed by a reload of the server, but the changed files are never deployed to the server.
>
It should be that class files are not compiled to Tomcats applications
WEB-INF\classes folder. You can check this by comparing timestamps of
a modified class file.
Perhaps you have to make property build.home point to the application
context directory of Tomcat. ie. something like
<property name="build.home" value="${catalina.home}/myapp"/>
--
rgds
Anto Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org