ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <>
Subject Problem with junit task
Date Fri, 25 Apr 2003 00:10:31 GMT

I recently moved to ant 1.5.3-1 and my junit task has stopped working.  I
have junit 3.8.1.

I have read the docs for the task:

I have the two files on my classpath:

<property name="junit" value="c:\java\junit3.8.1" />
<property name="ant"  value="c:\jakarta\apache-ant-1.5.3-1"/>

   <path id="project.classpath">
      <pathelement location="${junit}\junit.jar"/>
      <pathelement location="${ant}\lib\optional.jar"/>

And my target:

   <target name="test" depends="compile-test">
     <junit showoutput="true">
       <test name="edu.asu.vpia.dao.TestUniDataContactDAO"/>
       <formatter type="plain"/>
       <classpath refid="project.classpath"/>

It used to work, and I don't think I've changed anything.  Does anyone see
what I've missed?

Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message