Skip to content
Ladislav Gazo edited this page Aug 29, 2015 · 1 revision

Steps to setup the acris project

Prerequisites

  • JDK 1.6+
    • currently acris-image-utils uses some internal Oracle classes so we recommend to use Oracle JDK 6 as well until we fix it, or you can comment the module in acris/acris-os/pom.xml temporarily
  • Maven [3.0.0,> (currently tested on 3.0.3)
  • Brain

Steps

  • Download sources:
  • copy (or merge acris-os profile from) settings.xml in acris project to your maven home directory (~/.m2)
    • if you already have settings.xml copy the acris-os profile and activate it
  • setup MAVEN_OPTS:
    • in case of using prepared keystore use path to acris-os-parent/acris.jceks file
    • for the environment of the operating system (the preferred way):
      • in Windows: Start -> Control panel -> System -> Environment variables, put new key MAVEN_OPTS following values -Djavax.net.ssl.trustStore=c:\path\to\keystore\acris.jceks -Djavax.net.ssl.trustStorePassword=password -Djavax.net.ssl.trustStoreType=jceks
      • in Linux: in your home directory create file .mavenrc and put htere following value MAVEN_OPTS="-Djavax.net.ssl.trustStore=/path/to/keystore/acris.jceks -Djavax.net.ssl.trustStorePassword=password -Djavax.net.ssl.trustStoreType=jceks
  • cd sesam/sesam-os-base-parent
  • mvn -DskipTests clean install
  • cd sesam
  • mvn -DskipTests clean install
  • cd corpis
  • mvn -DskipTests clean install
  • cd acris/acris-os-gwt-parent
  • mvn -DskipTests clean install
  • cd acris
  • mvn -DskipTests clean install
  • pray, a lot, for no error messages

Running from web container (tomcat)

Following step are related to acris-binding showcase project (other projects are analogical)

  • cd acris-showcase/acris-showcase-binding
  • mvn clean package
  • deploy on tomcat - copy acris-showcase-binding-1.0.0-SNAPSHOT.war from target directory to your CATALINA_HOME/webapps
  • start tomcat - CATALINA_HOME/bin/start.bat

Running from eclipse

Following step are related to acris-binding showcase project (other projects are analogical)

Clone this wiki locally