Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
222d33a0
Commit
222d33a0
authored
3 years ago
by
vkovtun
Browse files
Options
Downloads
Patches
Plain Diff
Fixing failing builds on Jenkins.
parent
0954b0b2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openbis_standard_technologies/build.gradle
+54
-54
54 additions, 54 deletions
openbis_standard_technologies/build.gradle
with
54 additions
and
54 deletions
openbis_standard_technologies/build.gradle
+
54
−
54
View file @
222d33a0
...
@@ -61,9 +61,9 @@ def jettyVersion = '9.4.30'
...
@@ -61,9 +61,9 @@ def jettyVersion = '9.4.30'
dependencies
{
dependencies
{
compile
project
(
':screening'
)
compile
project
(
':screening'
)
providedCompile
'google:gwt-user:2.4'
providedCompile
'google:gwt-user:2.4'
providedRuntime
"eclipse:jetty-deploy:${jettyVersion}.v20200611@jar"
,
providedRuntime
"eclipse:jetty-deploy:${jettyVersion}.v20200611@jar"
,
"eclipse:jetty-xml:${jettyVersion}.v20200611@jar"
,
"eclipse:jetty-xml:${jettyVersion}.v20200611@jar"
,
"eclipse:jetty-webapp:${jettyVersion}.v20200611@jar"
,
"eclipse:jetty-webapp:${jettyVersion}.v20200611@jar"
,
...
@@ -71,12 +71,12 @@ dependencies {
...
@@ -71,12 +71,12 @@ dependencies {
"eclipse:jetty-security:${jettyVersion}.v20200611@jar"
,
"eclipse:jetty-security:${jettyVersion}.v20200611@jar"
,
"eclipse:jetty-server:${jettyVersion}.v20200611@jar"
,
"eclipse:jetty-server:${jettyVersion}.v20200611@jar"
,
"eclipse:jetty-continuation:${jettyVersion}.v20200611@jar"
"eclipse:jetty-continuation:${jettyVersion}.v20200611@jar"
gwt
'reveregroup:gwt-image-loader:1.1.4'
,
gwt
'reveregroup:gwt-image-loader:1.1.4'
,
'google:gwt-dev:2.4'
'google:gwt-dev:2.4'
zipping
"eclipse:jetty-distribution:${jettyVersion}@zip"
zipping
"eclipse:jetty-distribution:${jettyVersion}@zip"
datastore_server
project
(
':deep_sequencing_unit'
),
datastore_server
project
(
':deep_sequencing_unit'
),
project
(
':rtd_yeastx'
),
project
(
':rtd_yeastx'
),
project
(
':screening'
),
project
(
':screening'
),
...
@@ -88,7 +88,7 @@ dependencies {
...
@@ -88,7 +88,7 @@ dependencies {
'slf4j:slf4j:1.6.2'
,
'slf4j:slf4j:1.6.2'
,
'slf4j:slf4j-log4j12:1.6.2'
,
'slf4j:slf4j-log4j12:1.6.2'
,
'sybit:image-viewer:0.3.6'
'sybit:image-viewer:0.3.6'
javadoc_sources
project
(
path:
':commonbase'
,
configuration:
'archives'
),
javadoc_sources
project
(
path:
':commonbase'
,
configuration:
'archives'
),
project
(
path:
':common'
,
configuration:
'archives'
),
project
(
path:
':common'
,
configuration:
'archives'
),
project
(
path:
':openbis_api'
,
configuration:
'archives'
),
project
(
path:
':openbis_api'
,
configuration:
'archives'
),
...
@@ -126,22 +126,22 @@ def gwtArchiveFileName = 'gwt.tar.gz'
...
@@ -126,22 +126,22 @@ def gwtArchiveFileName = 'gwt.tar.gz'
task
compileGwt
(
dependsOn:
classes
,
type:
JavaExec
)
{
task
compileGwt
(
dependsOn:
classes
,
type:
JavaExec
)
{
ext
.
buildDir
=
gwtBuildDir
ext
.
buildDir
=
gwtBuildDir
def
extraDir
=
"${project.buildDir}/extra"
def
extraDir
=
"${project.buildDir}/extra"
// inputs.source
// inputs.source
sourceSets
.
main
.
java
.
srcDirs
sourceSets
.
main
.
java
.
srcDirs
// inputs.dir
// inputs.dir
sourceSets
.
main
.
output
.
resourcesDir
sourceSets
.
main
.
output
.
resourcesDir
outputs
.
dir
buildDir
outputs
.
dir
buildDir
doFirst
{
doFirst
{
file
(
buildDir
).
mkdirs
()
file
(
buildDir
).
mkdirs
()
}
}
main
=
'com.google.gwt.dev.Compiler'
main
=
'com.google.gwt.dev.Compiler'
classpath
{
classpath
{
[
[
sourceSets
.
main
.
java
.
srcDirs
,
sourceSets
.
main
.
java
.
srcDirs
,
project
(
":openbis"
).
sourceSets
.
main
.
java
.
srcDirs
,
project
(
":openbis"
).
sourceSets
.
main
.
java
.
srcDirs
,
project
(
":openbis"
).
sourceSets
.
main
.
output
.
resourcesDir
,
project
(
":openbis"
).
sourceSets
.
main
.
output
.
resourcesDir
,
project
(
":openbis"
).
sourceSets
.
main
.
output
.
classesDirs
,
project
(
":openbis"
).
sourceSets
.
main
.
output
.
classesDirs
,
...
@@ -151,21 +151,21 @@ task compileGwt (dependsOn: classes, type: JavaExec) {
...
@@ -151,21 +151,21 @@ task compileGwt (dependsOn: classes, type: JavaExec) {
project
(
":screening"
).
sourceSets
.
main
.
java
.
srcDirs
,
project
(
":screening"
).
sourceSets
.
main
.
java
.
srcDirs
,
project
(
":screening"
).
sourceSets
.
main
.
output
.
resourcesDir
,
project
(
":screening"
).
sourceSets
.
main
.
output
.
resourcesDir
,
configurations
.
gwt
configurations
.
gwt
]
]
}
}
args
=
args
=
[
[
gwtModuleName
,
gwtModuleName
,
'-war'
,
buildDir
,
'-war'
,
buildDir
,
'-logLevel'
,
'INFO'
,
'-logLevel'
,
'INFO'
,
'-localWorkers'
,
'2'
,
'-localWorkers'
,
'2'
,
'-compileReport'
,
'-compileReport'
,
'-extra'
,
extraDir
,
'-extra'
,
extraDir
,
]
]
maxHeapSize
=
'1024m'
maxHeapSize
=
'1024m'
systemProperty
"javax.xml.parsers.SAXParserFactory"
,
"org.apache.xerces.jaxp.SAXParserFactoryImpl"
systemProperty
"javax.xml.parsers.SAXParserFactory"
,
"org.apache.xerces.jaxp.SAXParserFactoryImpl"
}
}
...
@@ -212,7 +212,7 @@ ext.zipEntries = files(
...
@@ -212,7 +212,7 @@ ext.zipEntries = files(
project
(
':openbis'
).
file
(
'dist/server/export-master-data.sh'
),
project
(
':openbis'
).
file
(
'dist/server/export-master-data.sh'
),
project
(
':openbis'
).
file
(
'dist/server/install.sh'
),
project
(
':openbis'
).
file
(
'dist/server/install.sh'
),
project
(
':openbis'
).
file
(
'dist/server/openBIS.keystore'
),
project
(
':openbis'
).
file
(
'dist/server/openBIS.keystore'
),
project
(
':openbis'
).
file
(
'dist/server/openbis.conf'
),
project
(
':openbis'
).
file
(
'dist/server/openbis.conf'
),
project
(
':openbis'
).
file
(
'dist/server/passwd.sh'
),
project
(
':openbis'
).
file
(
'dist/server/passwd.sh'
),
project
(
':openbis'
).
file
(
'dist/server/register-master-data.sh'
),
project
(
':openbis'
).
file
(
'dist/server/register-master-data.sh'
),
project
(
':openbis'
).
file
(
'dist/server/setup-env'
),
project
(
':openbis'
).
file
(
'dist/server/setup-env'
),
...
@@ -223,7 +223,7 @@ ext.zipEntries = files(
...
@@ -223,7 +223,7 @@ ext.zipEntries = files(
project
(
':openbis'
).
file
(
'dist/server/watchdog.sh'
),
project
(
':openbis'
).
file
(
'dist/server/watchdog.sh'
),
project
(
':openbis'
).
fileTree
(
dir:
'dist/server'
).
matching
{
project
(
':openbis'
).
fileTree
(
dir:
'dist/server'
).
matching
{
include
'base/**'
include
'base/**'
},
},
file
(
'dist/server/service.properties'
),
file
(
'dist/server/service.properties'
),
file
(
'dist/server/web-client.properties'
)
file
(
'dist/server/web-client.properties'
)
)
)
...
@@ -236,7 +236,7 @@ task checkFilesExist {
...
@@ -236,7 +236,7 @@ task checkFilesExist {
}
}
zipEntries
.
each
{
zipEntries
.
each
{
x
->
assert
x
.
exists
()
x
->
assert
x
.
exists
()
}
}
}
}
}
}
...
@@ -247,7 +247,7 @@ war.dependsOn checkFilesExist
...
@@ -247,7 +247,7 @@ war.dependsOn checkFilesExist
war
.
dependsOn
signWebStartJars
war
.
dependsOn
signWebStartJars
war
{
war
{
rootSpec
.
eachFile
{
file
->
rootSpec
.
eachFile
{
file
->
if
(
file
.
name
.
startsWith
(
'cisd-cifex'
)
if
(
file
.
name
.
startsWith
(
'cisd-cifex'
)
||
file
.
name
.
startsWith
(
'datastore_server'
)
||
file
.
name
.
startsWith
(
'datastore_server'
)
||
file
.
name
.
startsWith
(
'bioformats'
)
||
file
.
name
.
startsWith
(
'bioformats'
)
||
file
.
name
.
startsWith
(
'cisd-image-readers'
)
||
file
.
name
.
startsWith
(
'cisd-image-readers'
)
...
@@ -266,34 +266,34 @@ war {
...
@@ -266,34 +266,34 @@ war {
file
(
'resource/server/jetty-web.xml'
),
file
(
'resource/server/jetty-web.xml'
),
project
(
':common'
).
file
(
'resource/server/web-common.xml'
)
project
(
':common'
).
file
(
'resource/server/web-common.xml'
)
}
}
from
(
classpathEntries
)
{
from
(
classpathEntries
)
{
into
(
"WEB-INF/classes"
)
into
(
"WEB-INF/classes"
)
}
}
from
(
'dist/server'
){
from
(
'dist/server'
){
into
(
"WEB-INF/classes"
)
into
(
"WEB-INF/classes"
)
include
"etc/log.xml"
include
"etc/log.xml"
}
}
from
(
'targets/dist'
){
from
(
'targets/dist'
){
into
(
"WEB-INF/classes"
)
into
(
"WEB-INF/classes"
)
include
'BUILD*INFO'
include
'BUILD*INFO'
rename
'BUILD.*INFO'
,
'BUILD-openbis.INFO'
rename
'BUILD.*INFO'
,
'BUILD-openbis.INFO'
}
}
from
(
'../screening/source'
){
from
(
'../screening/source'
){
into
(
"WEB-INF/classes"
)
into
(
"WEB-INF/classes"
)
include
"sql/**/*.sql"
include
"sql/**/*.sql"
exclude
"sql/imaging/postgresql/_ERD"
exclude
"sql/imaging/postgresql/_ERD"
}
}
from
(
'../openbis/source'
){
from
(
'../openbis/source'
){
into
(
"WEB-INF/classes"
)
into
(
"WEB-INF/classes"
)
include
"sql/**/*.sql"
include
"sql/**/*.sql"
exclude
"sql/generic/_ERD"
exclude
"sql/generic/_ERD"
duplicatesStrategy
'exclude'
duplicatesStrategy
'exclude'
}
}
}
}
def
downloadCorePlugin
(
url
,
pluginname
)
{
def
downloadCorePlugin
(
url
,
pluginname
)
{
...
@@ -310,7 +310,7 @@ import org.paleozogt.gradle.zip.SymZip;
...
@@ -310,7 +310,7 @@ import org.paleozogt.gradle.zip.SymZip;
task
zipCorePlugins
(
type:
SymZip
)
{
task
zipCorePlugins
(
type:
SymZip
)
{
includeEmptyDirs
=
false
includeEmptyDirs
=
false
archiveName
'core-plugins.zip'
archiveName
'core-plugins.zip'
downloadCorePlugin
(
'https://github.com/aarpon/obit_flow_core_technology/archive/release/20.x.zip'
,
'flow'
)
downloadCorePlugin
(
'https://github.com/aarpon/obit_flow_core_technology/archive/release/20.x.zip'
,
'flow'
)
downloadCorePlugin
(
'https://github.com/aarpon/obit_microscopy_core_technology/archive/release/20.x.zip'
,
'microscopy'
)
downloadCorePlugin
(
'https://github.com/aarpon/obit_microscopy_core_technology/archive/release/20.x.zip'
,
'microscopy'
)
downloadCorePlugin
(
'https://github.com/aarpon/obit_shared_core_technology/archive/release/20.x.zip'
,
'shared'
)
downloadCorePlugin
(
'https://github.com/aarpon/obit_shared_core_technology/archive/release/20.x.zip'
,
'shared'
)
...
@@ -348,7 +348,7 @@ task checksums {
...
@@ -348,7 +348,7 @@ task checksums {
destFile
.
delete
()
destFile
.
delete
()
}
}
destFile
.
createNewFile
()
destFile
.
createNewFile
()
def
configFiles
=
classpathEntries
.
filter
({
file
->
file
.
name
.
endsWith
(
'xml'
)
||
file
.
name
.
endsWith
(
'.conf'
)
||
file
.
name
.
endsWith
(
'.properties'
)})
def
configFiles
=
classpathEntries
.
filter
({
file
->
file
.
name
.
endsWith
(
'xml'
)
||
file
.
name
.
endsWith
(
'.conf'
)
||
file
.
name
.
endsWith
(
'.properties'
)})
configFiles
.
each
{
file
->
configFiles
.
each
{
file
->
destFile
.
text
+=
generateMD5
(
file
)+
" webapps/openbis/WEB-INF/classes/"
+
file
.
name
+
"\n"
destFile
.
text
+=
generateMD5
(
file
)+
" webapps/openbis/WEB-INF/classes/"
+
file
.
name
+
"\n"
...
@@ -357,7 +357,7 @@ task checksums {
...
@@ -357,7 +357,7 @@ task checksums {
configFiles
=
war
.
getSource
().
filter
({
file
->
file
.
name
.
endsWith
(
'xml'
)
||
file
.
name
.
endsWith
(
'.conf'
)
||
file
.
name
.
endsWith
(
'.properties'
)}).
minus
(
classpathEntries
)
configFiles
=
war
.
getSource
().
filter
({
file
->
file
.
name
.
endsWith
(
'xml'
)
||
file
.
name
.
endsWith
(
'.conf'
)
||
file
.
name
.
endsWith
(
'.properties'
)}).
minus
(
classpathEntries
)
configFiles
.
each
{
file
->
configFiles
.
each
{
file
->
destFile
.
text
+=
generateMD5
(
file
)+
" webapps/openbis/WEB-INF/"
+
file
.
name
+
"\n"
destFile
.
text
+=
generateMD5
(
file
)+
" webapps/openbis/WEB-INF/"
+
file
.
name
+
"\n"
}
}
}
}
}
}
checksums
.
dependsOn
war
checksums
.
dependsOn
war
...
@@ -375,11 +375,11 @@ task zip(type: Zip, dependsOn: createJettyVersionFile) {
...
@@ -375,11 +375,11 @@ task zip(type: Zip, dependsOn: createJettyVersionFile) {
from
war
from
war
from
zipEntries
from
zipEntries
from
checksums
from
checksums
from
configurations
.
zipping
from
configurations
.
zipping
from
zipCorePlugins
.
archivePath
from
zipCorePlugins
.
archivePath
from
zipAdminConsole
.
archivePath
from
zipAdminConsole
.
archivePath
rename
'jetty-distribution(.*).zip'
,
'jetty.zip'
rename
'jetty-distribution(.*).zip'
,
'jetty.zip'
rename
'openBIS(.*).war'
,
'openBIS.war'
rename
'openBIS(.*).war'
,
'openBIS.war'
}
}
zip
.
dependsOn
war
zip
.
dependsOn
war
zip
.
dependsOn
zipCorePlugins
zip
.
dependsOn
zipCorePlugins
...
@@ -389,7 +389,7 @@ zip.dependsOn checksums
...
@@ -389,7 +389,7 @@ zip.dependsOn checksums
task
zipDss
(
type:
Zip
,
dependsOn:
signWebStartJars
)
{
task
zipDss
(
type:
Zip
,
dependsOn:
signWebStartJars
)
{
baseName
'datastore_server-standard-technologies'
baseName
'datastore_server-standard-technologies'
includeEmptyDirs
true
includeEmptyDirs
true
from
(
configurations
.
datastore_server
)
{
from
(
configurations
.
datastore_server
)
{
into
'datastore_server/lib'
into
'datastore_server/lib'
exclude
'**/antlr*.jar'
exclude
'**/antlr*.jar'
...
@@ -405,13 +405,13 @@ task zipDss(type: Zip, dependsOn: signWebStartJars) {
...
@@ -405,13 +405,13 @@ task zipDss(type: Zip, dependsOn: signWebStartJars) {
rename
'common-.*jar'
,
'common.jar'
rename
'common-.*jar'
,
'common.jar'
rename
'commonbase-.*jar'
,
'commonbase.jar'
rename
'commonbase-.*jar'
,
'commonbase.jar'
}
}
from
(
signedJarsFolder
)
{
from
(
signedJarsFolder
)
{
into
'datastore_server/lib/dss_upload_gui'
into
'datastore_server/lib/dss_upload_gui'
exclude
openbisClientJarName
exclude
openbisClientJarName
exclude
dssCliClientJarName
exclude
dssCliClientJarName
}
}
from
(
project
(
':datastore_server'
).
fileTree
(
dir:
'dist'
,
includes:
[
'**/*'
],
excludes:
[
'dss_client.sh'
,
'etc/**'
]))
{
from
(
project
(
':datastore_server'
).
fileTree
(
dir:
'dist'
,
includes:
[
'**/*'
],
excludes:
[
'dss_client.sh'
,
'etc/**'
]))
{
into
'datastore_server'
;
into
'datastore_server'
;
}
}
...
@@ -419,15 +419,15 @@ task zipDss(type: Zip, dependsOn: signWebStartJars) {
...
@@ -419,15 +419,15 @@ task zipDss(type: Zip, dependsOn: signWebStartJars) {
from
(
project
(
':datastore_server'
).
files
(
'dist/etc/datastore_server.conf'
,
'dist/etc/openBIS.keystore'
))
{
from
(
project
(
':datastore_server'
).
files
(
'dist/etc/datastore_server.conf'
,
'dist/etc/openBIS.keystore'
))
{
into
'datastore_server/etc'
;
into
'datastore_server/etc'
;
}
}
from
(
fileTree
(
dir:
'dist'
,
includes:
[
'etc/service.properties'
,
'etc/log.xml'
]))
{
from
(
fileTree
(
dir:
'dist'
,
includes:
[
'etc/service.properties'
,
'etc/log.xml'
]))
{
into
'datastore_server'
into
'datastore_server'
}
}
from
(
project
(
':screening'
).
file
(
'dist/etc/tabular-data-graph.properties'
))
{
from
(
project
(
':screening'
).
file
(
'dist/etc/tabular-data-graph.properties'
))
{
into
'datastore_server/etc'
;
into
'datastore_server/etc'
;
}
}
}
}
task
zipBdlServer
(
type:
Zip
,
dependsOn:
project
(
':big_data_link_server'
).
tasks
.
distZip
)
{
task
zipBdlServer
(
type:
Zip
,
dependsOn:
project
(
':big_data_link_server'
).
tasks
.
distZip
)
{
...
@@ -454,10 +454,10 @@ task clientsAndApis(type: Zip, dependsOn: [dssClientZip, queryApiZip, apiV3Zip,
...
@@ -454,10 +454,10 @@ task clientsAndApis(type: Zip, dependsOn: [dssClientZip, queryApiZip, apiV3Zip,
from
pybisZip
.
archivePath
from
pybisZip
.
archivePath
from
obisZip
.
archivePath
from
obisZip
.
archivePath
from
(
'dist/client/readme.txt'
)
from
(
'dist/client/readme.txt'
)
rename
{
filename
->
rename
{
filename
->
if
(
filename
.
startsWith
(
'pybis-'
))
{
if
(
filename
.
startsWith
(
'pybis-'
))
{
def
contentOfSetUpFile
=
zipTree
(
pybisZip
.
archivePath
).
getFiles
().
findAll
{
it
.
path
.
endsWith
(
'src/python/setup.py'
)
}.
iterator
().
next
().
text
def
contentOfSetUpFile
=
zipTree
(
pybisZip
.
archivePath
).
getFiles
().
findAll
{
it
.
path
.
endsWith
(
'src/python/setup.py'
)
}.
iterator
().
next
().
text
def
pybisVersion
=
(
contentOfSetUpFile
=~
/version.*=.*
'
(.*)
'
/
)[
0
][
1
]
def
pybisVersion
=
(
contentOfSetUpFile
=~
/version.*=.*
"
(.*)
"
/
)[
0
][
1
]
'pybis-'
+
pybisVersion
+
'.zip'
'pybis-'
+
pybisVersion
+
'.zip'
}
else
{
}
else
{
filename
filename
...
@@ -482,7 +482,7 @@ task generateJavadoc(type: Javadoc) {
...
@@ -482,7 +482,7 @@ task generateJavadoc(type: Javadoc) {
include
"**/ch/ethz/sis/openbis/generic/dssapi/**/*.java"
include
"**/ch/ethz/sis/openbis/generic/dssapi/**/*.java"
include
"**/ch/systemsx/cisd/**/api/**/*.java"
include
"**/ch/systemsx/cisd/**/api/**/*.java"
include
"**/ch/systemsx/cisd/common/annotation/*.java"
include
"**/ch/systemsx/cisd/common/annotation/*.java"
include
"**/ch/systemsx/cisd/base/**/*.java"
include
"**/ch/systemsx/cisd/base/**/*.java"
include
"**/OpenBISScreeningML.java"
include
"**/OpenBISScreeningML.java"
include
"**/ch/systemsx/cisd/**/etlserver/TopLevelDataSetRegistratorGlobalState.java"
include
"**/ch/systemsx/cisd/**/etlserver/TopLevelDataSetRegistratorGlobalState.java"
include
"**/ch/systemsx/cisd/**/etlserver/registrator/*.java"
include
"**/ch/systemsx/cisd/**/etlserver/registrator/*.java"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment