Skip to content
Snippets Groups Projects
Commit 30661b67 authored by anttil's avatar anttil
Browse files

SWE-22 / SP-612: add dss_gui to dss standard technologies zip

SVN: 29930
parent cb5ffe19
No related branches found
No related tags found
No related merge requests found
apply from: 'http://svncisd.ethz.ch/repos/cisd/gradle/trunk/javaproject.gradle'
configurations.create('gui')
dependencies {
compile project(':common'),
project(':openbis-common'),
......@@ -25,6 +27,16 @@ dependencies {
project(path: ':openbis-common', configuration: 'tests'),
project(path: ':openbis', configuration: 'tests')
gui 'cglib:cglib-nodep:+',
'cisd:cisd-args4j:+',
'cisd:cisd-base:+',
'apache:poi-ooxml:+',
'springframework:spring-context:+',
'python:jython:+',
'apache:commons-httpclient:+',
'marathon:marathon-spring-util:+',
'apache:log4j:+',
'dom4j:dom4j:+'
}
sourceSets {
......@@ -34,3 +46,40 @@ sourceSets {
}
}
}
task dssGui(type: Jar) {
baseName 'dss_gui'
from (project(':common').sourceSets.main.output.getAsFileTree().plus(
project(':openbis-common').sourceSets.main.output.getAsFileTree().plus(
project(':openbis_api').sourceSets.main.output.getAsFileTree().plus(
project(':openbis').sourceSets.main.output.getAsFileTree().plus(
sourceSets.main.output.getAsFileTree())))).matching {
include 'ch/systemsx/cisd/common/**/*.class'
include 'ch/systemsx/cisd/openbis/common/**/*.class'
include 'ch/systemsx/cisd/openbis/generic/shared/**/*.class'
include 'ch/systemsx/cisd/openbis/plugin/query/shared/**/*.class'
include 'ch/systemsx/cisd/openbis/dss/client/**/*.class'
include 'ch/systemsx/cisd/openbis/dss/generic/shared/api/**/*.class'
include 'ch/systemsx/cisd/openbis/dss/generic/shared/utils/**/*.class'
include 'org/python/core/SyspathArchiveHack.class'
})
from (fileTree(dir: 'resource', includes: ['ok.png', 'wrong.png', 'wait.gif']))
}
dssGui.dependsOn compileJava
task dssGuiZip(type: Zip) {
baseName 'dss_upload_gui'
from (configurations.gui) {
into 'dss_upload_gui/lib'
}
from (dssGui.archivePath) {
into 'dss_upload_gui/lib'
}
}
dssGuiZip.dependsOn dssGui
build.dependsOn dssGuiZip
evaluationDependsOnChildren()
task wrapper(type: Wrapper) {
gradleVersion = '1.5'
distributionUrl = "http://svncisd.ethz.ch/repos/cisd/ivy-repository/trunk/gradle/distribution/1.5/gradle-1.5-bin.zip"
}
apply from: 'http://svncisd.ethz.ch/repos/cisd/gradle/trunk/javaproject.gradle'
\ No newline at end of file
......@@ -320,6 +320,10 @@ task zipDss(type: Zip) {
into 'datastore_server/server/etc'
}
from(zipTree(project(':datastore_server').dssGuiZip.archivePath)) {
into 'datastore_server/lib/'
}
from (project(':rtd_phosphonetx').fileTree(dir: 'source/core-plugins', includes:['proteomics/**', 'proteomics-optional/**'], excludes:['**/as/**', '**/package-to-dist']).plus(
project(':screening').fileTree(dir: 'source/core-plugins', includes:['screening/**', 'screening-optional/**'], excludes:['**/as/**', '**/package-to-dist']).plus(
project(':deep_sequencing_unit').fileTree(dir: 'source/core-plugins', includes:['illumina-ngs/**'], excludes:['**/as/**', '**/package-to-dist'])))) {
......
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