I believe you have to run vsvars32.bat (vs.net 2003) to setup the visual studio build env from the command prompt then change director to C:\build\ws-axis\ and run the ant again.
Vince. -----Original Message----- From: Chinthana C. Dinapala [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 12:35 AM To: [email protected] Subject: Ant build failed in windows hi guys, i try to build in ant and it gave folloving error. C:\build\ws-axis\c>ant Buildfile: build.xml pre-init: set-platform-specifics: checkIfDebug: initialize: build: compile: compileClient: compileAxisClient: [mkdir] Created dir: C:\obj\objects [mkdir] Created dir: C:\obj\bin [cc] 125 total files to be compiled. BUILD FAILED C:\build\ws-axis\c\build.xml:197: The following error occurred while executing t his line: C:\build\ws-axis\c\build.xml:185: The following error occurred while executing t his line: C:\build\ws-axis\c\build.xml:56: The following error occurred while executing th is line: C:\build\ws-axis\c\build\buildClient.xml:20: Could not launch cl: java.io.IOExce ption: CreateProcess: cl /nologo /MD /W3 /GX /Od /FD /c /c /nologo /GX /DNDEBUG /MD /DAXIS_CLIENT_LIB /DWIN32 /DNDEBUG /D_WINDOWS /D_MBCS /D_USRDLL /DENABLE_AXI S_EXCEPTION /DAXISCLIENTDLL_EXPORTS /IC:\build\ws-axis\c\include C:\build\ws-axi s\c\src\soap\SoapBody.cpp C:\build\ws-axis\c\src\soap\xsd\XSD_QName.cpp C:\build \ws-axis\c\src\soap\xsd\Date.cpp C:\build\ws-axis\c\src\soap\xsd\constraints\Whi teSpace.cpp C:\build\ws-axis\c\src\common\AxisGenException.cpp C:\build\ws-axis\ c\src\soap\ComplexElement.cpp C:\build\ws-axis\c\src\engine\HandlerPool.cpp C:\b uild\ws-axis\c\src\soap\xsd\Decimal.cpp C:\build\ws-axis\c\src\soap\xsd\constrai nts\Pattern.cpp C:\build\ws-axis\c\src\engine\SessionScopeHandlerPool.cpp C:\bui ld\ws-axis\c\src\common\AxisUserAPI.cpp C:\build\ws-axis\c\src\soap\BasicNode.cp p C:\build\ws-axis\c\src\engine\SharedObject.cpp C:\build\ws-axis\c\src\soap\xsd \Long.cpp C:\build\ws-axis\c\src\soap\SoapDeSerializer.cpp C:\build\ws-axis\c\sr c\soap\SoapMethod.cpp C:\build\ws-axis\c\src\common\AxisUtils.cpp error? Total time: 2 seconds C:\build\ws-axis\c> thanks chinthana
