You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Jun Wang <jw...@cs.virginia.edu> on 2004/03/31 22:27:14 UTC

A build problem related to interop test in WSS4J

Hello,
I met a problem when I use "ant test" to test the installation of WSS4J.
The unit test passed, but when it comes to the interop test, it report
the following err:

start-functional-test-http-server:
     [echo] Starting http server.
file:/home/jw4fr/ws-fx/wss4j/build.xml:395: Reference classpath.library
not found.
        at
org.apache.tools.ant.types.Reference.getReferencedObject(Reference.java:93)
        at
org.apache.tools.ant.types.Path.dieOnCircularReference(Path.java:464)
        at
org.apache.tools.ant.types.Path.dieOnCircularReference(Path.java:472)
        at org.apache.tools.ant.types.Path.list(Path.java:287)
        at org.apache.tools.ant.types.Path.addExisting(Path.java:260)
        at
org.apache.tools.ant.types.Path.concatSystemClasspath(Path.java:551)
        at
org.apache.tools.ant.types.CommandlineJava.size(CommandlineJava.java:346)
        at
org.apache.tools.ant.types.CommandlineJava.getCommandline(CommandlineJava.java:248)
        at
org.apache.tools.ant.types.CommandlineJava.describeCommand(CommandlineJava.java:311)
        at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:138)
        at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
        at
org.apache.axis.tools.ant.axis.RunAxisFunctionalTestsTask.antcall(RunAxisFunctionalTestsTask.java:188)
        at
org.apache.axis.tools.ant.axis.RunAxisFunctionalTestsTask.access$000(RunAxisFunctionalTestsTask.java:39)
        at
org.apache.axis.tools.ant.axis.RunAxisFunctionalTestsTask$TaskRunnable.run(RunAxisFunctionalTestsTask.java:291)
        at java.lang.Thread.run(Thread.java:534)
...

I did not change build.xml at all, and the reference id
"classpath.library" is used in many places before this error. But why when
it comes to the interop test, it reports suddenly that the reference can
not be found?  Thanks so much.


Jun

Re: A build problem related to interop test in WSS4J

Posted by Davanum Srinivas <di...@yahoo.com>.
Use latest ANT

--- Jun  Wang <jw...@cs.virginia.edu> wrote:
> Hello,
> I met a problem when I use "ant test" to test the installation of WSS4J.
> The unit test passed, but when it comes to the interop test, it report
> the following err:
> 
> start-functional-test-http-server:
>      [echo] Starting http server.
> file:/home/jw4fr/ws-fx/wss4j/build.xml:395: Reference classpath.library
> not found.
>         at
> org.apache.tools.ant.types.Reference.getReferencedObject(Reference.java:93)
>         at
> org.apache.tools.ant.types.Path.dieOnCircularReference(Path.java:464)
>         at
> org.apache.tools.ant.types.Path.dieOnCircularReference(Path.java:472)
>         at org.apache.tools.ant.types.Path.list(Path.java:287)
>         at org.apache.tools.ant.types.Path.addExisting(Path.java:260)
>         at
> org.apache.tools.ant.types.Path.concatSystemClasspath(Path.java:551)
>         at
> org.apache.tools.ant.types.CommandlineJava.size(CommandlineJava.java:346)
>         at
> org.apache.tools.ant.types.CommandlineJava.getCommandline(CommandlineJava.java:248)
>         at
> org.apache.tools.ant.types.CommandlineJava.describeCommand(CommandlineJava.java:311)
>         at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:138)
>         at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
>         at org.apache.tools.ant.Task.perform(Task.java:341)
>         at org.apache.tools.ant.Target.execute(Target.java:309)
>         at org.apache.tools.ant.Target.performTasks(Target.java:336)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
>         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
>         at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
>         at
>
org.apache.axis.tools.ant.axis.RunAxisFunctionalTestsTask.antcall(RunAxisFunctionalTestsTask.java:188)
>         at
>
org.apache.axis.tools.ant.axis.RunAxisFunctionalTestsTask.access$000(RunAxisFunctionalTestsTask.java:39)
>         at
>
org.apache.axis.tools.ant.axis.RunAxisFunctionalTestsTask$TaskRunnable.run(RunAxisFunctionalTestsTask.java:291)
>         at java.lang.Thread.run(Thread.java:534)
> ...
> 
> I did not change build.xml at all, and the reference id
> "classpath.library" is used in many places before this error. But why when
> it comes to the interop test, it reports suddenly that the reference can
> not be found?  Thanks so much.
> 
> 
> Jun


=====
Davanum Srinivas - http://webservices.apache.org/~dims/