Skip to content

Quick Start

HansvdLaan edited this page Mar 28, 2018 · 34 revisions

This wiki aims to provide an overview of all features and how to use them. However, if you are just trying out this framework, or you need to put together a formal model of your program quickly, or you simply don't want to read through all the details first, this section gives you the bare necessities to put together a simple learning experiment very quickly with maven:

  • Clone the HermieLab repository

  • Install HermieLab via Maven

  • Add the following dependencies to your pom:
      <dependency>
          <groupId>hansvdlaan.hermielab</groupId>
          <artifactId>annotations</artifactId>
          <version>0.1-SNAPSHOT</version>
      </dependency>
    
      <dependency>
          <groupId>hansvdlaan.hermielab</groupId>
          <artifactId>processor</artifactId>
          <version>0.1-SNAPSHOT</version>
      </dependency>
    
  • Add hermielab.general.AnnotationsProcessor to your annotationsProcessors in the maven build settings
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.6.1</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                    <encoding>UTF-8</encoding>
                    <showWarnings>true</showWarnings>
                    <annotationProcessors>
                        <!--<annotationProcessor>general.AnnotationsProcessor</annotationProcessor>-->
                        <annotationProcessor>basic.BasicLearningSetupProcessor</annotationProcessor>
                    </annotationProcessors>
                </configuration>
    
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <version>3.0.2</version>
                <configuration>
                    <encoding>UTF-8</encoding>
                </configuration>
            </plugin>
        </plugins>
    </build>```
    
    
Clone this wiki locally