UI based on vaadin
Building project
This project is build with maven (you need to have maven installed to build it).
To build just execute
this will generate a war file in dc2f-vaadin/target/ that can be deployed to your tomcat.
Setup Development Environment
This project was developed with Eclipse, therefore this is the prefered development platform.
Things you need on top of Eclipse Luna:
- m2e-wtp - Maven Integration for Eclipse WTP)
- lombok - install it from their project page
- vaadin - Vaadin Plugin for Eclipse
Please set your workspace encoding to UTF-8 if you are on windows.
With "Import" > "Existing Maven Projects" import the following projects from the checked out project
- dc2f
- dc2f-dstore
- dc2f-vaadin
- dc2f-api
Tomcat 8 Target Runtime
If you don't have an existing tomcat 8 target runtime please add it:
- In Eclipse open Window > Preferences
- Select Server > Runtime Environments
- Click add
- If you don't see tomcat as one of your options follow this guide to add support for the tomcat version 8
- Select tomcat 8
- In the next dialog point it to the correct installation directory or install a new tomcat 8
- Finish adding the target runtime by closing the dialogs with "OK"
Tomcat 8 Server
- Open the server view with Window > Show View > Other ...
- Select Server > Server
- Create a new Tomcat 8 server
- Rightclick into server view
- New > Server
- Select Tomcat v8.0 Server
- Click Next
- Select dc2f-vaadin(DC2F) and click "Add >"
- Click fFinish
- Rightclick into server view
- Now you can rightlick the server and start it
DC2F now should be available at localhost:8080