Did you find the problem? > -----Message d'origine----- > De : Donglu Xie [mailto:[EMAIL PROTECTED]] > Envoye : mercredi 15 janvier 2003 17:36 > A : Ant Users List > Objet : RE: ant install --- thanks > > > 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:[EMAIL PROTECTED]] > > > 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: > > > > > > > ><copy todir="${tomcatfolder}/webapps"> > > > > <fileset dir="${projectbase}"> > > > > <include name="**/*.class"/> > > > > </fileset> > > > ></copy> > > > > > > > >use: > > > > > > > ><copy todir="${tomcatfolder}/webapps"> > > > > <fileset dir="${projectbase}/build"> > > > > <include name="**/*.class"/> > > > > </fileset> > > > ></copy> > > > > > > > > > > > >Hope this helps. > > > >Roland. > > > > > > > > > > > > > -----Message d'origine----- > > > > > De : Donglu Xie [mailto:[EMAIL PROTECTED]] > > > > > Envoye : mercredi 15 janvier 2003 15:44 > > > > > A : [EMAIL PROTECTED] > > > > > 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: [EMAIL PROTECTED] > > > > > -------------------------------------------------------------- > > > > > > > > > > > > > > > -- > > > > > To unsubscribe, e-mail: > > > > > <mailto:[EMAIL PROTECTED]> > > > > > For additional commands, e-mail: > > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > >-- > > > >To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > >For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > ------------------------------------------------------------- > > > Donglu Xie > > > Programmer, Data Analyst, Webmaster > > > Biotechnology Center of AECOM > > > http://biotech.aecom.yu.edu > > > Tel: (718) 405-8380 > > > Email: [EMAIL PROTECTED] > > > -------------------------------------------------------------- > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > >-- > >To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > >For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > ------------------------------------------------------------- > Donglu Xie > Programmer, Data Analyst, Webmaster > Biotechnology Center of AECOM > http://biotech.aecom.yu.edu > Tel: (718) 405-8380 > Email: [EMAIL PROTECTED] > -------------------------------------------------------------- > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> >
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>