Tim wrote:
> I was trying to learn a bit about JUnit and got it working in a very
> basic way through JDeveloper.
> So I decided to build a distribution through ant and then try to run the
> test I was doing through the DOS prompt.
> I kept getting .class not found for various classes in the JUnit jar
> file. Of course when I added all of the files from that jar file to the
> distribution file, it worked.
> What is the best way to determine what classes have to be included in
> the distribution or do you just load all of them and save the time of
> figuring it out?
If you need a third-party library to run your application, it's typical
to distribute the JAR file from the third-party library separately from
your own code. You almost certainly don't want to pick and choose
pieces of it, as this would break most licensing agreements. So I
definitely wouldn't take bits and pieces of someone else's JAR file and
add them to your own.
--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation