Search in sources :

Example 1 with FlexUnitPrecompileTask

use of com.intellij.lang.javascript.flex.flexunit.FlexUnitPrecompileTask in project intellij-plugins by JetBrains.

the class FlexCompilerHandler method projectOpened.

public void projectOpened() {
    CompilerManager compilerManager = CompilerManager.getInstance(myProject);
    if (compilerManager != null) {
        compilerManager.addBeforeTask(new ValidateFlashConfigurationsPrecompileTask());
        compilerManager.addBeforeTask(new FlexUnitPrecompileTask(myProject));
        compilerManager.addAfterTask(new FlexUnitAfterCompileTask());
        compilerManager.setValidationEnabled(FlexModuleType.getInstance(), false);
    }
    myWidget = new ActiveBuildConfigurationWidget(myProject);
}
Also used : ActiveBuildConfigurationWidget(com.intellij.lang.javascript.flex.projectStructure.ui.ActiveBuildConfigurationWidget) FlexUnitAfterCompileTask(com.intellij.lang.javascript.flex.flexunit.FlexUnitAfterCompileTask) CompilerManager(com.intellij.openapi.compiler.CompilerManager) FlexUnitPrecompileTask(com.intellij.lang.javascript.flex.flexunit.FlexUnitPrecompileTask)

Aggregations

FlexUnitAfterCompileTask (com.intellij.lang.javascript.flex.flexunit.FlexUnitAfterCompileTask)1 FlexUnitPrecompileTask (com.intellij.lang.javascript.flex.flexunit.FlexUnitPrecompileTask)1 ActiveBuildConfigurationWidget (com.intellij.lang.javascript.flex.projectStructure.ui.ActiveBuildConfigurationWidget)1 CompilerManager (com.intellij.openapi.compiler.CompilerManager)1