亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? globus-build-service.py

?? globus toolkit Math例子
?? PY
字號:
#!/usr/bin/python####### Build script for GT4 Web services# GSBT - Globus Service Build Tools# http://gsbt.sourceforge.net/## Version 0.2.5# Full changelog available at the GSBT website## Copyright (c) 2004 Borja Sotomayor# The Globus Service Build Tools are available for use and redistribution # under the terms of a BSD license available at http://gsbt.sourceforge.net/license.html#######import osimport sysimport stringdef printUsage():	print ""	print "Usage:"	print "%s -d <service_dir> -s <schema_file> [-fs <factory_schema_file>] [-t <target>] [--debug]" % sys.argv[0]	print "%s <service_id> [target] [--debug]" % sys.argv[0]	print "%s -h" % sys.argv[0]	print ""	print "<service_dir> is the directory that contains all the implementation and deployment files:"	print "\t<service_dir>/deploy-server.wsdd         Deployment file (mandatory)"	print "\t<service_dir>/deploy-jndi-config.wsdd    JNDI deployment file (mandatory)"	print "\t<service_dir>/impl/*.java                Java implementation files (mandatory)"	print "\t<service_dir>/etc/*.xml                  Configuration files (optional)"	print ""	print "<schema_file> is the WSDL file with the service's interface description"	print ""	print "<factory_schema_file> is an optional parameter. If your service is a "	print "factory/instance service, you can use this parameter to specify the factory's"	print "schema file."	print ""	print "<target> is an optional parameter to control what Ant builds. Valid values are"	print "\t all     Builds everything (default)"	print "\t stubs   Generates the stubs (but doesn't compile them)."	print "\t compileStubs   Generates and compiles the stubs."	print ""	print "--debug provides detailed information of what the build script is doing."	print ""	print "The script offers a shorthand way of building services through the <service_id>"	print "parameter. It allows you to build services without having to type the"	print "service directory and schema file every time. You must have a 'build.mappings'"	print "file in the same directory as the build script, with one line for each service"	print "using the following format:"	print "\t<service_id>,<service_dir>,<schema_file>,<factory_schema_file>"	print ""	print "\t (the <factory_schema_file> is optional)"# Builds service# Parameter 1: Service base directory# Parameter 2: Schema file (WSDL file)# Parameter 3: Factory schema file (WSDL file)# Parameter 4: Ant build target# Parameter 5: Additional ant arguments# Parameter 6: Is this a dry run?def build(serviceDir, schemaPath, factorySchemaPath, target, antArgs, dryrun):	(schemaDir, schemaFile) = os.path.split(schemaPath)	(interface, ext) = os.path.splitext(schemaFile)			schemaDirSplit = schemaDir.split(os.path.sep)	schemaDir = os.path.sep.join(schemaDirSplit[1:])	package = serviceDir.replace("/", ".") # UNIX users	package = package.replace("\\", ".")     # Windows users	serviceName = schemaDirSplit.pop()	garFilename = serviceDir.replace("/", "_")   # UNIX users	garFilename = garFilename.replace("\\", "_") # Windows users	command = "ant" + \		" " + antArgs + \		" " + target + \		" -Dpackage=" + package + \		" -Dinterface.name=" + interface + \		" -Dpackage.dir=" + serviceDir + \		" -Dschema.path=" + schemaDir + \		" -Dservice.name=" + serviceName + \		" -Dgar.filename=" + garFilename	if factorySchemaPath != "":		(factorySchemaDir, factorySchemaFile) = os.path.split(factorySchemaPath)		(factoryInterface, ext) = os.path.splitext(factorySchemaFile)		factorySchemaDirSplit = factorySchemaDir.split(os.path.sep)		factorySchemaDir = os.path.sep.join(factorySchemaDirSplit[1:])		command += " -Dfactory.schema.path=" + factorySchemaDir + \			" -Dfactory.interface.name=" + factoryInterface		if dryrun:		print command		exitStatus=0	else:		exitStatus=os.system(command)	return exitStatus# Checks if the target is valid# Parameter 1: Targetdef validateTarget(target):	validTargets = ("compileStubs", "stubs", "all")	if target in validTargets:		return True	else:		return False# Given a valid service id, fetches that service's base directory and schema file# The information is deposited in SERVICE_DIR and SCHEMA_PATH# Parameter 1: Service iddef findBuildParameters(serviceID):	mapFile = open("build.mappings")	serviceDir = ""	schemaPath = ""	factorySchemaPath = ""	for line in mapFile:		fields = line.strip().split(",")		if fields[0] == serviceID:			serviceDir = fields[1]			schemaPath = fields[2]			if len(fields) == 4:				factorySchemaPath = fields[3]	mapFile.close()	return (serviceDir, schemaPath, factorySchemaPath)## SCRIPT MAIN BODY#def main():	serviceDir = ""	schemaPath = ""	factorySchemaPath = ""	serviceID = ""	target = ""	debug = False	dryrun = False		# Check for GLOBUS_LOCATION	if os.environ['GLOBUS_LOCATION'] == "":		print "ERROR: environment variable GLOBUS_LOCATION not defined."		print "Run %s -h for help." % sys.argv[0]		sys.exit(1)			if not os.path.isdir(os.path.normpath(os.environ['GLOBUS_LOCATION'])):		print "ERROR: invalid GLOBUS_LOCATION set: %s" % os.environ['GLOBUS_LOCATION']		print "Run %s -h for help." % sys.argv[0]		sys.exit(1)			# Get command-line parameters	numArgs = len(sys.argv)	if numArgs == 1:		printUsage()	        sys.exit(1)	args = iter(sys.argv[1:])	for arg in args:		if arg in ("-d","--dir"):			serviceDir = args.next()			continue				if arg in ("-s","--schema"):			schemaPath = args.next()			continue		if arg in ("-fs","--factory-schema"):			factorySchemaPath = args.next()			continue		if arg in ("-t","--target"):			target = args.next()			continue		if arg in ("-h","--help"):			printUsage()			sys.exit(0)		if arg in ("--dry-run"):			dryrun = True			continue		if arg in ("--debug"):			debug = True			continue		# First non-option parameter must be the service id		if serviceID == "":			serviceID = arg		elif target == "":		# Second non-option parameter must be the target			target = arg		else:		# The script is confused!			print "ERROR: parameter '%s' not recognized" % arg			print "Run %s -h for help." % sys.argv[0]	#	# VALIDATE PARAMETERS	#	# First off, you can't specify a service id *and* a dir/schema pair.	if serviceID != "" and (serviceDir!="" or schemaPath!=""):		print "ERROR: Please specify either a service id *or* a service directory and schema file"		print "       (but not both)"		print "Run %s -h for help." % sys.argv[0]		sys.exit(1)	# If a service id has been specified, we need to fetch SERVICE_DIR and SCHEMA_PATH 	# (and possibly FACTORY_SCHEMA_PATH) from the build.mappings file	if serviceID != "":			(serviceDir, schemaPath, factorySchemaPath) = findBuildParameters(serviceID)		if serviceDir == "":			print "ERROR: Specified service not in mappings file."			print "Run %s -h for help." % sys.argv[0]			sys.exit(1)	# Now we have a SERVICE_DIR and SCHEMA_PATH. First, let's normalize them:	serviceDir = os.path.normpath(serviceDir)	schemaPath = os.path.normpath(schemaPath)	# Now, let's make sure they exist.	if not os.path.isdir(serviceDir):		print "%s does not exist or is not a directory." % serviceDir		print "Run %s -h for help." % sys.argv[0]		sys.exit(1)	if not os.path.isfile(schemaPath):		print "%s does not exist or is not a file." % schemaPath		print "Run %s -h for help." % sys.argv[0]		sys.exit(1)	# If we have a factory schema path, normalize it and make sure it exists:	if factorySchemaPath != "":		factorySchemaPath = os.path.normpath(factorySchemaPath)		if not os.path.isfile(factorySchemaPath):			print "%s does not exist or is not a file." % factorySchemaPath			print "Run %s -h for help." % sys.argv[0]			sys.exit(1)	# If no target has been specified, the default target will be "all"	if target == "":		target = "all"	# Validate that the target is correct	if not validateTarget(target):		print "ERROR: Unknown target."		print "Run %s -h for help." % sys.argv[0]		sys.exit(1)	#	# CONSTRUCT 'ADDITIONAL PARAMETERS' STRING	#	antArgs=""	# Debug?	if debug:		antArgs += " -debug"	#	# If you got this far, you deserve to...	# BUILD!	#	exitStatus = build(serviceDir, schemaPath, factorySchemaPath, target, antArgs, dryrun)	sys.exit(exitStatus)        if __name__ == "__main__":        main()

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲mv在线观看| 婷婷成人综合网| 亚洲精品欧美在线| 综合色中文字幕| 亚洲免费观看在线视频| 一区二区三区在线观看国产 | 国产精品午夜在线| 自拍视频在线观看一区二区| 自拍av一区二区三区| 日韩美女视频一区| 亚洲福利视频一区二区| 理论电影国产精品| 国内精品免费**视频| 成人少妇影院yyyy| 欧美日韩在线精品一区二区三区激情| 色哟哟欧美精品| 欧美日韩国产另类一区| 亚洲精品一区二区三区影院| 久久午夜羞羞影院免费观看| 成人免费在线观看入口| 亚洲大型综合色站| 国产大陆亚洲精品国产| 91网址在线看| 精品少妇一区二区三区在线播放| www成人在线观看| 中文字幕一区视频| 激情欧美一区二区| 欧美精品三级在线观看| 国产精品女同一区二区三区| 日韩黄色一级片| av成人老司机| 久久综合成人精品亚洲另类欧美| 亚洲aaa精品| a美女胸又www黄视频久久| 久久综合九色综合欧美98 | 国产在线视频精品一区| 欧美日韩国产另类不卡| 亚洲乱码精品一二三四区日韩在线| 激情综合色播激情啊| 欧美色手机在线观看| 久久精品一级爱片| 亚洲一区成人在线| 欧美日韩一区 二区 三区 久久精品| 成人18视频日本| 久久综合久久综合亚洲| 蜜臀av性久久久久av蜜臀妖精| 欧美综合亚洲图片综合区| 亚洲视频一区二区免费在线观看 | av在线不卡电影| 亚洲欧美日韩一区| 99r国产精品| 亚洲综合在线第一页| 欧美视频在线一区二区三区| 亚洲免费av网站| 欧美久久久久免费| 免费高清视频精品| 久久久噜噜噜久噜久久综合| 欧美疯狂做受xxxx富婆| 久久精品视频网| 欧美aⅴ一区二区三区视频| 欧美精品三级日韩久久| 国产v综合v亚洲欧| 精品一区二区免费| 亚洲午夜成aⅴ人片| 久久精品日产第一区二区三区高清版| 丁香婷婷综合色啪| 视频在线观看一区| 国产精品美女久久久久久久久| 91一区二区在线观看| 国产大陆a不卡| 日韩电影免费在线看| 久久久91精品国产一区二区精品| 99久久精品费精品国产一区二区| 亚洲综合一区二区| 综合分类小说区另类春色亚洲小说欧美| 欧美一级在线免费| 成人精品小蝌蚪| 奇米四色…亚洲| 亚洲成av人片一区二区梦乃| 国产精品高潮呻吟久久| 国产日产亚洲精品系列| 欧美大白屁股肥臀xxxxxx| 91精品国产一区二区三区蜜臀| 欧美视频一区二区三区在线观看 | 国产真实乱偷精品视频免| 一区二区不卡在线播放| 国产精品久久三区| 亚洲高清免费一级二级三级| 性久久久久久久久久久久| 亚洲欧美电影一区二区| 国产精品麻豆欧美日韩ww| 欧美xxxx老人做受| 欧美精品一区二区三区一线天视频 | 亚洲精品国产第一综合99久久 | 国产91色综合久久免费分享| 国产成人综合亚洲91猫咪| 国产盗摄精品一区二区三区在线| 国产一区二区三区在线观看免费视频| 久久国产精品72免费观看| 精品在线观看视频| 成人app软件下载大全免费| 欧美三级在线播放| 精品国产一区a| 国产精品久久久久久久久动漫 | 亚洲免费观看在线视频| 婷婷国产v国产偷v亚洲高清| 国产永久精品大片wwwapp| 国产成人av在线影院| 欧美色图天堂网| 欧美二区三区91| 最新成人av在线| 日本中文在线一区| 激情久久五月天| 欧美图片一区二区三区| 国产日韩精品一区二区三区 | 国产凹凸在线观看一区二区| 在线看一区二区| 国产偷国产偷亚洲高清人白洁| 亚洲人成亚洲人成在线观看图片| 亚洲va欧美va国产va天堂影院| 精品中文字幕一区二区小辣椒 | 久久久久国产精品麻豆ai换脸| 日本在线不卡一区| 91黄色激情网站| 中文字幕一区日韩精品欧美| 国产一区二区在线观看免费 | 国产精品高潮久久久久无| 国产综合色在线| 久久久亚洲精品石原莉奈| 精品在线亚洲视频| 欧美成人精精品一区二区频| 午夜电影网亚洲视频| 91视频com| 一区二区在线免费| 精品视频1区2区| 石原莉奈在线亚洲三区| 91精品国产综合久久久久久久久久 | 欧美日韩不卡在线| 毛片av中文字幕一区二区| 宅男噜噜噜66一区二区66| 男女激情视频一区| 91麻豆精品国产91久久久使用方法| 亚洲国产一区视频| 欧美色综合天天久久综合精品| 成人免费小视频| 在线视频一区二区三区| 亚洲综合小说图片| 一本到不卡精品视频在线观看| 亚洲一区二区三区在线播放| 2021中文字幕一区亚洲| 91麻豆国产在线观看| 免费不卡在线视频| 一区二区三区在线免费视频| 日韩精品中文字幕一区| 9久草视频在线视频精品| 亚洲一区二区三区三| 久久久久久综合| 欧美喷水一区二区| 国产盗摄精品一区二区三区在线| 一区二区三区色| 亚洲国产精品二十页| 欧美麻豆精品久久久久久| 欧美在线你懂的| av电影在线观看不卡| 成人美女视频在线观看18| 日韩电影在线一区二区三区| 亚洲手机成人高清视频| 久久精品欧美日韩| 欧美大片国产精品| 国产亚洲美州欧州综合国| 欧美刺激午夜性久久久久久久| 国产成人8x视频一区二区 | 国产一区二区不卡在线 | 豆国产96在线|亚洲| 国产一区二区视频在线播放| 亚洲成人第一页| 亚洲综合在线观看视频| 欧美激情中文字幕| 2020国产精品自拍| 久久精品一二三| 久久无码av三级| 国产欧美一区二区三区在线看蜜臀 | 九九九久久久精品| 捆绑紧缚一区二区三区视频| 免费在线观看视频一区| 日本中文字幕一区二区视频| 美女精品自拍一二三四| 国内精品久久久久影院色| 国产二区国产一区在线观看| 国产成人av福利| 成人黄色小视频| 欧美色视频一区| 久久久欧美精品sm网站| 一二三四区精品视频| 日本不卡在线视频| 成人一级片在线观看| 欧美日韩精品免费观看视频| 欧美高清一级片在线| 亚洲欧美在线视频观看| 青青草成人在线观看|