aboutsummaryrefslogtreecommitdiff
path: root/compatibility/BuildInterface.java
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2017-03-12 22:00:00 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2017-03-12 22:34:02 -0400
commit828adac48d0e08766d192c7ce01021083cfc4d67 (patch)
tree06e19c3f9117c24e6c6a5e8a95990011a0efe4b3 /compatibility/BuildInterface.java
parentc14e288996d2b56b6b06a0624f4f2fca315369c7 (diff)
downloadcbt-828adac48d0e08766d192c7ce01021083cfc4d67.tar.gz
cbt-828adac48d0e08766d192c7ce01021083cfc4d67.tar.bz2
cbt-828adac48d0e08766d192c7ce01021083cfc4d67.zip
fix file watching for real
last file watching update didn’t work well enough. This now - rips out barbary watch service as it seems buggy crashing the jvm - make cbt exclusively write files to watch to a file - uses fswatch instead watching all files in that file
Diffstat (limited to 'compatibility/BuildInterface.java')
-rw-r--r--compatibility/BuildInterface.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/compatibility/BuildInterface.java b/compatibility/BuildInterface.java
index eb60960..d6d11db 100644
--- a/compatibility/BuildInterface.java
+++ b/compatibility/BuildInterface.java
@@ -6,7 +6,10 @@ public interface BuildInterface extends Dependency{
public default BuildInterface finalBuild(File current){
return finalBuild(); // legacy forwarder
}
- public abstract File[] triggerLoopFilesArray(); // needed for watching files across composed builds
+ @Deprecated
+ public default File[] triggerLoopFilesArray(){
+ return new File[0];
+ };
// deprecated methods, which clients are still allowed to implement, but not required
public abstract BuildInterface finalBuild(); // needed to propagage through build builds. Maybe we can get rid of this.