Browse Source

на боевое тестирование ...

home
esoe 2 years ago
parent
commit
1fd04bc78a
  1. 9
      src/main/java/ru/molokoin/sourceListener/GitListener.java

9
src/main/java/ru/molokoin/sourceListener/GitListener.java

@ -5,6 +5,7 @@ import java.io.File;
import java.io.FileOutputStream; import java.io.FileOutputStream;
import java.io.IOException; import java.io.IOException;
import java.util.Enumeration; import java.util.Enumeration;
import java.util.concurrent.DelayQueue;
import java.util.zip.ZipEntry; import java.util.zip.ZipEntry;
import java.util.zip.ZipFile; import java.util.zip.ZipFile;
@ -73,6 +74,12 @@ public class GitListener {
System.out.println(e.getMessage()); System.out.println(e.getMessage());
} }
} }
try {
Thread.sleep(2000);
} catch (InterruptedException e) {
System.out.println("Проспал!!! Ошибка!!!");
e.printStackTrace();
}
} }
} }
@ -138,7 +145,5 @@ public class GitListener {
git = GitServiceFace.copy(ear.getOpt().getGitLink(), ear.getOpt().getGitLocalPath()); git = GitServiceFace.copy(ear.getOpt().getGitLink(), ear.getOpt().getGitLocalPath());
} }
ear.live(git); ear.live(git);
} }
} }

Loading…
Cancel
Save