QuickStart with Eclipse (Book of Vaadin)

Hi all
I’m referencing to this site of the book:

http://vaadin.com/book/-/page/getting-started.quickstart.html

The Vaadin (6.4.4) project has been imported successfully, but the launch options weren’t available.
I had to create an own “run configuration” and chose to start the main class “DemoLauncher”.

Allthough this may work fine for the moment, but the linking to the source is not configured. So therefore I won’t be able to see them in the sampler.

Adding the path “/vaadin-6.4.4/WebContent/docs/example-source” to the “vaadin.jar” in libraries won’t affect anything.

I guess the project properties haven’t been imported properly.

missing configurations (depending on what stands in Book of Vaadin):

  • several launch configurations (Vaadin Web Mode, GWT Development Mode)
  • linking to source files in project for the sampler (I’m terribly sorry, but it seems the source could not be found.)
  • linking to local api, so we don’t need to open internet URL to view the API

These corrections would be grateful.

Or a response here to make the adjustements would also help.

Thank you

Hi,

I tried to replicate your problem and imported the Vaadin 6.4.4 as a “QuickStart” project to Eclipse (Ganymede I think, 20100218-1602), and the launch configurations work just fine. They are stored as files in the root directory of the installation package:

-rw-r--r-- 1 magi magi 10359 2010-09-13 06:48 COPYING
drwxr-xr-x 2 magi magi  4096 2010-09-13 06:48 gwt
-rw-r--r-- 1 magi magi  3235 2010-09-13 06:48 GWT Development Mode.launch
drwxr-xr-x 2 magi magi  4096 2010-09-13 06:45 META-INF
-rw-r--r-- 1 magi magi  2587 2010-09-13 06:48 readme.txt
-rw-r--r-- 1 magi magi   237 2010-09-13 06:48 start.bat
-rw-r--r-- 1 magi magi   300 2010-09-13 06:48 start.sh
-rw-r--r-- 1 magi magi  2091 2010-09-24 17:00 Vaadin Development Server.launch
drwxr-xr-x 8 magi magi  4096 2010-09-13 06:48 WebContent

They show in the Run button in Eclipse just as they should. Also linking to source code seems to work just fine in Sampler.

So, I don’t know what your problem could be. It could be that something has gone wrong with the import, as you suggested.