dose-response-jni
¶
dose-response-jni
provides the libfittingdoseresponse.so
and
dose-response-fitter.jar
files which are used by
dose-response-manager
.
The original dose-response data fitting C++ source code written by
Kylie Beattie can be found
in Kylie’s repository.
Note
TODO: Test and explain that if there is no dose-response data
then it is not necessary to build/deploy dose-response-jni
,
dose-response-manager
!
Dependencies¶
Initial installation¶
Download the project source and go to this component’s root directory (i.e. here) and follow the steps below.
- [ T ] Copy sample.makefile to
makefile
Configuration¶
makefile
¶
This is the only file which should need to change.
JAVA_HOME=
Adjust this according to wherever your Java jar
, java
, javac
and
javah
binaries are located (try which javah
), e.g. /usr
.
NOTE: The binaries may not all be located in the same directory, in which case
manually adjust each $(JAVA_HOME)
occurrence.
BOOST_HOME=
Specify a value if your Boost include
directory is not in a default path for
searching, e.g. /home/me/myincludes/boost
.
NOTE: If the include
is in a default path for searching then you can remove
the -I$(BOOST_HOME)
from the CPPFLAGS
line.
JSON_HOME=
Specify a value if your libjson include
and lib
directories are not in
default paths for searching, e.g. /home/me/mylibjson
.
NOTE: If the libjson include
and lib
directories are in default paths
for searching then you can remove the references to $(JSON_HOME)
from the
file.
Deploy¶
If the make
command has completed successfully the files
dose-response-fitter.jar
and libfittingdoseresponse.so
should
be in the target
directory. Copy these two files to the lib
directory
of dose-response-manager
.
Done that! What’s next?¶
Conventionally it will be dose-response-manager.