How to use the tmt.EclipseProject.__init__ function in tmt

To help you get started, we’ve selected a few tmt examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github thewca / tnoodle / scrambles / tmtproject.py View on Github external
def __init__(self):
        tmt.EclipseProject.__init__(
            self,
            tmt.projectName(),
            description=DESCRIPTION,
            main='net.gnehzr.tnoodle.scrambles.Main')
github thewca / tnoodle / server / tmtproject.py View on Github external
def __init__(self, *args, **kwargs):
		tmt.EclipseProject.__init__(
				self,
				tmt.projectName(),
				description="A basic, extensible webserver",
				main='net.gnehzr.tnoodle.server.TNoodleServer',
				argv=[ '--nobrowser', '--disable-caching', '--consoleLevel=INFO' ])
        # It is important that when we iterate through the plugins
        # in topological sorted order. This way if B uses A, B can clobber
        # A's settings.
		self.plugins = OrderedDict()
github thewca / tnoodle / tnoodlejs / tmtproject.py View on Github external
def __init__(self):
        tmt.EclipseProject.__init__(
            self,
            tmt.projectName(),
            description=DESCRIPTION)
github thewca / tnoodle / winstone / tmtproject.py View on Github external
def __init__(self, *args, **kwargs):
        tmt.EclipseProject.__init__(self, *args, **kwargs)
        tmt.WinstoneServer = self
        self.main = "net.gnehzr.tnoodle.server.TNoodleServer"
        self.argv = [ '--nobrowser', '--consoleLevel=INFO' ]

        # Winstone does all of these things =(.
        self.ignoredWarnings += [ 'unchecked' ]
        self.ignoredWarnings += [ 'deprecation' ]
        self.ignoredWarnings += [ 'serial' ]
        self.ignoredWarnings += [ 'dep-ann' ]
        self.ignoredWarnings += [ 'rawtypes' ]


        # It is important that when we iterate through the plugins
        # in topological sorted order. This way if B uses A, B can clobber
        # A's settings.
        self.plugins = OrderedDict()