Skip to content
Snippets Groups Projects
Commit 0e45ff28 authored by Adam Laskowski's avatar Adam Laskowski
Browse files

SSDM-13365: changed configuration of test-api-openbis-javascript project to...

SSDM-13365: changed configuration of test-api-openbis-javascript project to copy and delete blast for test
parent e7c5e3d1
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -32,6 +32,7 @@ sourceSets {
configurations.create('testRuntimeFirst')
configurations.create('testRuntimeSecond')
configurations.create('externalDss')
configurations.create('blast_tar')
dependencies {
api project(path: ':server-screening'),
......@@ -49,6 +50,8 @@ dependencies {
testRuntimeSecond 'google:gwt-user:2.4'
externalDss project(':server-screening')
blast_tar "blast:blast:2.2.30@tar.gz"
}
sourceSets.test.runtimeClasspath = configurations.testRuntimeFirst + configurations.testRuntimeSecond + sourceSets.test.runtimeClasspath
......@@ -59,6 +62,21 @@ task copyWar(type: Copy, dependsOn: project(':core-plugin-openbis').war) {
rename { filename -> 'openbis.war' }
}
task copyBlast(type: Copy) {
doFirst {
println "Copying blast library into plugins folder for test"
}
from(configurations.blast_tar.collect { tarTree(it) })
into 'servers/common/core-plugins/eln-lims'
}
task deleteBlast(type: Delete) {
doFirst {
println "DELETE temporary blast library folder"
}
delete 'servers/common/core-plugins/eln-lims/bin'
}
task deleteXlsImportVersionInfoJson(type: Delete) {
doFirst {
println "DELETE xls-import-version-info.json file in $buildDir"
......@@ -110,3 +128,7 @@ test {
}
test.dependsOn clean
test.dependsOn copyWar
test.dependsOn copyBlast
test.finalizedBy deleteBlast
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment