亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
欧美一区2区视频在线观看| caoporn国产精品| 亚洲午夜免费电影| 一区二区三区在线视频免费观看| 久久精品水蜜桃av综合天堂| 久久久久国产精品麻豆| 久久午夜色播影院免费高清| 精品国产3级a| 中文字幕一区二区在线播放| 亚洲综合精品自拍| 男人的j进女人的j一区| 国产乱一区二区| 成人国产在线观看| 色94色欧美sute亚洲13| 欧美日韩欧美一区二区| 2023国产精品| 亚洲日本护士毛茸茸| 亚洲成va人在线观看| 美女一区二区三区| 成人做爰69片免费看网站| 91麻豆免费看| 精品欧美一区二区三区精品久久| 久久综合九色综合97婷婷女人 | 亚洲福利国产精品| 亚欧色一区w666天堂| 久久黄色级2电影| 99久久婷婷国产综合精品电影 | 国产亚洲欧美激情| **性色生活片久久毛片| 石原莉奈在线亚洲三区| 国产成人免费在线观看| 欧美视频一二三区| 久久伊99综合婷婷久久伊| 亚洲欧美电影一区二区| 青青草国产成人av片免费| 成人激情小说网站| 日韩欧美高清在线| 综合电影一区二区三区| 精品一区二区三区不卡| 欧美羞羞免费网站| 国产欧美一区二区三区在线老狼| 午夜影院在线观看欧美| 床上的激情91.| 日韩美女天天操| 亚洲自拍欧美精品| 成人免费视频视频在线观看免费 | 午夜视频在线观看一区| 成人小视频在线| 日韩欧美一级片| 天天综合天天综合色| 不卡一二三区首页| 久久先锋影音av| 九色综合狠狠综合久久| 欧美美女喷水视频| 夜夜揉揉日日人人青青一国产精品| 韩国理伦片一区二区三区在线播放| 欧美久久婷婷综合色| 亚洲免费毛片网站| av午夜精品一区二区三区| 26uuu久久天堂性欧美| 日韩电影在线免费看| 欧美日韩一区成人| 香蕉加勒比综合久久| 在线观看不卡视频| 亚洲日本韩国一区| 日本高清不卡一区| 亚洲激情av在线| 91同城在线观看| 国产精品国产三级国产aⅴ原创| 国产成人在线影院| 久久久国产一区二区三区四区小说 | 麻豆免费精品视频| 7777精品伊人久久久大香线蕉的 | 欧美日韩在线三级| 亚洲综合丁香婷婷六月香| 色偷偷久久人人79超碰人人澡 | 日韩欧美久久一区| 蜜桃精品视频在线| 精品国产凹凸成av人导航| 另类专区欧美蜜桃臀第一页| 精品国精品国产尤物美女| 老色鬼精品视频在线观看播放| 日韩一区二区高清| 国内精品免费**视频| 国产亚洲综合在线| 91在线精品一区二区| 亚洲欧美区自拍先锋| 91高清视频免费看| 日本强好片久久久久久aaa| 日韩欧美你懂的| 成人手机电影网| 亚洲高清三级视频| 欧美电影免费观看高清完整版| 国产精品中文字幕欧美| 亚洲欧洲日韩av| 欧美日韩一二三区| 激情久久五月天| 国产精品沙发午睡系列990531| 色狠狠av一区二区三区| 蜜臀av国产精品久久久久| 国产精品免费网站在线观看| 欧美在线播放高清精品| 看片的网站亚洲| 亚洲欧美色图小说| 欧美电影免费观看高清完整版在线 | 亚洲美女偷拍久久| 欧美麻豆精品久久久久久| 国产精品18久久久久久久久| 亚洲人成7777| 精品久久人人做人人爱| 91麻豆免费看| 国产精品1区2区| 亚洲电影第三页| 国产精品国产自产拍高清av | 日韩一区二区在线观看视频播放| 国产精品羞羞答答xxdd| 亚洲一区二区三区四区在线免费观看| 精品国产区一区| 欧美性猛交一区二区三区精品| 色婷婷av一区二区三区gif| 青娱乐精品视频在线| 亚洲精品一二三| 国产亚洲一区二区三区四区| 欧美日韩精品一区视频| av在线不卡网| 国产在线视视频有精品| 亚洲成a人片综合在线| 日本一区二区三区在线观看| 欧美一区二区三区人| 欧美亚洲免费在线一区| 91尤物视频在线观看| 国产精品2024| 国产精品18久久久久久vr| 捆绑调教美女网站视频一区| 五月婷婷激情综合网| 夜夜嗨av一区二区三区| **性色生活片久久毛片| 中文字幕成人在线观看| 久久人人爽人人爽| 精品国产免费一区二区三区四区 | 国产精品妹子av| 日韩女优av电影在线观看| 7777精品伊人久久久大香线蕉 | 国产精品精品国产色婷婷| 久久久精品欧美丰满| 欧美精品一区二区三区蜜桃 | 国产精品午夜在线观看| 国产日韩欧美亚洲| 久久久久久免费网| 欧美激情中文字幕| 欧美激情一区二区三区不卡| 久久久久国产精品人| 亚洲蜜桃精久久久久久久| 国产精品成人一区二区艾草| 欧美激情一区不卡| 1024国产精品| 一级中文字幕一区二区| 亚洲一区二区三区免费视频| 婷婷综合在线观看| 精品在线播放免费| 成人免费视频一区二区| 在线一区二区三区做爰视频网站| 91久久精品一区二区三| 欧美蜜桃一区二区三区| 精品日韩成人av| 国产精品第五页| 一区二区三区精品| 日韩精品亚洲一区| 久久国产人妖系列| 成人性色生活片| 欧美吞精做爰啪啪高潮| 日韩精品中午字幕| 国产精品久久夜| 一区二区三区中文免费| 老司机精品视频在线| 成人动漫在线一区| 欧美三级蜜桃2在线观看| 精品国产亚洲一区二区三区在线观看| 久久精品在线免费观看| 一区av在线播放| 精品亚洲国产成人av制服丝袜| 大美女一区二区三区| 欧美精三区欧美精三区| 中文字幕欧美区| 水野朝阳av一区二区三区| 国产精品69毛片高清亚洲| 91国偷自产一区二区三区成为亚洲经典 | 丰满少妇久久久久久久| 色婷婷精品大在线视频| 久久尤物电影视频在线观看| 亚洲天堂免费在线观看视频| 奇米色777欧美一区二区| 成人国产精品免费观看视频| 91精品综合久久久久久| 亚洲视频一区在线| 欧美午夜精品免费| 欧美高清一级片在线观看| 日本不卡123| 欧美自拍丝袜亚洲| 国产精品免费av|