Skip to content

1210 Development Environment

veny edited this page Dec 4, 2013 · 1 revision

Prerequisites

  • JDK 1.6 +
  • Eclipse Indigo 3.7 for Java EE

Eclipse Plugins

GWT 2.4.0 +

Checkstyle 5.5.0 +

AnyEdit 2.4.0 +

Project

cd $WORKSPACE
git clone https://github.com/veny/smevente.git
  • start Eclipse and switch to workspace
  • import project: File / Import... / General / Existing Projects
  • $WORKSPACE/smevente for main project
  • $WORKSPACE/smevente/test/unit for unit tests

Project Configuration

Classpath Variable ORIENTDB_HOME

  • in Project Properties for smevente
  • Java Build Path / Libraries / Add Variable... / Configure Variables... / New...
  • Name: ORIENTDB_HOME
  • Path: $ORIENTDB_FROM_SVN/releases/orientdb-x.y.z-SNAPSHOT

Checkstyle

  • Project Properties... / Checkstyle / Local Check Configuration / New / Project Relative Configuration : /smevente/checkstyle.xml
  • Project Properties... / Checkstyle / Main / Checkstyle active for this project

BuildNumber Ant script

  • only for project's owner (veny)
  • Project Properties... / Builders / New... / Ant Builder / Build File : $WORKSPACE/smevente/build.xml

Start GWT Development Mode

  • Run / Run Configurations...
  • create new Web Application
  • Project: smevente
  • Main Class: com.google.gwt.dev.DevMode

Database

  • create database from console
orientdb> create database remote:/smevente root root local

Clone this wiki locally