How do you run vaadin charts demo in eclipse

Hi, having trouble installing maven dependencies and compiling widgets for charts-demo

Original post:
http://stackoverflow.com/questions/31303743/how-to-run-vaadin-charts-demo-in-eclipse

Errors for goal:install

[ERROR]
Failed to execute goal on project vaadin-charts-demo: Could not resolve dependencies for project com.vaadin.demo:vaadin-charts-demo:war:3.0-SNAPSHOT: Failed to collect dependencies at com.vaadin.addon:vaadin-charts:jar:3.0-SNAPSHOT: Failed to read artifact descriptor for com.vaadin.addon:vaadin-charts:jar:3.0-SNAPSHOT: Failure to find com.vaadin.addon:vaadin-charts-parent:pom:3.0-SNAPSHOT in https://maven.vaadin.com/vaadin-addons was cached in the local repository, resolution will not be reattempted until the update interval of vaadin-addons has elapsed or updates are forced → [Help 1]

Hi,

Looks like DevInstructions.md has been outdated for a while, thanks for noticing, I’ll create a ticket for that.

About running the demos, if you’re using only maven you need to run install in parent project, and then jetty:run in demo project.

git clone --recursive https://github.com/vaadin/charts.git cd charts/ mvn clean install -DskipTests cd demo/ mvn jetty:run Note that install might fail for some modules if you don’t do the recursive clone because submodule will be missing, but the relevant modules will be built and jetty:run should work for demo.

If you are using Eclipse and have workspace resolution importing demo, examples and addon modules should be enough to be able to use jetty:run in the demo.


Ticket created

Hope this instructions helped!