r6776 - trunk/tools
ag-cvs.mcs.anl.gov at ci.uchicago.edu
ag-cvs.mcs.anl.gov at ci.uchicago.edu
Mon Apr 12 14:42:31 CDT 2010
Author: turam
Date: 2010-04-12 14:42:30 -0500 (Mon, 12 Apr 2010)
New Revision: 6776
Modified:
trunk/tools/GenerateInterfaces.py
Log:
Modified: trunk/tools/GenerateInterfaces.py
===================================================================
--- trunk/tools/GenerateInterfaces.py 2010-04-12 19:24:17 UTC (rev 6775)
+++ trunk/tools/GenerateInterfaces.py 2010-04-12 19:42:30 UTC (rev 6776)
@@ -81,12 +81,19 @@
typesMod)
if not options.quiet:
print "* ", command
- os.system(command)
+ ret = os.system(command)
+ if ret:
+ print "Generation of client interface %s failed" % (typesModule)
+ return ret
+
command = w2dExec + " -f %s -e -o %s -t %s --simple-naming " % ( wsdlFile, dstPath,typesMod)
if not options.quiet:
print "* ", command
- os.system(command)
+ ret = os.system(command)
+ if ret:
+ print "Generation of WSDL file %s from %s failed" % (wsdlFile,typesModule)
+ return ret
if options.modules:
@@ -100,4 +107,6 @@
subWsdlList = wsdlList
for typesMod,wsdlFile in subWsdlList:
- Generate(typesMod,os.path.join(srcPath,wsdlFile),dstPath)
+ ret = Generate(typesMod,os.path.join(srcPath,wsdlFile),dstPath)
+ if ret:
+ sys.exit(ret)
More information about the ag-cvs
mailing list