You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2004/12/07 10:42:01 UTC
cvs commit: ws-axis/c test.xml
samisa 2004/12/07 01:42:01
Modified: c test.xml
Log:
Few changes to get it working without much trouble.
Revision Changes Path
1.22 +3 -3 ws-axis/c/test.xml
Index: test.xml
===================================================================
RCS file: /home/cvs/ws-axis/c/test.xml,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- test.xml 25 Nov 2004 10:01:45 -0000 1.21
+++ test.xml 7 Dec 2004 09:42:01 -0000 1.22
@@ -52,7 +52,7 @@
<property name="dir.src" value="${basedir}/tests/auto_build/testcases"/>
<property name="test.list" value="${dir.src}/test.list"/>
<property name="test.endpoints" value="${dir.src}/test.endpoints"/>
- <property name="dir.include" value="${dir.package}/include"/>
+ <property name="dir.include" value="${basedir}/include"/>
<!--
Compiler definitions
@@ -250,7 +250,7 @@
<fileset dir="${dir.axisJARs}" includes="*.jar"/>
</path>
<!-- Run WSDL2Ws -->
- <java jar="${dir.package.WSDL2Ws}/wsdl2ws.jar" fork="true">
+ <java classname="org.apache.axis.wsdl.wsdl2ws.WSDL2Ws" fork="true">
<classpath refid="cp"/>
<arg value="${dir.src}/wsdls/${testName}.wsdl"/>
<arg value="-o${dir.test.generated}/${client.lang}/${testName}"/>
@@ -283,7 +283,7 @@
<linker refid="LinuxLinker"/>
<linker refid="AIXLinker"/>
<!-- Additional library of Axis Client -->
- <libset dir="${dir.package.lib}" libs="${clientLibraryName}"/>
+ <libset dir="${dir.obj}/bin" libs="${clientLibraryName}"/>
<!-- Files to be compiled -->
<includepath path="${dir.include}"/>
<fileset dir="${dir.test.generated}/${client.lang}/${testName}">
Re: cvs commit: ws-axis/c test.xml
Posted by Samisa Abeysinghe <sa...@yahoo.com>.
Hi Adrian,
With having jar name in place of class name, it kept on failing with the error:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/namespace/QName
However, my CLASSPATH included all the stuff required.
But when I did this change, it started working fine.
As you have said, may be the error that I get is due to something wrong in the manifest.
Thanks,
Samisa...
--- Adrian Dick <ad...@uk.ibm.com> wrote:
>
>
>
>
> Hi, Samisa,
>
> I'm a little confused why the following change was required.
>
>
> > - <java jar="${dir.package.WSDL2Ws}/wsdl2ws.jar" fork="true">
> > + <java classname="org.apache.axis.wsdl.wsdl2ws.WSDL2Ws"
> fork="true">
>
> Using the ANT build scripts, the wsdl2ws.jar file contains a Main-Class
> attribute in the manifest, therefore no need to explicitly define the
> classname: Which also gives the (useful) side-effect of testing the
> manifest file is correct.
>
> Regards,
> Adrian
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
Re: cvs commit: ws-axis/c test.xml
Posted by Adrian Dick <ad...@uk.ibm.com>.
Hi, Samisa,
I'm a little confused why the following change was required.
> - <java jar="${dir.package.WSDL2Ws}/wsdl2ws.jar" fork="true">
> + <java classname="org.apache.axis.wsdl.wsdl2ws.WSDL2Ws"
fork="true">
Using the ANT build scripts, the wsdl2ws.jar file contains a Main-Class
attribute in the manifest, therefore no need to explicitly define the
classname: Which also gives the (useful) side-effect of testing the
manifest file is correct.
Regards,
Adrian