Skip to content
This repository has been archived by the owner on Apr 4, 2020. It is now read-only.

How to Install and Run

Andrew Brown edited this page Apr 12, 2017 · 2 revisions

Requirements

  1. correct proxies (in the environment and in .gitconfig); reference your applicable proxy guidelines.
  2. Java 1.8+; download
  3. correct Maven 3+ setup; download and configure
  4. (optional) NDN as default channel implementation; configure
  5. (optional) SonarQube for code quality; configure

Install

  1. git clone this repository
  2. In the cloned directory, run mvn install; if integration tests fail, add the -DskipTests option (remember: the code is under active development)
  3. (optional) run mvn package -Pas-application to create the executable bundle under target/appassembler

Run

  • from the command line execute target/appassembler/bin/icecp
  • from the IDE, configure the IDE to run MainDaemon with -Dlog4j.configurationFile=configuration/log4j2.xml and -Djava.util.logging.config.file=configuration/logging.properties
  • for loading modules see How to Use Modules

Note: to see available command line options, add the -h or --help command line argument at the end.

Debug

  • if executing from the command line, add JAVA_OPTS=-Xdebug -agentlib:jdwp=transport=dt_socket,address=5000,server=y,suspend=y to the environment and then debug from the IDE (e.g. IntelliJ help, Eclipse help).