infoLink contains algorithm and a thin HTTP API layer that implement the InFoLiS backend for finding hidden references to datasets in publications.
infoLink uses gradle as its build tool.
Change into your Eclipse workspace directory
cd ~/workspace
Clone the repository and get the submodules
git clone https://github.com/infolis/infoLink
git submodule init
git submodule update
Download FastJoin from http://dbgroup.cs.tsinghua.edu.cn/wangjn/projects/fastjoin/
and set the fastJoin
config option.
Change to the directory and run the eclipse
gradle task
cd infoLink
gradle eclipse
This will generate the .project
and .metadata
files Eclipse expects.
Then import the project into your Eclipse workspace:
- File -> Import -> Existing Project
- Select the folder
infoLink
- Choose not to copy it to the workspace
Make sure that src/main/java
, src/main/resources
, src/test/java
,
src/test/resources
are in your Build Path.
We recommend you install the MoreUnit Eclipse plugin to easily switch between classes and their unit tests.
gradle test
will run all the unit tests.
gradle test -DinfolisRemoteTest=true
will run integration tests with the remote server in addition to the unit tests.
To generate a WAR archive ready for deployment in a Servlet container like Tomcat or Jetty:
gradle war
To setup an ad-hoc Jetty server running the application on port 8080:
gradle appStart
starts the development backend HTTP API.
If in doubt, try different servlet containers for gretty
See docs/CODE.md for more details.