# Women in Technology

Hear us Roar

 Article: Creating a Web Application with Ant and Tomcat 4 Subject: Build Failed ... Date: 2004-11-26 21:15:02 From: lovemw Hi, This is by far the best step by step guide to those who are new to web apps deployment (like me). One problem I have is I can't get it to build properly ...!!! When I run "ant install" command it starts to build but FAILS and gives me a error message "C:\Addressbook\build.xml:46: C:\Program FilesApache GroupTomcat 4.1\common\lib n ot found." As you noticed there is no forward slash "\" between directories. I don't know why there is no "\" between Program Files and Apache Group Directory. Can anyone tell me where did I messed up??? Thanks!!! mw

Showing messages 1 through 1 of 1.

• Build Failed ...
2004-12-21 14:18:23  nt_yng [View]

In your build.properties file make sure you double escape your path separators.
C:\tomcat\common\lib should be C:\\tomcat\\common\\lib.

That's why you didn't get a slash in the error message, Ant read it as an escape character.