ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Davidson" <Je...@rocketgaming.com>
Subject RE: org.apache.tools.ant.taskdefs.optional.junit.JUnitTask ?
Date Thu, 16 Sep 2004 17:43:55 GMT
Ahhh, thank you, you are correct.  I misread his error message.  A class
NEEDED BY JUnitTask was not found: junit.framework.Test

Cheers
~Jeff

-----Original Message-----
From: Peter Reilly [mailto:peterreilly@apache.org] 
Sent: September 16, 2004 10:40
To: Ant Users List
Subject: Re: org.apache.tools.ant.taskdefs.optional.junit.JUnitTask ?

He need junit.jar to run the unit tests.
get a copy from http://junit.sourceforge.net/ and drop it into
$ANT_HOME/lib or ~/.ant/lib

Peter

Jeff Davidson wrote:

>IchBin,
>
>org.apache.tools.ant.taskdefs.optional.junit.JUnitTask is found in 
>%ANT_HOME%\lib\ant-junit.jar
>
>Regards,
>~Jeff
>
>-----Original Message-----
>From: IchBin [mailto:weconsul@ptd.net]
>Sent: September 16, 2004 10:26
>To: Ant Users List
>Subject: org.apache.tools.ant.taskdefs.optional.junit.JUnitTask ?
>
>Hi All,
>
>I just downloaded hibernate-3.0alpha. I ran the build. After entering 
>issuing ant, for the build, I received the following message:
>
>C:\Program Files\hibernate-3.0alpha>ant
>Buildfile: build.xml
>BUILD FAILED
>C:\Program Files\hibernate-3.0alpha\build.xml:110: taskdef A class 
>needed by class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask
>cannot be
>found: junit/framework/Test
>Total time: 5 seconds
>
>I do not know where this ant package is? Does anybody know which jar I 
>can find it in?
>
>I have apache-ant-1.6.2 version.
>
>I have looked at some of the ant jars but can't seem to find it.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional 
>commands, e-mail: user-help@ant.apache.org
>  
> 
>This electronic message transmission, including attachments, is for the
exclusive use of the individuals to which this e-mail is addressed and
is to be reviewed and used exclusively for authorized company purposes.
This transmission may contain proprietary, confidential or privileged
information.  If you are not the intended recipient of this
transmission, you are hereby notified that any use, copying, disclosure,
dissemination, distribution or taking of any action in reliance upon the
contents of this transmission is strictly prohibited.  If you believe
you may have received this electronic message in error, please notify
the sender immediately by return email and delete or destroy the
original message and/or any copy of it from your computer system and/or
your files.  Thank you. 
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional 
>commands, e-mail: user-help@ant.apache.org
>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional
commands, e-mail: user-help@ant.apache.org 
  
 
This electronic message transmission, including attachments, is for the exclusive use of the
individuals to which this e-mail is addressed and is to be reviewed and used exclusively for
authorized company purposes.  This transmission may contain proprietary, confidential or privileged
information.  If you are not the intended recipient of this transmission, you are hereby notified
that any use, copying, disclosure, dissemination, distribution or taking of any action in
reliance upon the contents of this transmission is strictly prohibited.  If you believe you
may have received this electronic message in error, please notify the sender immediately by
return email and delete or destroy the original message and/or any copy of it from your computer
system and/or your files.  Thank you. 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message