Project

General

Profile

Actions

VaadinEditorDevelopersGuide » History » Revision 14

« Previous | Revision 14/36 (diff) | Next »
Patrick Plitzner, 10/31/2016 04:47 PM


Taxonomic Editor for Vaadin Developers Guide

This page contains all information related to developing the CDM Editor based on Vaadin.
See also the VaadinNotes

Getting started

  1. Install maven 3 (if not yet done)
  2. Download the project from ssh://git@dev.e-taxonomy.eu/var/git/cdm-vaadin.git (browse via https://dev.e-taxonomy.eu/gitweb/cdm-vaadin.git)
  3. run mvn install
  4. run mvn eclipse:eclipse
  5. goto Eclipse IDE and import the project
  6. Install Eclipse Jetty Integration plugin (current version 3.9.0). Do not use the outdated plugin run-jetty-run!
  7. In {home}/.cdmlibrary folder create a file cdmlib-remote.properties (if not yet exists) with an entry to a datasource e.g. cdm.datasource=testDataSource
  8. In the same folder copy/create a datasources.xml with the according datasource (testDataSource) in it
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
  xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd">

<bean id="testDataSource"  lazy-init="true" class="com.mchange.v2.c3p0.ComboPooledDataSource">
        <property name="driverClass" value="com.mysql.jdbc.Driver"/>
        <property name="user" value="user"/>
        <property name="password" value="password"/>
        <property name="jdbcUrl" value="jdbc:mysql://localhost/testDataSource?autoReconnect=true&amp;autoReconnectForPools=true&amp;"/>
    </bean>

</beans>
  1. Goto to run configurations in eclipse, search for cdm-vaadin (Jetty Webapp) run configuration. If you cannot find a launch configuration you have to create one:
    1. Right-click on Jetty-Webapp->New
    2. Project: Select the vaadin project
    3. WebApp folder: src/main/webapp
    4. HTTP/HTTPS port: 8080
  2. Launch the jetty launcher

  3. Goto to Browser and browse to

Updated by Patrick Plitzner over 7 years ago · 14 revisions