ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Creating a Web Application with Ant and Tomcat 4
Subject:   BUILD FAILED
Date:   2003-06-03 16:45:26
From:   anonymous2
When I type "ant install" the build fails:


-------------------------------------------
install:
[echo] Installing AddressBook ...
[install] FAIL - Encountered exception java.io.IOException: java.io.FileNotFoundException: /home/johnsmith/work/war/META-INF/context.xml (Permission denied)



BUILD FAILED
file:/home/johnsmith/work/build.xml:117: FAIL - Encountered exception java.io.IOException: java.io.FileNotFoundException: /home/johnsmith/work/war/META-INF/context.xml (Permission denied)
-------------------------------------------


My Tomcat is in /var/tomcat4. Some how, Ant can't
access context.xml even though I can see that it
is indeed there.


What am I doing wrong?


Thanks
John




1 to 1 of 1
1 to 1 of 1