Igor, I think it's another case of a classloader delegation problem. See http://ant.apache.org/faq.html#delegating-classloader.
HTH, --knut On Sun, 14 Nov 2004 12:44:30 +0300, Igor A. Deruga <[EMAIL PROTECTED]> wrote: > Ok, that's the point. I've added fork="yes" to the <junit> target and it > started to work. What was the problem? > > Sincerely > Igor > > P.S.: It looks stupid when you answer your own questions but I've really been > trying to solve it for two days and it was just an accident when i did it.... > > > > > //---------------------------------------Target---------------------------- > >------- <target name="test" description="Launch JUnit tests" depends="jar"> > > <junit printsummary="on"> > > <classpath refid="test.class.path"/> > > <formatter type="plain"/> > > <test name="src.server.test.impl.IMServerImplTest" /> > > </junit> > > </target> > > //--------------------------End of Target---------------------- > > > > I don't believe that the error is in code. I have a "run" target that > > starts this server and it works fine. Any Ideas on what's this all about? > > I'm working on it for a second day and it's still at the same point :( > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
