Hey guys, I'm new to the forum, but I've found this as a pretty useful place to get ideas/solutions to various problems I have.

I've looked through the forum for solutions to my problem, but nobody seems to get the exact same situation as I have, so here goes.

I'm doing a homework assignment for my Java class, and they've told us to use Ant to build our files so we can submit them; no biggie, I've done it for the
last 10 weeks with no problems.

However, today, I compiled my code using Ant to make a preview of the finish product (our Ant code also runs checkstyle, so I can see how many
checkstyle errors come up so I can fix them). However, after running Ant, all my programs in Java have stopped working.

I can't run anything, all I get is a "Error: Could not find or load main class xxxx.java". What's weird is, if I re-import my project into Eclipse (I'm running on Eclipse by the way, sorry I didn't make that out sooner), the entire project works again...that is until I run Ant.

The code works fine in command line, but debugging it is kind of a pain in command line.

Any ideas of what's going on? My project is due next week, and it's really annoying not being able to preview the finished product.

Thanks for the feedback