Re: Example build.xml error?

2005-10-12 Thread Anto Paul
On 10/10/05, René Schade [EMAIL PROTECTED] 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.homevalue=${catalina.home}/myapp/

--
rgds
Anto Paul

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Example build.xml error?

2005-10-10 Thread René Schade
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]