Re: Ant 1.6.1 released

From: Ed Burns (edburns_at_yahoo.com)
Date: 02/23/04


Date: 22 Feb 2004 22:33:47 -0800

edburns@yahoo.com (Ed Burns) wrote in message news:<bbf0af98.0402220902.1064d300@posting.google.com>...
> "rami" <abulroam@yahoo.com> wrote in message news:<0ed6a0554c66e456b56270f7e37fec67@localhost.talkaboutprogramming.com>...
> > I have a problem using 'Ant'.
> >
> > It gives me an error saying 'junit not found in CLASSPATH' even though I have the file in that specific folder...
> >
> > Can you help?
> >
> > Thank you,
> >
> > Rami
>
> I too am having problems getting junit 3.8.1 to work from inside of
> ant 1.6.1:
>
> BUILD FAILED
> D:\Projects\workareas\build.xml:580: Could not create task or type
> of type: junit.
>
> What am I missing? This worked fine in 1.5.1.

For the record, putting junit.jar into %ANT_HOME%\lib worked.

Ed



Relevant Pages

  • Re: Ant 1.6.1 released
    ... > I have a problem using 'Ant'. ... of type: junit. ... What am I missing? ...
    (comp.lang.java.softwaretools)
  • Re: Server-side tools survey
    ... IntelliJ IDEA is my IDE. ... Ant, and JUnit. ... I developed an abstract data source layer, ...
    (comp.lang.java.programmer)
  • Re: JUnit - HTML report?
    ... it appaered that make wasn't that dumb afterall. ... And now you've got XML parsing too... ... JUnit is not an apache project. ... Which makes them usable with Ant but unusable in general. ...
    (comp.lang.java.programmer)
  • Re: Server-side tools survey
    ... hansel 1.1 ... > I'm currently working with JBoss/Tomcat, PostgreSQL, NetBeans, Struts, ... > XDoclet, Ant, JUnit, JUnitEE...and a few things I've probably forgotten ...
    (comp.lang.java.programmer)
  • question related to junit fork
    ... I am doing junit testing using build.xml and ant. ... But in target1, there are two Java classes, secondTest.class can only be executed after firstTest.class. ... <sysproperty key="testfilesdir" ...
    (comp.lang.java.programmer)