I see you have forums for ant, junit, and NetBeans. Rather than crosspost, I'll start here. I have a Java project underway, 15 classes so far, developed in NetBeans. About 12 have been thoroughly tested by junit tests constructed from skeletons provided by NetBeans. Now instructor says use ant to make the package to turn in. Just take this and make a few obvious tweaks. After some tweaking, I still can not get the tests to run. Error messages indicate that all the test programs are found. I think the problem lies in the line that begins <jvmarg in the following fragment from the supplied file, but I don't know what it is supposed to mean.
A pointer to the correct forum, or even an explanation would be great. Thanks.
It might make sense to include what's actually happening.
Charles Bradley
Greenhorn
Joined: Oct 04, 2009
Posts: 25
posted
0
Here is the ant output, cut off after two of the tests.
... for about a dozen more, then
This file is unknown to me:
.Users.sam.Desktop.spell.config.configuration.properties
If I knew what it was supposed to contain, I probably could figure out a place to put that content.
Thanks.
Commenting out the mysterious line allowed the tests to run. Thanks.
Now I'll take a detour to find out why the idea of "write once, run anywhere" is compatible with the JVM having arguments, and then I can go back to finding out why the test results from the ant script do not match the results when I run the test from within NetBeans. This is not a request for help; I might be back, but I need to do some research first. Thanks again.