mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM: Script fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@49382 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -76,7 +76,7 @@ task resetDatabase << {
|
|||||||
|
|
||||||
test {
|
test {
|
||||||
|
|
||||||
if (localBuild == false) {
|
if (localBuild == 'false') {
|
||||||
dependsOn resetDatabase
|
dependsOn resetDatabase
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -85,7 +85,7 @@ test {
|
|||||||
testLogging.showStandardStreams = true
|
testLogging.showStandardStreams = true
|
||||||
jvmArgs '-Xms256M', '-Xmx1024M', '-XX:MaxPermSize=256M'
|
jvmArgs '-Xms256M', '-Xmx1024M', '-XX:MaxPermSize=256M'
|
||||||
|
|
||||||
if (localBuild == false) {
|
if (localBuild == 'false') {
|
||||||
// Put systemProperty definition in a doFirst closure, otherwise it's executed before resetDatabase task
|
// Put systemProperty definition in a doFirst closure, otherwise it's executed before resetDatabase task
|
||||||
doFirst {
|
doFirst {
|
||||||
ant.property(name: "dir.root", value: System.getProperty("user.dir") + "/build/test_alf_data")
|
ant.property(name: "dir.root", value: System.getProperty("user.dir") + "/build/test_alf_data")
|
||||||
@@ -112,3 +112,4 @@ task localTest << {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user