def __init__(self, mode='Release', exclude=[]): if mode is None: mode = 'Release' FileFilter.__init__(self, include=['*Tests.dll'], folderPattern='*\\bin\\' + mode + '\\*', exclude=exclude)
def __init__(self): FileFilter.__init__(self, exclude=[ '*\\.svn\\*', '*uploads', '*Test.dll', '*Test.dll.config', '*Tests.dll', '*Tests.dll.config', '*Test.exe', '*_accessor.dll', '*.pdb', '*.nlp' ])
def __init__(self): FileFilter.__init__(self, exclude=[ '*\\.svn\\*', '*\\testdata\\*', '*\\install\\*', '*\\docs\\*', '*\\pub\\*', '*\\libs\\*', '*\\bld\\*', 'test_*', '*_publish.py', '*_test.py', '*.pyc', '*.wpr' ])
def __init__(self, srcDir, destDir, fileFilter=None): super(CopyTask, self).__init__() self.destDir = destDir self.srcDir = srcDir if fileFilter is None: self.fileFilter = FileFilter() else: self.fileFilter = fileFilter
def __init__(self, srcDir, destDir, fileFilter=None): TaskBase().__init__() self.destDir = destDir self.srcDir = srcDir if fileFilter is None: self.fileFilter = FileFilter() else: self.fileFilter = fileFilter
def __init__(self): FileFilter.__init__( self, exclude=[ "*\\.svn\\*", "*\\testdata\\*", "*\\install\\*", "*\\docs\\*", "*\\pub\\*", "*\\libs\\*", "*\\bld\\*", "test_*", "*_publish.py", "*_test.py", "*.pyc", "*.wpr", ], )
def do(self): self.__zf = zipfile.ZipFile(self.__zipName, 'w', zipfile.ZIP_DEFLATED) self.__fileFilter = FileFilter(exclude=self.__exclude).Filter(self.__dirName) rootlen = len(self.__dirName) + 1 for item in self.__fileFilter: fn = item self.__zf.write(fn, fn[rootlen:]) return True
def __init__( self ): FileFilter.__init__( self, include = ['*.doc','*.pdf'])
def __init__(self, mode='Release', exclude=[]): if mode is None: mode = 'Release' FileFilter.__init__(self, include=['*Tests.dll'], folderPattern='*\\bin\\'+mode+'\\*', exclude=exclude)
def __init__(self): FileFilter.__init__(self, include=['*.doc', '*.pdf'])
def __init__( self ): FileFilter.__init__( self, exclude = ['*\\.svn\\*', '*uploads', '*Test.dll', '*Test.dll.config', '*Tests.dll', '*Tests.dll.config', '*Test.exe', '*_accessor.dll', '*.pdb', '*.nlp'])
def __init__( self ): FileFilter.__init__( self, include = ['*.jar'])
def __init__(self): FileFilter.__init__(self, include=['*.jar'])
def __init__( self ): FileFilter.__init__( self, exclude = ['*\\.svn\\*', '*\\testdata\\*', '*\\install\\*', '*\\docs\\*', '*\\pub\\*', '*\\libs\\*', '*\\bld\\*', 'test_*', '*_publish.py', '*_test.py', '*.pyc', '*.wpr'] )