ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David W. Brown" <dwbr...@webitplanet.com>
Subject file & directory name property corrupted
Date Mon, 14 Feb 2005 08:54:26 GMT
Hello ant gurus (dev too), I have a very curious problem: for a couple of weeks I have been
using a hand tweeked build.xml acquired from a Tomcat servlet server download as a template
to compile servlet and jsp base projects that run under Tomcat. Maybe this is a Tomcat mail
list problem but since I'm here I might as well take the heat if this is the wrong ML. The
build.xml file I have been using the past couple of weeks has worked perfectly until today.
Upstream in the build.xml is a list of so-called File and Directory names defined as ant properties.
One of the properties that defines the Tomcat installation directory home: catalina.home corrupts
the directory path string that is assigned to it i.e the directory path string loses the backslash
delimiter (\) and the string is compressed together. An example follows and thanks in advance.

<property name="catalina.home" value="C:\Program Files\Apache Software Foundation\Tomcat
5.5"/>

At comple time namely when at the command line the following ant sequence is issued: ant (or
ant compile) the following error condition is returned:

build

compile:
     [echo] Using user.home=C:\Documents and Settings\hbd6345
     [echo] Using catalina.home=C:Program FilesApache Software FoundationTomcat 5.5
    [javac] Compiling 1 source file to C:\Documents and Settings\hbd6345\My Documents\general\dev\in
ventory\build\WEB-INF\classes

BUILD FAILED
C:\Documents and Settings\hbd6345\My Documents\general\dev\inventory\build.xml:289: C:\Program
Files
Apache Software FoundationTomcat 5.5\common\endorsed not found.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message