# eIDAS DSS Lib

## Reference Material

Reference materials are:

* CEF Page: <https://ec.europa.eu/cefdigital/wiki/display/CEFDIGITAL/DSS+v5.8.RC1>
* Github page: <https://github.com/esig/dss>
* Create Ticket: [https://ec.europa.eu/cefdigital/tracker/projects/DSS/issues](https://ec.europa.eu/cefdigital/tracker/projects/DSS/issues/DSS-2348?filter=allopenissues)

The SDK Lib is written in Kotlin:

Kotlin is the newly created language that is inspired by Java, but it is an improved version of it with so many additional features. It is clean, relatively simple, and carries fewer formalities and rules compared to Java and other programming languages. Kotlin compiles the code to a bytecode which can be executed in the JVM. Thus, all the libraries and frameworks made in Java transfer and run in a Kotlin project.

## Install Code

```
// Min Java 16, MVN 3.6
$ java -version
$ mvn -v
// output and error and piped to file
$ sudo mvn clean install 2>&1 | tee install_Dss_Log01.txt

// There are some tests that can take a long time and cause timeout
// You need to restart the setup from where you stop last time
$ sudo mvn -rf lastModuleNameThatFail clean install

// for my issue (timeout on dss-spi test), it has solved the issue
$ sudo mvn install -rf :dss-spi
```

## Demonstrator

```
// Launch the demonstrator
// go to Download/dSSdemonstrator...where is the compiled version
// Source in on source/...GitPUblic/EBSI/DSSDemonstrator
/// go in Tomacat/Bin
$ sudo ./startup.sh

// to Stop
$ sudo ./shutdown.sh
```
