git clone --recursive https://github.com/open-eid/digidoc4j.git
cd digidoc4j
ant
User stories are described here: [https://www.pivotaltracker.com/s/projects/1110130](Pivotal tracker)
To load libraries (including new and updated libraries) without performing a complete build: ant load.dependencies
javadoc you can find: [http://open-eid.github.io/digidoc4j/](JavaDoc files)
To run tests:
ant tests
When using IDEA You only need to install IvyIDEA plugin.
Steps to install IvyIDEA plugin:
- Preferences -> Plugins
- Click Browse repositories
- Search for IvyIDEA
- Click green Install Plugin button
- Repeat steps 3 and 4 to install CheckStyle-IDEA plugin
- Restart IDEA
Now You need to update Ivy dependencies:
- Right click on digidoc4j
- Choose IvyIDEA -> Resolve for 'digidoc4j' module
Finally setup CheckStyle rules like so:
- Open CheckStyle tool window
- Change rules to: RIA
- Now press run and check that CheckStyle did not find any problems
Now You should be ready to run tests within IDEA.
Note: ClearTSLCache takes long time so please be patient
TODO: Will be added soon