wood burning stoves
The moose likes Servlets and the fly likes Ant runs tests twice? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Ant runs tests twice?" Watch "Ant runs tests twice?" New topic

Ant runs tests twice?

Ivan Jouikov
Ranch Hand

Joined: Jul 22, 2003
Posts: 269
I am runing Ant 1.6.1 on Eclipse 3.08M, and I have the following problem:

Whenever I use junit task, all my tests are ran twice. Does anyone know why this happens? Here's the code in ant:

And the test file is just a normal file with 1 test. I put System.out.println("hi"), and it prints it twice. Also, the following output is in the screen:

Thanks in advance!
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17271

Hi Ivan, you might want to post this thread into the Ant forum, or if it is more specific to JUnit, into the forum that handles JUnit.

This forum is for Servlets questions.

I am going to close this thread to allow you to post in those other forums.



Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Ant runs tests twice?
It's not a secret anymore!