Skip to content
Snippets Groups Projects
pkupczyk's avatar
piotr.kupczyk@id.ethz.ch authored
SSDM-10292 : Internal vocabulary terms created by 'system' user should replace existing terms - fix integration tests where old master data registration was failing due to changed behaviour of CommonServer.addVocabularyTerms method (before the changes it was silently ignoring existing terms and after the change it was throwing an exception to be consistent with v3 api behaviour).
5a2c2070
History

Building openBIS

Requirements

  • JDK8 or JDK11

Step By Step:

git clone https://sissource.ethz.ch/sispub/openbis.git
cd installation/
./gradlew clean
./gradlew build -x test

Where the build is found?

./installation/targets/gradle/distributions/openBIS-installation-standard-technologies-SNAPSHOT-rXXXXXXXXXX.tar.gz

Why we disable tests to make the build?

They increase the time to obtain a build plus some tests could have additional environment requirements.

Why the core UI made using GWT is not build anymore?

It increases the time to obtain a build plus it requires JDK8, it will be removed on next release. For now it can be build following the next commands:

git clone https://sissource.ethz.ch/sispub/openbis.git
cd openbis_standard_technologies/
./gradlew clean
./gradlew buildCoreUIPackageUsingJDK8 -x test

Developing openBIS

Requirements

  • Postgres 11
  • IntelliJ IDEA CE

Step By Step:

File -> New -> Project From Existing Sources
Select the gradle folder to load the gradle model
After the model is loaded execute the tasks:

openBISDevelopementEnvironmentASPrepare
openBISDevelopementEnvironmentASStart
openBISDevelopementEnvironmentDSSStart

IntelliJ can't find package com.sun.*, but I can compile the project using the command line!

Turn off "File | Settings | Build, Execution, Deployment | Compiler | Java Compiler | Use --release option for cross-compilation".