You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Vincent Massol <vm...@octo.com> on 2002/04/17 09:46:40 UTC

RE: Problem with automating cactus test using ant

Rakesh,

Several questions :

1/ What JDK are you using ?
2/ How come you have build.xml located in cactus\jakarta-ant-1.4\bin !
You should rather put ant_home\bin in your PATH

Thanks
-Vincent

> -----Original Message-----
> From: Rakesh N R [mailto:rakesh.ravee@wipro.com]
> Sent: 21 March 2002 08:51
> To: cactus-user@jakarta.apache.org
> Subject: Problem with automating cactus test using ant
> 
> Hi,
> 
> I am facing the problem with automating the cactus testing using
> Ant. I found a mail in the mailing list with the same problem but the
> solution was not there. I even tried with cactus1.3dev but the problem
> persists could you
> help me as to how I can resolve the problem
> 
> init:
> 
> tests_weblogic:
> 
> BUILD FAILED
> 
> D:\cactus\jakarta-ant-1.4\bin\build.xml:86: Could not create task of
> type: runse
> rvertests due to java.lang.VerifyError: (class:
> org/apache/cactus/ant/RunServerT
> estsTask, method: callTests signature: ()V) Incompatible type for
> getting or set
> ting field
> --- Nested Exception ---
> java.lang.VerifyError: (class:
org/apache/cactus/ant/RunServerTestsTask,
> 
> method:
>  callTests signature: ()V) Incompatible type for getting or setting
> field
>         at java.lang.Class.newInstance0(Native Method)
>         at java.lang.Class.newInstance(Class.java:237)
>         at org.apache.tools.ant.Project.createTask(Project.java:439)
>         at
> org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.jav
> a:83)
>         at org.apache.tools.ant.Target.execute(Target.java:152)
>         at org.apache.tools.ant.Project.runTarget(Project.java:898)
>         at
org.apache.tools.ant.Project.executeTarget(Project.java:536)
>         at
org.apache.tools.ant.Project.executeTargets(Project.java:510)
> 
>         at org.apache.tools.ant.Main.runBuild(Main.java:421)
>         at org.apache.tools.ant.Main.main(Main.java:149)
> 
> Total time: 1 second
> D:\cactus\jakarta-ant-1.4\bin>
> 
> Thanks in Advance
> 
> Regards
> Rakesh
> 
> 
> 
> 




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>