]> source.dussan.org Git - sonarqube.git/commitdiff
Fix lifecycle of ProjectFileSystem
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 2 Oct 2012 10:29:03 +0000 (12:29 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 2 Oct 2012 10:29:03 +0000 (12:29 +0200)
sonar-batch/src/main/java/org/sonar/batch/DefaultProjectFileSystem2.java

index 0ee2dbfe0337f0e22bca23705c680d7ec6ed8f71..2dfe6dbe3fc67b021fe666d2aff4e11c5dcbe33e 100644 (file)
@@ -173,4 +173,10 @@ public class DefaultProjectFileSystem2 extends DefaultProjectFileSystem {
   protected List<File> getInitialTestFiles() {
     return resolvePaths(def.getTestFiles());
   }
+
+  // Hack to instantiate DefaultProjectFileSystem2 before executing Phases.
+  // TODO all the project bootstrapping must be refactored. It's overcomplicated.
+  public void start() {
+
+  }
 }