Basic functions commonly used by tools developed at KNoWS - IDLab.
The functions in this library are semantically described using the Function Ontology.
The easiest is to include IDLab Functions as a maven dependency:
<dependency>
<groupId>be.ugent.idlab.knows</groupId>
<artifactId>idlab-functions-java</artifactId>
<version>1.3.3</version>
</dependency>
To build a JAR:
mvn package
To install in your local maven repo:
mvn install
Some functions keep state persisted on disk.
Each such function has an argument stateDirPathStr
where one can specify the location of the state.
Instead of using the argument stateDirPathStr
, one can use the property ifState
and pass null
to stateDirPathStr
.
The java process then needs to be started as java -DifState=/path/to/your/state/directory ...