ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From otisg <>
Subject Junit and access denied (file permission)
Date Thu, 13 Mar 2003 21:03:32 GMT

I am using Ant 1.5.2 with JDK 1.4.1_02 on a
Red Hat 7.3.
Then running JUnit task I always get an
error such as this one:

    [junit] Running
    [junit] Exception in thread "main" access
denied (
    [junit]     at
    [junit]     at
    [junit]     at
    [junit]     at
    [junit]     at<init>(
    [junit]     at<init>(
    [junit]     at
    [junit]     at
    [junit]     at
    [junit] TEST
net.wgen.amp.action.ExampleActionTest FAILED

I cannot figure out why this is happening.
Even if I do 'chmod -R 777 reports' (reports
is the directory where unit test reports go)
and re-run Ant, I still get the same error!

Even if I touch the XML file that supposedly
cannot be created/written to disk, and make
it world writable, I still get the error.

Does anyone know what the problem is here?

Thank you,

Get your own "800" number
Voicemail, fax, email, and a lot more

View raw message