def __init__(self): if pkgutil.isWindows(): self.packageRoot = "c:/tmp/qtjambi-builder" else: self.packageRoot = "/tmp/qtjambi-builder" self.eclipseVersion = "1.2.2" self.p4User = "******" self.p4Client = "qt-builder" self.binaryPackageCount = 0 self.packageExtraName = "" self.buildPreview = False; self.buildMac = True self.buildWindows = True self.buildLinux = True self.build32 = True self.build64 = True self.buildEval = True self.buildGpl = False self.buildLgpl = True self.buildCommercial = True self.buildBinary = True self.buildSource = True self.resetKeystore = True self.buildWebstart = True self.copiedWebstartBinaries = False;
def __init__(self): self.qtLabel = None self.qtBranch = None if pkgutil.isWindows(): self.packageRoot = "C:/tmp/qt-build" else: self.packageRoot = "/tmp/qt-build" self.p4User = "******" self.p4Client = "qt-builder" self.startDir = os.getcwd() self.p4Resync = True self.buildMac = True self.buildWindows = True self.buildLinux = True self.build32 = True self.build64 = True
import time import threading import sys import pkgutil serversocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) hostname = socket.gethostname() if hostname.find(".") < 0: hostname = hostname + ".troll.no" print "binding to " + hostname + ":", pkgutil.PORT_SERVER, "..." serversocket.bind((hostname, pkgutil.PORT_SERVER)) print "listening..." serversocket.listen(5) if pkgutil.isWindows(): rootDir = "c:/tmp/package_server" task = "cmd /c task.bat > .task.log 2>&1" elif pkgutil.isLinux(): rootDir = "/tmp/package_server" task = "bash ./task.sh > .task.log 2>&1" else: rootDir = "/tmp/package_server" task = ". task.sh > .task.log 2>&1" pendingTasks = [] waitCondition = threading.Condition() startDir = os.getcwd() cleanTmp = True