ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 3842] New: - Could not create task of type: junit
Date Wed, 26 Sep 2001 20:29:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3842>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3842

Could not create task of type: junit

           Summary: Could not create task of type: junit
           Product: Ant
           Version: 1.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Optional Tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: Sandy.Ryan@Unisys.com


<target name="runUnitTests" depends="init">
      <junit>
      <test 
name="test.gov.usda.nrcs.businessLogic.webtcas.reports.WebtcasReportBeanTest" />
    </junit>
    </target> 
runUnitTests:

BUILD FAILED

h:\NrcsApps\bin\packageAccountEJB.xml:174: 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).
        at org.apache.tools.ant.UnknownElement.makeTask(UnknownElement.java:153)
        at org.apache.tools.ant.UnknownElement.maybeConfigure
(UnknownElement.java:83)
        at org.apache.tools.ant.Task.perform(Task.java:216)
        at org.apache.tools.ant.Target.execute(Target.java:164)
        at org.apache.tools.ant.Target.performTasks(Target.java:182)
        at org.apache.tools.ant.Project.executeTarget(Project.java:601)
        at org.apache.tools.ant.Project.executeTargets(Project.java:560)
        at org.apache.tools.ant.Main.runBuild(Main.java:454)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)

Mime
View raw message