From owner-freebsd-ports@FreeBSD.ORG Fri Aug 17 15:47:50 2007 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D431216A418 for ; Fri, 17 Aug 2007 15:47:50 +0000 (UTC) (envelope-from apvanderveen@att.net) Received: from mtiwmhc12.worldnet.att.net (mtiwmhc12.worldnet.att.net [204.127.131.116]) by mx1.freebsd.org (Postfix) with ESMTP id A78A613C483 for ; Fri, 17 Aug 2007 15:47:50 +0000 (UTC) (envelope-from apvanderveen@att.net) Received: from t60.mydomain.home (75-136-235-139.dhcp.mant.nc.charter.com[75.136.235.139]) by worldnet.att.net (mtiwmhc12) with ESMTP id <2007081715374611200p87ene>; Fri, 17 Aug 2007 15:37:47 +0000 Message-ID: <46C5C0C9.3000507@att.net> Date: Fri, 17 Aug 2007 11:37:45 -0400 From: "Arend P. van der Veen" User-Agent: Thunderbird 2.0.0.6 (X11/20070803) MIME-Version: 1.0 To: ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Tomcat 5.5 Port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2007 15:47:50 -0000 Hi, I have installed Tomcat 5.5.23_1 on FreeBSD 6.2. I have used Servlets a lot in the past but have not used ant. I am now trying to get this development environment to work. Following the basic portinstall of Tomcat on FreeBSD I did the following: 1. sudo cp /usr/local/tomcat5.5/server/lib/catalina-ant.jar /usr/local/share/java/apache-ant/lib 2. Made a sample project 3. set manager url in build.xml 4. Chnage permissions in tomcat cd /usr/local/tomcat5.5] sudo chown -R www webapps Once this was done I was able to compile the project and install it using: ant ant install I did notice that it created a new directory in webapps with the new application. So far so good. If I try to install it again I get an error stating that it is already installed. Again, so far so good. The problem that I have is if I make changes to the project and reload the application using ant reload I get the following output: reload: [reload] OK - Reloaded application at context path /hello This looks ok. However, when I run it, the changes to the project do not show up. If I look into the directory under webapps, the changes have not been moved over. I have to manually copy the contents from my build to webapps under tomcat. What I am doing wrong. I am sure that it is someting simple but do not seem to figure it out. Thanks, Arend