drop "honor forward dependencies on compile" option

This commit is contained in:
Eugene Zhuravlev
2011-01-21 18:24:16 +01:00
parent cb0ffbbb12
commit 0f4051917b
10 changed files with 36 additions and 185 deletions
@@ -39,7 +39,6 @@ public class CompilerWorkspaceConfiguration implements PersistentStateComponent<
public boolean COMPILE_IN_BACKGROUND = true;
public boolean AUTO_SHOW_ERRORS_IN_EDITOR = true;
@Deprecated public boolean CLOSE_MESSAGE_VIEW_IF_SUCCESS = true;
public boolean COMPILE_DEPENDENT_FILES = false;
public boolean CLEAR_OUTPUT_DIRECTORY = true;
public boolean ASSERT_NOT_NULL = true;
@@ -26,7 +26,7 @@ import org.jetbrains.annotations.Nullable;
* Interface describing the current compilation scope.
* Only sources that belong to the scope are compiled.
*
* @see CompilerManager#compile(CompileScope, CompileStatusNotification, boolean)
* @see CompilerManager#compile(CompileScope, CompileStatusNotification)
*/
public interface CompileScope extends UserDataHolder {
CompileScope[] EMPTY_ARRAY = new CompileScope[0];
@@ -19,7 +19,7 @@ package com.intellij.openapi.compiler;
* A callback interface passed to ComplerManager methods. Provides notification similar to
* {@link CompilationStatusListener}.
*
* @see CompilerManager#compile(CompileScope, CompileStatusNotification, boolean)
* @see CompilerManager#compile(CompileScope, CompileStatusNotification)
*/
public interface CompileStatusNotification {
/**
@@ -155,27 +155,24 @@ public abstract class CompilerManager {
* @param files a list of files to compile. If a VirtualFile is a directory, all containing files are processed.
* Compiler excludes are not honored.
* @param callback a notification callback, or null if no notifications needed.
* @param trackDependencies if true, all files that the given set depends on, recursively, will be compiled.
*/
public abstract void compile(@NotNull VirtualFile[] files, @Nullable CompileStatusNotification callback, boolean trackDependencies);
public abstract void compile(@NotNull VirtualFile[] files, @Nullable CompileStatusNotification callback);
/**
* Compile all sources (including test sources) from the module. Compiler excludes are not honored.
*
* @param module a module which sources are to be compiled
* @param callback a notification callback, or null if no notifications needed
* @param trackDependencies if true, all files that the given set depends on, recursively, will be compiled.
*/
public abstract void compile(@NotNull Module module, @Nullable CompileStatusNotification callback, final boolean trackDependencies);
public abstract void compile(@NotNull Module module, @Nullable CompileStatusNotification callback);
/**
* Compile all files from the scope given. Compiler excludes are not honored.
*
* @param scope a scope to be compiled
* @param callback a notification callback, or null if no notifications needed
* @param trackDependencies if true, all files that the given set depends on, recursively, will be compiled.
*/
public abstract void compile(@NotNull CompileScope scope, CompileStatusNotification callback, final boolean trackDependencies);
public abstract void compile(@NotNull CompileScope scope, CompileStatusNotification callback);
/**
* Compile all modified files and all files that depend on them all over the project.