Using EvaServer in your project

Hello World

Download the Hello World application. You can use the application as a starting point for your own project.

Ant or other build tools

Download EvaServer and make sure that the JARs are in your build path.

Maven 2

Add the following to the <dependencies> section of your POM file and Maven will download and install EvaServer in your local repository.

<dependency>
	<groupId>com.evaserver</groupId>
	<artifactId>rof-core</artifactId>
	<version>0.9.11</version>
</dependency>
<dependency>
	<groupId>com.evaserver</groupId>
	<artifactId>eva-server-project</artifactId>
	<version>0.9.11</version>
</dependency>

If the JARs are not in the Maven repository, you can add the EvaServer repository to your Maven settings (see http://maven.apache.org/settings.html):

<settings>
  
  <profiles>    
    <profile>
      <id>EvaServer_Release_Repository</id>
      <repositories>
        <repository>
          <id>evaserver-releases</id>
          <name>EvaServer Release Repository</name>
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
          <url>http://mvn-repo.evaserver.com/releases</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>evaserver-plugin-releases</id>
          <name>EvaServer Release Repository</name>
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
          <url>http://mvn-repo.evaserver.com/releases</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>
  
  <activeProfiles>
    <activeProfile>EvaServer_Release_Repository</activeProfile>
  </activeProfiles>
  
</settings>