ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From otisg <>
Subject Ant+JUnit -> access denied
Date Fri, 20 Sep 2002 20:13:02 GMT

I think have seen this problem before, but I
can't remember what the problem nor solution
were :(
I am using Ant 1.5 and Java 1.3.1 on Winblows.

I did not find anything similar in the
mailing list archive.

I am running Junit task and getting an
error, which claims that there is a file
access/permission problem.
However, this error occurrs only if tests fail.
If tests pass, reports are generated without

    [junit] Running
    [junit] access
denied (
    [junit]  at
    [junit]  at
    [junit]  at
    [junit]  at
    [junit]  at<init>(
    [junit]  at<init>(
    [junit]  at<init>(
    [junit]  at
    [junit]  at
    [junit]  at
    [junit] Exception in thread "main" 

However, there are no problems with permissions.
This is happening only when tests are failing.
This is happening on a Windows machine.
The target directory exists.
I (the user running this) can create a text
file in the target directory.

I have a feeling that the problem is
something else, and it is just manifesting
itself this way, with a misleading error
I have run ant with -debug, but that didn't
reveal any further information.

Does anyone know what could be causing this

Thank you,

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

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

View raw message