You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by FL <le...@gmail.com> on 2005/04/29 17:06:38 UTC

Tomcat Install error: cannot replace directory

I have a tomcat 5.5 build error on a debian linux system with the following 
kernel:
root@creature:/home/jakarta# uname -a
Linux creature 2.6.9 #2 SMP Tue Oct 19 23:51:10 CEST 2004 i686 GNU/Linux

The main build.xml came from the online repository [obvtained with wget -c 
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/build.xml]:
8 -rw-r--r-- 1 root root 4597 Mar 26 14:24 build.xml

Invocation of ant is uneventful up to the
following jakarta-tomcat-5 section

-build-tomcat-dbcp:

BUILD FAILED
/home/jakarta/build.xml:49: The following error occurred while executing 
this line:
/home/jakarta/jakarta-tomcat-5/build.xml:1894: The following error occurred 
while executing this line:
/home/jakarta/jakarta-tomcat-5/build.xml:670: The following error occurred 
while executing this line:
/home/jakarta/jakarta-tomcat-5/build.xml:682: The following error occurred 
while executing this line:
/home/jakarta/jakarta-tomcat-5/build.xml:717: Cannot replace directory 
/usr/share/java/tomcat-deps/src/java/org/apache/tomcat/dbcp with directory 
/usr/share/java/tomcat-deps/src/java/org/apache/commons

Total time: 14 seconds
root@creature:/home/jakarta#

What have I done wrong?

Thanks.