Esempio n. 1
0
    def __init__(self, context, workdir):
        super(ScalaCompile, self).__init__(context, workdir, jdk=False)

        # Set up the zinc utils.
        color = not context.options.no_color
        self._zinc_utils = ZincUtils(context=context,
                                     nailgun_task=self,
                                     jvm_options=self._jvm_options,
                                     color=color)
Esempio n. 2
0
    def __init__(self, *args, **kwargs):
        super(ScalaCompile, self).__init__(*args, **kwargs)

        # Set up the zinc utils.
        color = self.get_options().colors
        self._zinc_utils = ZincUtils(context=self.context,
                                     nailgun_task=self,
                                     jvm_options=self._jvm_options,
                                     color=color,
                                     log_level=self.get_options().level)
Esempio n. 3
0
    def __init__(self, *args, **kwargs):
        super(ScalaCompile, self).__init__(*args, **kwargs)

        # Set up the zinc utils.
        color = not self.context.options.no_color
        self._zinc_utils = ZincUtils(context=self.context,
                                     nailgun_task=self,
                                     jvm_options=self._jvm_options,
                                     color=color)

        self.configure_args(
            args_defaults=_SCALA_COMPILE_ARGS_DEFAULT,
            warning_defaults=_SCALA_COMPILE_WARNING_ARGS_DEFAULT,
            no_warning_defaults=_SCALA_COMPILE_WARNING_ARGS_DEFAULT)