ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stan Guillory" <>
Subject RE: Did 1.7RC1 break JUnit 4.x compatibility?
Date Wed, 15 Nov 2006 14:49:11 GMT

Well, rebooting a Solaris box isn't an option. :*)

So here is what I have tried:

1) Used the tempdir attribute to create temporary files in /tmp instead
of the basedir of the project. This did not help. Got the same errors.

2) Copied my entire source tree out of the vob to a local file system
and built there. Same problem. Here is the stack trace I am getting on
every unit test:

/tmp/ (No such file or directory)
    [junit]     at Method)
    [junit]     at<init>(
    [junit]     at<init>(
    [junit]     at
    [junit]     at
    [junit]     at
    [junit]     at
    [junit]     at
    [junit]     at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown
    [junit]     at
    [junit]     at java.lang.reflect.Method.invoke(
    [junit]     at
    [junit]     at
    [junit]     at
    [junit]     at
    [junit]     at
    [junit]     at
    [junit]     at
    [junit]     at
    [junit]     at
    [junit]     at
    [junit]     at
    [junit]     at
    [junit] Running
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    [junit] Test
FAILED (crashed)

So basically all I can say at this point is that the junit4 support in
1.7RC1 works with a trivial example, but is not working on Windows or
Solaris with a more typical project. I will revert to ant 1.6.5 for not
until I can try to reproduce this issue at home.


-----Original Message-----
From: Steve Loughran [] 
Sent: Wednesday, November 15, 2006 3:42 AM
To: Ant Developers List
Subject: Re: Did 1.7RC1 break JUnit 4.x compatibility?

Stan Guillory wrote:
> One thing is we use clearcase for source control, and we use dynamic 
> views. My original email was due to builds on unix where every test 
> failed this way. When I ran the test on Windows, in a dynamic view, 
> one test actually succeeded before the next one failed. I wonder if it

> could be a timing issue?
> Stan

Clearcase scares me. Its got case sensititivy on windows, and sometimes
it gets into a state where only a reboot fixes it. Sometimes it gets
into a state where a system rebuild fixes it, sometimes even that is
insufficient. There is no way I would install clearcase on any machine
of mine, real or virtual,  just to set up a realistic test platform.

Try rebooting and rerunning the tests.  The other thing is use the
tempdir attribute to make the temp directory somewhere else than a VOB. 
  Let us know how you get on.


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

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

View raw message