File tree Expand file tree Collapse file tree 3 files changed +17
-6
lines changed
Expand file tree Collapse file tree 3 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 2828
2929 SHARED_DIR = " ${ ROOT_DIR} /shared"
3030 ETC_DIR = " ${ ROOT_DIR} /etc"
31+ ASSETS_ROOT = " ${ ROOT_DIR} /../../dataset/server"
32+ BLOB_ASSETS_DIR = " ${ ASSETS_ROOT} /blobs"
3133
3234 REPORTS_DIR = " ${ buildDir} /reports"
3335
@@ -42,7 +44,7 @@ def USE_LOCAL_MAVEN = COUCHBASE_LITE_VERSION.endsWith("SNAPSHOT")
4244
4345def DATASET_VERSION = project. hasProperty(" datasetVersion" ) ? datasetVersion : " "
4446if (! (DATASET_VERSION =~ / ^\d {1,2}\.\d {1,2}/ )) { throw new InvalidUserDataException (" !!! Bad dataset version: ${ DATASET_VERSION} " ) }
45- def ASSETS_DIR = " ${ ROOT_DIR } /../../dataset/server /${ DATASET_VERSION} "
47+ def DB_ASSETS_DIR = " ${ ASSETS_ROOT } /dbs /${ DATASET_VERSION} "
4648
4749println " Building test server ${ SERVER_VERSION} @${ SERVER_BUILD} for CBL Android ${ COUCHBASE_LITE_VERSION} with ${ DATASET_VERSION} data"
4850
@@ -104,7 +106,8 @@ android {
104106 " ${ SHARED_DIR} /server/main/java"
105107 ]
106108 assets. srcDirs = [
107- ASSETS_DIR ,
109+ DB_ASSETS_DIR ,
110+ BLOB_ASSETS_DIR ,
108111 " ${ SHARED_DIR} /assets"
109112 ]
110113 }
Original file line number Diff line number Diff line change 3636 ASSETS_DIR = " ${ ROOT_DIR} /../../dataset/server"
3737 SHARED_DIR = " ${ ROOT_DIR} /shared"
3838 ETC_DIR = " ${ ROOT_DIR} /etc"
39+ ASSETS_ROOT = " ${ ROOT_DIR} /../../dataset/server"
40+ BLOB_ASSETS_DIR = " ${ ASSETS_ROOT} /blobs"
41+
3942
4043 REPORTS_DIR = " ${ buildDir} /reports"
4144
@@ -49,7 +52,7 @@ def USE_LOCAL_MAVEN = COUCHBASE_LITE_VERSION.endsWith("SNAPSHOT")
4952
5053def DATASET_VERSION = project. hasProperty(" datasetVersion" ) ? datasetVersion : " "
5154if (! (DATASET_VERSION =~ / ^\d {1,2}\.\d {1,2}/ )) { throw new InvalidUserDataException (" !!! Bad dataset version: ${ DATASET_VERSION} " ) }
52- def ASSETS_DIR = " ${ ROOT_DIR } /../../dataset/server /${ DATASET_VERSION} "
55+ def DB_ASSETS_DIR = " ${ ASSETS_ROOT } /dbs /${ DATASET_VERSION} "
5356
5457// Set -Pverbose to get full console logs for tests
5558def VERBOSE = project. hasProperty(" verbose" )
7679 " ${ SHARED_DIR} /server/main/java"
7780 ]
7881 resources. srcDirs = [
79- ASSETS_DIR ,
82+ DB_ASSETS_DIR ,
83+ BLOB_ASSETS_DIR ,
8084 " ${ SHARED_DIR} /assets"
8185 ]
8286 }
Original file line number Diff line number Diff line change 3535
3636 SHARED_DIR = " ${ ROOT_DIR} /shared"
3737 ETC_DIR = " ${ ROOT_DIR} /etc"
38+ ASSETS_ROOT = " ${ ROOT_DIR} /../../dataset/server"
39+ BLOB_ASSETS_DIR = " ${ ASSETS_ROOT} /blobs"
40+
3841
3942 REPORTS_DIR = " ${ buildDir} /reports"
4043
@@ -48,7 +51,7 @@ def USE_LOCAL_MAVEN = COUCHBASE_LITE_VERSION.endsWith("SNAPSHOT")
4851
4952def DATASET_VERSION = project. hasProperty(" datasetVersion" ) ? datasetVersion : " "
5053if (! (DATASET_VERSION =~ / ^\d {1,2}\.\d {1,2}/ )) { throw new InvalidUserDataException (" !!! Bad dataset version: ${ DATASET_VERSION} " ) }
51- def ASSETS_DIR = " ${ ROOT_DIR } /../../dataset/server /${ DATASET_VERSION} "
54+ def DB_ASSETS_DIR = " ${ ASSETS_ROOT } /dbs /${ DATASET_VERSION} "
5255
5356// Set -Pverbose to get full console logs for tests
5457def VERBOSE = project. hasProperty(" verbose" )
7477 " ${ SHARED_DIR} /jvm/main/java"
7578 ]
7679 resources. srcDirs = [
77- ASSETS_DIR ,
80+ DB_ASSETS_DIR ,
81+ BLOB_ASSETS_DIR ,
7882 " ${ SHARED_DIR} /assets"
7983 ]
8084 }
You can’t perform that action at this time.
0 commit comments