ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <sbaill...@imediation.com>
Subject RE: JUnit optional task
Date Wed, 28 Mar 2001 19:27:05 GMT

Yes it's separate download (it's optional after all :)
http://jakarta.apache.org/builds/jakarta-ant/release/v1.3/bin/


-- 
 Stéphane Bailliez 
 Software Engineer, Paris - France 
 iMediation - http://www.imediation.com 
 Disclaimer: All the opinions expressed above are mine and not those from my
company. 



> -----Original Message-----
> From: dani [mailto:dani@laminarsoft.com]
> Sent: Wednesday, March 28, 2001 8:10 PM
> To: ant-user@jakarta.apache.org
> Subject: RE: JUnit optional task
> 
> 
> Ah!  There is no optional.jar.  (There was no optional.jar in the
> distribution; is that a separate download?)  I'd been 
> assuming that the
> doc's reference to "optional.jar" meant junit.jar, in this context.
> 
> Thank you.
> 
> - Dani Zweig
>   dani@laminarsoft.com
> 
> -----Original Message-----
> From: Stephane Bailliez [mailto:sbailliez@imediation.com]
> Sent: Wednesday, March 28, 2001 1:00 PM
> To: ant-user@jakarta.apache.org
> Subject: RE: JUnit optional task
> 
> 
> mm...
> 
> can you please run ant in debug mode: (ant -debug) and check for the
> property java.class.path (this is just after task loading) 
> and check if
> there is optional.jar and junit.jar.
> 
> Thanks.
> 
> --
>  Stéphane Bailliez
>  Software Engineer, Paris - France
>  iMediation - http://www.imediation.com
>  Disclaimer: All the opinions expressed above are mine and 
> not those from my
> company.
> 
> 
> 
> > -----Original Message-----
> > From: dani [mailto:dani@laminarsoft.com]
> > Sent: Wednesday, March 28, 2001 7:37 PM
> > To: ant-user@jakarta.apache.org
> > Subject: RE: JUnit optional task
> >
> >
> > That makes no difference.  Note that putting junit.jar in
> > ant's lib file has
> > the same effect, because ant.bat adds that directory's jar
> > files to the
> > classpath:
> >
> > set LOCALCLASSPATH=%CLASSPATH%
> > for %%i in ("%ANT_HOME%\lib\*.jar") do call
> > "%ANT_HOME%\bin\lcp.bat" "%%i"
> >
> > tnx.
> >
> > - Dani Zweig
> >   dani@laminarsoft.com
> >
> > -----Original Message-----
> > From: Stephane Bailliez [mailto:sbailliez@imediation.com]
> > Sent: Wednesday, March 28, 2001 12:14 PM
> > To: ant-user@jakarta.apache.org
> > Subject: RE: JUnit optional task
> >
> >
> >
> > junit as in the case of other optional tasks, should be in the ant
> > classpath. (ie when you run Ant it should have it in the classpath)
> >
> > Hope it helps.
> >
> > --
> >  Stéphane Bailliez
> >  Software Engineer, Paris - France
> >  iMediation - http://www.imediation.com
> >  Disclaimer: All the opinions expressed above are mine and
> > not those from my
> > company.
> >
> >
> >
> > > -----Original Message-----
> > > From: dani [mailto:dani@laminarsoft.com]
> > > Sent: Wednesday, March 28, 2001 6:52 PM
> > > To: ant-user@jakarta.apache.org
> > > Subject: JUnit optional task
> > >
> > >
> > > I'm having the same problem a number of others seem to be
> > > having, trying to
> > > call junit (3.5) from ant (1.3).  Any advice would be appreciated.
> > >
> > > The result of
> > > 		<junit>
> > > 		       <classpath>
> > > 		          <path refid="ebm.class.path" />
> > > 		          <pathelement location="${classes}" />
> > > 			  <pathelement
> > > location="../misc/junit/3.5/junit.jar"/>
> > > 		       </classpath>
> > > 		    <test name="my.name.test"/>
> > > 		</junit>
> > >
> > > is
> > >
> > > 	BUILD FAILED
> > >
> > > 	C:\laminar\EBM\src\build.xml:312: 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 (ANT_HOME).
> > >
> > > Placing junit.jar in the ant lib directory does not help.
> > >
> > > advTHANKSance.
> > >
> > > - Dani Zweig
> > >   dani@laminarsoft.com
> > >
> >
> 

Mime
View raw message