 			modules = jsonContent['modules']
 			@buildTips.html("正在检测模块信息......")
 			projectPath = pathM.join this.find('select').val(), 'modules'
-			# @checkModuleNeedUpload identifier, version, projectPath for identifier, version of modules
 			moduleList = []
 			@buildTips.html("构建准备......")
 			getModuleMessage = (identifier,version) =>

					version: version
				moduleList.push module
			getModuleMessage identifier,version for identifier, version of modules
			# console.log moduleList
			@checkModuleNeedUpload projectPath, moduleList, 0
			# @buildTips.html("正在上传应用信息......")
			# 上传应用信息 获取上传的平台信息
			# checkboxList = this.find('input[type=checkbox]:checked')
			# platformInfo = []
			# iosObj = null
			# androidObj = null
			# postAppBuildMessage = (checkbox) =>
			# 	if $(checkbox).attr('value') is 'iOS'
			# 		iosObj =
			# 			logoFileId: ""
			# 			platform: "IOS"
			# 			pkgName: @iosName.getText()
			# 	else
			# 		androidObj =
			# 			logoFileId: ""
			# 			platform: "ANDROID"
			# 			pkgName: @androidName.getText()
			# postAppBuildMessage checkbox for checkbox in checkboxList
			# if iosObj
			# 	platformInfo.push(iosObj)
			# if androidObj
			# 	platformInfo.push(androidObj)
			# configPath = pathM.join this.find('select').val(),desc.ProjectConfigFileName
			# console.log configPath
			# options =
			# 	encoding: "utf-8"
			# contentList = JSON.parse(fs.readFileSync(configPath,options))
			# userMail = Util.store('chameleon').mail
			# bodyJSON =
			# 	identifier: @identifier.attr("value"),
			# 	platformInfo: platformInfo,
			# 	account: userMail
			# 	mainModule: contentList["mainModule"]
			# 	classify: "",
			# 	version: contentList["version"],
			# 	describe: contentList["description"],
			# 	modules: contentList["modules"]
			# 	releaseNote: contentList["releaseNote"]
			# bodyStr = JSON.stringify(bodyJSON)
			# params =
			# 	body: bodyStr
			# 	sendCookie: true
			# 	success: (data) =>
			# 		# console.log "success "+ JSON.stringify(data)
			# 		if data["status"] is "success"
			# 			@buildTips.html("正在排队构建请耐心等待......")
			# 			# if data["IOS"]
			# 			#在这里需要不断的查构建结果
			# 			showObject = (obj) =>
			# 				if obj.status != 'success'
			# 					console.error "上传#{obj.platform}不成功！"
			# 				else
			# 					console.log "上传#{obj.platform}成功！"
			# 					@checkBuildResult obj.id,obj.platform,0
			# 			if data['data'].length > 0
			# 				showObject obj for obj in data['data']
			# 	error: =>
			# 		console.log "error"
			# client.buildApp(params)
			# console.log params

	checkModuleNeedUpload: (modulePath, modules, index) ->
		if modules.length == 0


	checkBuildResult: (id,platform,time) ->
		# console.log id,platform,time
		ticket = (timeTips,loopTime,waitTime) =>
			# console.log timeTips,loopTime
			if loopTime <= 1
				return
			loopTime = loopTime - 1
			num = waitTime - 1
			@.find(timeTips).html(num)
			# console.log timeTips,num,@.find(timeTips).html(num),waitTime
			setTimeout =>
				ticket timeTips,loopTime,num
			,1000
			# @.find(timeTips).html(num-1)
		params =
			sendCookie: true
			success: (data) =>
				# data['status'] = "SUCCESS"
				# data['url'] = "http://baidu.com"
				# console.log data
				if data['code'] == -1
					alert "#{platform}构建不存在！"
					return
				if data['status'] == "WAITING"
					# setTimeout("checkBuildResult(#{id},#{platform})", 1000*60)
					if platform == "IOS"
						timeTips = ".iosWaitTime"
						@.find(".iosTips").html("构建 IOS 还需等待<span class='iosWaitTime'>#{data['waitingTime']}</span>秒")
					else
						timeTips = ".androidWaitTime"
						@.find(".androidTips").html("构建 ANDOIRD 还需等待<span class='androidWaitTime'>#{data['waitingTime']}</span>秒")
					loopTime = 30
					loopTime2 = 30
					if data['waitingTime'] < 30
						loopTime = data['waitingTime']
						if data['waitingTime'] == 0
							loopTime = loopTime + 2
							loopTime2 = data['waitingTime']
					setTimeout =>
						@checkBuildResult id,platform,time+1
					,1000*loopTime
					setTimeout =>
						ticket timeTips,loopTime2,data['waitingTime']
					,1000
				else if data['status'] == "SUCCESS"
					if !@urlCodeList.is(':visible')
						@buildingTips.addClass('hide')
