ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conelly, Luis (GE Energy, Non GE, GENE)" <>
Subject RE: file & directory name property corrupted
Date Mon, 14 Feb 2005 15:40:03 GMT
escape the backslashes (\\) or use forward slash (/) as separator in your
property value

-----Original Message-----
From: David W. Brown []
Sent: Monday, February 14, 2005 2:54 AM
Subject: file & directory name property corrupted

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:


     [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

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:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message