diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2017-03-12 22:00:00 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-03-12 22:34:02 -0400 |
commit | 828adac48d0e08766d192c7ce01021083cfc4d67 (patch) | |
tree | 06e19c3f9117c24e6c6a5e8a95990011a0efe4b3 /compatibility/Context.java | |
parent | c14e288996d2b56b6b06a0624f4f2fca315369c7 (diff) | |
download | cbt-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/Context.java')
-rw-r--r-- | compatibility/Context.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compatibility/Context.java b/compatibility/Context.java index 1657ef0..f0fa42c 100644 --- a/compatibility/Context.java +++ b/compatibility/Context.java @@ -21,6 +21,9 @@ public interface Context{ public default File workingDirectory(){ return projectDirectory(); }; + public default boolean loop(){ + return false; + }; // methods that exist for longer which every CBT version in use should have by now, no default values needed public abstract File cwd(); // REPLACE by something that allows to run cbt on some other directly @@ -32,9 +35,6 @@ public interface Context{ public abstract File cbtRootHome(); // REMOVE public abstract File compatibilityTarget(); // maybe replace this with search in the classloader for it? public abstract BuildInterface parentBuildOrNull(); - public default File[] triggerLoopFilesArray(){ - return new File[0]; // REMOVE default value on next compatibility breaking release - } // deprecated methods @java.lang.Deprecated |