ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 43586] /home/***/apache-ant-1.7.0/junitvmwatcher *** .properties
Date Wed, 06 May 2009 22:45:51 GMT

--- Comment #15 from A Wilson <>  2009-05-06 15:45:47 PST ---
This bug bit me because in my <junit> element I had a <test> element that used
a name attribute that was incorrect.  The resulting FNFE error, that was not found, was a huge red herring. 
Comments I found about it being caused by versionitis took me way down wrong

Thanks to comment #11 above, I finally saw this in my verbose ant output:


[junit] Executing
'/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java' with
    [junit] '-ea'
    [junit] '-classpath'
    [junit] <classpath here> 
    [junit] ''
    [junit] 'null'
    [junit] 'filtertrace=true'
    [junit] 'haltOnError=true'
    [junit] 'haltOnFailure=true'
    [junit] 'showoutput=false'
    [junit] 'outputtoformatters=true'
    [junit] 'logtestlistenerevents=true'

Note the 'null' about 5 lines down.  It took me a while to figure out that it
should have held the name of the test class and that the name I had provided
was wrong.  

Far too costly in time to figure that out!  But maybe someone else can benefit
from this info.  Thank you, Gerry Plummer.  Your post led me to the solution.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message