axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sanjaya singharage" <sanja...@opensource.lk>
Subject Ant test framework - running a test
Date Mon, 10 Jan 2005 11:17:39 GMT
Hi all,

When I try to run a test in the following manner on windows...

ant -f
test.xml -Ddir.xmlParser=XMLPARSER_HOME -Ddir.package=PACKAGE -Dtest.name=Ca
lculator

I get the following error..

generateStubs:
    [mkdir] Created dir:
D:\san\works\checkouts\obj\test\generated\cpp\Calculator
Caught exception (org.apache.tools.ant.BuildException) while expanding cp:
D:\san\works\checkouts\obj\package\axis-c-1.4.0-Win32\lib\axis not found.

BUILD FAILED
D:\san\works\checkouts\head\ws-axis\c\build\buildTest.xml:29:
D:\san\works\check
outs\obj\package\axis-c-1.4.0-Win32\lib\axis not found.

Total time: 2 seconds

I suggest "<fileset dir="${dir.wsdl2ws}" includes="wsdl2ws.jar"/>" be
changed to "<fileset dir="${dir.classes}" includes="wsdl2ws.jar"/>" in
buildTest.xml,  which gets rid of this error.

Looks like when package.xml is run the binary and source distributions have
a -bin and -src appended so ${dir.wsdl2ws} fails. Is it ok to do this
change?

sanjaya.



Mime
View raw message