Is optional.jar in ant/lib.. I think that is your problem, since it is there where the task gets defined... If it was just the junit.jar, it would actually run the test targets, but not do anything (detault ant behaviour). To make a jar with maven, it has to pass the tests btw..
Mvgr, Martin On Tue, 2002-06-18 at 12:02, Kathy Ng wrote: > Hi, > > Actually the solution you given, i already tried it but it still failed. > Is a must to perform the junit testing? Do they still have other alternative > to solve it? > > Thanks. > > Cheers, > Kathy > ----- Original Message ----- > From: "Desire ATANGA" <[EMAIL PROTECTED]> > To: "'Turbine TDK Developers List'" <[EMAIL PROTECTED]> > Sent: Tuesday, June 18, 2002 5:39 PM > Subject: RE : regarding maven > > > Hi, > > Put the junit.jar in your ant\lib directory and execute the maven build > again. > > DAT > > > -----Message d'origine----- > De : Kathy Ng [mailto:[EMAIL PROTECTED]] > Envoyé : mardi 18 juin 2002 10:49 > À : [EMAIL PROTECTED] > Objet : regarding maven > > Hi, > > I get this error when i try to execute maven's build file. Error : > "Could not create task of type: junit. Common solutions are to use > taskdef to declare your task, or, if this is an optional task, to put > the optional.jar in the lib directory of your ant installation." I hope > that you can give me some guide how to correct this problem. > > Thanks. > > Cheers, > Kathy > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>