m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorMagdalena Grodzińska <mag.grodzinska@gmail.com>2020-01-12 14:54:47 +0100
committerMagdalena Grodzińska <mag.grodzinska@gmail.com>2020-01-12 14:54:47 +0100
commit7a4508bfa906eff853dfb2424e3b91761a886da6 (patch)
tree36ebabc4741c3532eaa0f27e5819c769872f43a5 /build.gradle
parent8644de307a17ad7a2f8695b53c0e3d0c42087ed0 (diff)
Switch zones by flags in agent, client, fetcher
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle5
1 files changed, 3 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index b0c35a2..d7909f7 100644
--- a/build.gradle
+++ b/build.gradle
@@ -57,9 +57,8 @@ ext.zoneSelectionStrategy = {
return System.getProperty("zoneStrategy") ?: "RandomUniform"
}
-// TODO nie bangla zmienianie
ext.zonePath = {
- return System.getProperty("zonePath") ?: "/uw/violet08"
+ return System.getProperty("zonePath") ?: "/uw/violet07"
}
repositories {
@@ -117,12 +116,14 @@ task runClient(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'pl.edu.mimuw.cloudatlas.client.Client'
systemProperty 'agent_hostname', hostname()
+ systemProperty 'zone_path', zonePath()
}
task runFetcher(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'pl.edu.mimuw.cloudatlas.fetcher.Fetcher'
args(hostname() , 1099)
+ systemProperty 'zone_path', zonePath()
}
task runInterpreter(type: JavaExec) {