示例#1
0
	def __init__(self):
		IPlugIn.__init__(self)
		self._depmanDataPath = sys.path[0]+os.path.sep+".."+os.path.sep+"plugins-data"+os.path.sep+"depman"
		self._supportedPlatforms = ["all","mac","linux","win"]
		self._supportedArchs = ["all","i386","ppc","ppc64","x86_64","universal"]
		self._supportedLibraryTypes = ["none","dynamic","static","framework"]
		self._supportedCompilers = ["all","vs6","vs7","vs8","vs9","gcc3","gcc4"]
		#tries to guess host OS values
		self._osplatform="unknown"
		self._osdistribution="unknown"
		self._osarch="unknown"
		self._oscompiler="unknown"
		if sys.platform=="darwin":
			self._osplatform="mac"
			self._osarch="universal"
			self._oscompiler="gcc4"
			self._osdistribution, null, null=platform.mac_ver()
		elif sys.platform == "linux2" or sys.platform == "linux1":
			self._osplatform="linux"
			self._osarch="i386"
			self._oscompiler="gcc4"
			self._osdistribution, null, null = platform.dist()
			if self._osdistribution == "debian" or self._osdistribution == "Ubuntu":
				self._osdistribution = string.replace(commands.getoutput("lsb_release -ds")," ","-")
		elif sys.platform == "win32" or sys.platform == "win64":
			self._osplatform="win"
			self._osarch="i386"
			self._oscompiler="vs8"
			self._osdistribution,null,null,null,null = sys.getwindowsversion()

		self._getDepManPath = False
		
		
		self._file = "depman.xml"
		self._node = None
示例#2
0
    def __init__(self):
        IPlugIn.__init__(self)
        self._default_repository = ""
        self._dependency = None

        self._forceCache = False
        self._isInteractive = True
示例#3
0
	def __init__(self):
		IPlugIn.__init__(self)
		self._default_repository = ""
		self._dependency = None

		self._forceCache = False
		self._isInteractive = True
示例#4
0
 def __init__(self):
     IPlugIn.__init__(self)
     self._xmlFile = "depman.xml"
     self._destDir = "."
     self._filter = "*"
     self._isFromCache=False
     self._isInteractive=True
     self._depmanNode = None
示例#5
0
 def __init__(self):
     IPlugIn.__init__(self)
     self._xmlFile = "depman.xml"
     self._destDir = "."
     self._filter = "*"
     self._isFromCache = False
     self._isInteractive = True
     self._depmanNode = None
示例#6
0
    def __init__(self):
        IPlugIn.__init__(self)

        self._must_Clean = True
        self._isFromCache = False
        self._isInteractive = True

        self._defurl = "http://downloads.gvsig.org/pub/gvSIG-desktop/buildman-repository"
        self._dependencyList = []
示例#7
0
    def __init__(self):
        IPlugIn.__init__(self)

        self._is_Interactive = False
        self._dependency = None
        self._server = Server()
        self._servers = []

        self._xmlConfigFile = "settings.xml"
示例#8
0
    def __init__(self):
        IPlugIn.__init__(self)
		
        self._is_Interactive = False
        self._dependency = None
        self._server = Server()
        self._servers = []
        
        self._xmlConfigFile = "settings.xml"
示例#9
0
	def __init__(self):
		IPlugIn.__init__(self)
		
		self._must_Clean=True
		self._isFromCache=False
		self._isInteractive=True
		
		self._defurl="http://downloads.gvsig.org/pub/gvSIG-desktop/buildman-repository"
		self._dependencyList = []
示例#10
0
    def __init__(self):
        IPlugIn.__init__(self)

        self._must_Clean = True
        self._isFromCache = False
        self._isInteractive = True
        self._xmlfile = "depman.xml"
        self._depmanNode = None

        self._defurl = "http://murray.ai2.upv.es/depman"
示例#11
0
	def __init__(self):
		IPlugIn.__init__(self)
		
		self._must_Clean=True
		self._isFromCache=False
		self._isInteractive=True
		self._xmlfile="depman.xml"
		self._depmanNode = None
		
		self._defurl="http://murray.ai2.upv.es/depman"
示例#12
0
    def __init__(self):
        IPlugIn.__init__(self)

        self._path = "."
        self._is_Interactive = False
        self._dependency = None

        self._default_ftp = "downloads.gvsig.org"
        self._default_login = "******"
        self._default_destdir = "/anon/pub/gvSIG-desktop/buildman-repository"
示例#13
0
	def __init__(self):
		IPlugIn.__init__(self)
		
		self._path="."
		self._is_Interactive=False
		self._dependency = None
		
		self._default_ftp="downloads.gvsig.org"
		self._default_login="******"
		self._default_destdir = "/anon/pub/gvSIG-desktop/buildman-repository"
示例#14
0
	def __init__(self):
		IPlugIn.__init__(self)
		self._targetType = "Release" # only vs7/vs8 compilers
		self._projectPath = ""
		self._install = False
		self._projectName = ""
		self._projectGenerationPath = ""
		self._supportedCompilers = dict()
		self._supportedCompilers["vs8"]="devenv.exe"
		self._supportedCompilers["vs7"]="devenv.exe"
		self._supportedCompilers["gcc4"]="make"
		self._supportedCompilers["gcc3"]="make"
		self._compiler = ""
示例#15
0
	def __init__(self):
		IPlugIn.__init__(self)
		self._buildType = "Release"
		self._supportedGenerators = dict()
		self._supportedGenerators["vs8"] = "Visual Studio 8 2005"
		self._supportedGenerators["vs7"] = "Visual Studio 7 .NET 2003"
		self._supportedGenerators["unix"] = "Unix Makefiles"
		self._supportedGenerators["xcode"] = "Xcode"
		self._cmakeGenerator = ""
		self._projectPath = ""
		self._projectGenerationPath = ""
		self._installPath = ""
		self._cmakeOtherOptions = ""
示例#16
0
 def __init__(self):
     IPlugIn.__init__(self)
     self._targetType = "Release"  # only vs7/vs8 compilers
     self._projectPath = ""
     self._install = False
     self._projectName = ""
     self._projectGenerationPath = ""
     self._supportedCompilers = dict()
     self._supportedCompilers["vs8"] = "devenv.exe"
     self._supportedCompilers["vs7"] = "devenv.exe"
     self._supportedCompilers["gcc4"] = "make"
     self._supportedCompilers["gcc3"] = "make"
     self._compiler = ""
示例#17
0
	def __init__(self):
		IPlugIn.__init__(self)
		self._default_repository = ""
		self._url = ""
		self._group = ""
		self._artifact = ""
		self._version = ""
		self._platform = ""
		self._artifact = ""
		self._compiler = ""
		self._arch = ""
		self._ltype = ""
		self._forceCache = False
		self._isInteractive = True
示例#18
0
    def __init__(self):
        IPlugIn.__init__(self)
        self._depmanDataPath = sys.path[
            0] + os.path.sep + ".." + os.path.sep + "plugins-data" + os.path.sep + "depman"
        self._supportedPlatforms = ["all", "mac", "linux", "win"]
        self._supportedArchs = [
            "all", "i386", "ppc", "ppc64", "x86_64", "universal"
        ]
        self._supportedLibraryTypes = [
            "none", "dynamic", "static", "framework"
        ]
        self._supportedCompilers = [
            "all", "vs6", "vs7", "vs8", "vs9", "gcc3", "gcc4"
        ]
        #tries to guess host OS values
        self._osplatform = "unknown"
        self._osdistribution = "unknown"
        self._osarch = "unknown"
        self._oscompiler = "unknown"
        if sys.platform == "darwin":
            self._osplatform = "mac"
            self._osarch = "universal"
            self._oscompiler = "gcc4"
            self._osdistribution, null, null = platform.mac_ver()
        elif sys.platform == "linux2" or sys.platform == "linux1":
            self._osplatform = "linux"
            self._osarch = "i386"
            self._oscompiler = "gcc4"
            self._osdistribution, null, null = platform.dist()
            if self._osdistribution == "debian" or self._osdistribution == "Ubuntu":
                self._osdistribution = string.replace(
                    commands.getoutput("lsb_release -ds"), " ", "-")
        elif sys.platform == "win32" or sys.platform == "win64":
            self._osplatform = "win"
            self._osarch = "i386"
            self._oscompiler = "vs8"
            self._osdistribution, null, null, null, null = sys.getwindowsversion(
            )

        self._getDepManPath = False

        self._file = "depman.xml"
        self._node = None
示例#19
0
    def __init__(self):
        IPlugIn.__init__(self)

        self._path = "."
        self._group = ""
        self._artifact = ""
        self._version = ""
        self._platform = "default"
        self._arch = "default"
        self._compiler = "default"
        self._ltype = ""
        self._upload = False
        self._is_Interactive = True
        self._xmlfile = ""
        self._packageNode = None

        self._default_ssh = "murray.ai2.upv.es"
        self._default_login = "******"
        self._default_destdir = "/projects/AI2/www-aliases/depman/"
示例#20
0
	def __init__(self):
		IPlugIn.__init__(self)
		
		self._path="."
		self._group=""
		self._artifact=""
		self._version=""
		self._platform="default"
		self._arch="default"
		self._compiler="default"
		self._ltype=""
		self._upload=False
		self._is_Interactive=True
		self._xmlfile = ""
		self._packageNode = None
		
		self._default_ssh="murray.ai2.upv.es"
		self._default_login="******"
		self._default_destdir = "/projects/AI2/www-aliases/depman/"
示例#21
0
	def __init__(self):
		IPlugIn.__init__(self)
		self._depmanDataPath = sys.path[0]+os.path.sep+".."+os.path.sep+"plugins-data"+os.path.sep+"depman"
		self._supportedPlatforms = ["all","mac","linux","win"]
		self._supportedArchs = ["all","i386","ppc","ppc64","x86_64","universal"]
		self._supportedLibraryTypes = ["none","dynamic","static","framework"]
		self._supportedCompilers = ["all","vs6","vs7","vs8","gcc3","gcc4"]
		#tries to guess host OS values
		self._osplatform="unknown"
		self._osarch="unknown"
		self._oscompiler="unknown"
		if sys.platform=="darwin":
			self._osplatform="mac"
			self._osarch="universal"
			self._oscompiler="gcc4"
		elif sys.platform == "linux2" or sys.platform == "linux1":
			self._osplatform="linux"
			self._osarch="i386"
			self._oscompiler="gcc4"
		elif sys.platform == "win32" or sys.platform == "win64":
			self._osplatform="win"
			self._osarch="i386"
			self._oscompiler="vs8"
示例#22
0
	def __init__(self):
		IPlugIn.__init__(self)
示例#23
0
 def __init__(self):
     IPlugIn.__init__(self)
示例#24
0
 def __init__(self):
     IPlugIn.__init__(self)
     self._options = ["co", "up", "checkout", "update"]
     self._option = ""
     self._projectPath = ""
     self._svnUrl = ""
示例#25
0
	def __init__(self):
		IPlugIn.__init__(self)
		self._options = ['co','up', 'checkout', 'update']
		self._option = ""
		self._projectPath = ""
		self._svnUrl = ""
示例#26
0
 def __init__(self):
     IPlugIn.__init__(self)
     self._delete_cache = False
     self._default_repository = ""
示例#27
0
 def __init__(self):
     IPlugIn.__init__(self)
     self._path = ""
示例#28
0
	def __init__(self):
		IPlugIn.__init__(self)
		self._path = ""
示例#29
0
	def __init__(self):
		IPlugIn.__init__(self)
		self._delete_cache = False
		self._default_repository = ""
示例#30
0
	def __init__(self):
		IPlugIn.__init__(self)
		self.reset()
示例#31
0
 def __init__(self):
     IPlugIn.__init__(self)
     self._options = ['co', 'up', 'checkout', 'update']
     self._option = ""
     self._projectPath = ""
     self._svnUrl = ""
示例#32
0
	def __init__(self):
		IPlugIn.__init__(self)
		self.reset()