junit haltonfailure doesn't

2007-10-10 Thread Kendall Shaw
I am using junit 4.3.1 and ant 1.7, I have haltonfailure="true" on the junit element, but all of my tests are executed even though some fail. Can I make it halt on failure? Or am I misunderstanding how that is supposed to work?

pass command-lines through to class

2004-12-06 Thread Kendall Shaw
I have to use main(String[] args) in a class, instead of using properties. Is there a way to pass through arguments to the class? I've read an example such as: ant target -- a b c But, ant complains that -- is an unknown argument.