Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 4840 invoked from network); 15 Jan 2003 16:38:14 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 15 Jan 2003 16:38:14 -0000 Received: (qmail 9093 invoked by uid 97); 15 Jan 2003 16:36:44 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 9004 invoked by uid 97); 15 Jan 2003 16:36:42 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 8948 invoked by uid 98); 15 Jan 2003 16:36:41 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-Id: <5.1.0.14.1.20030115113525.00b0d480@pop.aecom.yu.edu> X-Sender: dxie@pop.aecom.yu.edu X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 15 Jan 2003 11:35:42 -0500 To: "Ant Users List" From: Donglu Xie Subject: RE: ant install --- thanks In-Reply-To: <5DDFCC127CEED211A27200105A9CAB7B01615955@S64P10BM756> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks for your suggestion. At 05:19 PM 1/15/2003 +0100, you wrote: >I don't know, it's been a long time since I played around with Tomcat > >do you copy the web.xml file as well? are you runinng on a unix system and >you need to set executable permissions for your classes files? > > > -----Message d'origine----- > > De : Donglu Xie [mailto:dxie@aecom.yu.edu] > > Envoye : mercredi 15 janvier 2003 16:52 > > A : Ant Users List > > Objet : RE: ant install --- thanks > > > > > > Thank you. After modifying build.xml, classes files went to the right > > directory. However, the server still cannot find servlet class under > > web/WEB-INF/classes/*. I am checking web.xml. Do you have any > > other clues > > to help me fix this problem? > > > > > > At 03:55 PM 1/15/2003 +0100, you wrote: > > >Hi, > > > > > >Supposing you created your own buildfile "install", and you > > install by > > >copying the files to your Tomcat folder: > > > > > >Instead of copying your project folder (the one which contains your > > >"src","build",etc. folders), copy everything in your build > > folder. So the > > >FileSet which defines the files you copy should not be rooted at your > > >project base folder, but rather at the "build" folder. > > > > > >For ex, supposing ${projectbase} contains your project folder and > > >${tomcatfolder} contains your tomcat installation: > > > > > >instead of: > > > > > > > > > > > > > > > > > > > > > > > >use: > > > > > > > > > > > > > > > > > > > > > > > > > > >Hope this helps. > > >Roland. > > > > > > > > > > -----Message d'origine----- > > > > De : Donglu Xie [mailto:dxie@aecom.yu.edu] > > > > Envoye : mercredi 15 janvier 2003 15:44 > > > > A : ant-user@jakarta.apache.org > > > > Objet : ant install > > > > > > > > > > > > I use Ant 1.5.1 in Tomcat 4.1.Tomcat server is starting up. > > > > Then I use "ant > > > > install" to set up my application which is organized > > > > hierarchy. Everything > > > > goes well except that ant create a new fold name "build" > > > > which contains all > > > > the compiled classes instead of putting those files into > > > > "web/WEB-INF". So, when I try to call the servlet, the > > > > server complains > > > > that the classes cannot be found. > > > > > > > > Any help are appreciated. > > > > ------------------------------------------------------------- > > > > Donglu Xie > > > > Programmer, Data Analyst, Webmaster > > > > Biotechnology Center of AECOM > > > > http://biotech.aecom.yu.edu > > > > Tel: (718) 405-8380 > > > > Email: dxie@aecom.yu.edu > > > > -------------------------------------------------------------- > > > > > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > > > > > > For additional commands, e-mail: > > > > > > > > > > > > > >-- > > >To unsubscribe, e-mail: > > > > >For additional commands, e-mail: > > > > > > ------------------------------------------------------------- > > Donglu Xie > > Programmer, Data Analyst, Webmaster > > Biotechnology Center of AECOM > > http://biotech.aecom.yu.edu > > Tel: (718) 405-8380 > > Email: dxie@aecom.yu.edu > > -------------------------------------------------------------- > > > > > > -- > > To unsubscribe, e-mail: > > > > For additional commands, e-mail: > > > > > >-- >To unsubscribe, e-mail: >For additional commands, e-mail: ------------------------------------------------------------- Donglu Xie Programmer, Data Analyst, Webmaster Biotechnology Center of AECOM http://biotech.aecom.yu.edu Tel: (718) 405-8380 Email: dxie@aecom.yu.edu -------------------------------------------------------------- -- To unsubscribe, e-mail: For additional commands, e-mail: