Women in Technology

Hear us Roar



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



Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • BUILD FAILED
    2003-07-11 09:57:41  anonymous2 [View]

    Check your permission on the file. Try chmod 777 context.xml and see if that will make it work. If that's the case - check if it works with a more restricted permission on the file.