ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: Junit4 ant 1.6.2
Date Fri, 28 Sep 2007 00:07:36 GMT
Please post the related portion of your build.xml. 

-Rob A

> -----Original Message-----
> From: Kirtane, Shobhana Vijay [mailto:skirtane@verisign.com] 
> Sent: Thursday, September 27, 2007 3:36 PM
> To: user@ant.apache.org
> Subject: Junit4 ant 1.6.2
> 
> Hi all,
>  
> When I include junit.jar(junit4.4)  in classpath in this way 
> : EXPORT CLASSPATH = /....:junit.jar , my test cases work 
> fine.No problem here
>  
> When I set the junit.jar in classpath in build.xml it fails 
> out Could not create task or type of type: classpath.
> Ant could not find the task or a class this task relies upon
>  
> The output from ant -diagnostics :
>  
> ant -diagnostics
> ------- Ant diagnostics report -------
> Apache Ant version 1.6.2 compiled on August 5 2004
>  
> -------------------------------------------
>  Implementation Version (JDK1.2+ only)
> -------------------------------------------
> core tasks     : null
> optional tasks : 1.6.2
> ---
> -------------------------------------------
>  ANT_HOME/lib jar listing
> -------------------------------------------
> ......
> junit.jar (164046 bytes)
> ant-junit.jar (92792 bytes)
>  
> -------------------------------------------
>  Tasks availability
> -------------------------------------------
> jdepend : Missing dependency jdepend.xmlui.JDepend junit : 
> Missing dependency junit.framework.Test
>  
> java.runtime.version : 1.5.0_10-b03
>  
> ant.home: /local/weblogic922/weblogic92/server (Using the ant 
> which comes with weblogic 9.2.2)
>  
>  
> Any suggestions to overcome this issue ?
>  
> Thanks
> Shobhana
> 
>  
>  
> 
> 
> 
> 


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


Mime
View raw message