Debug clientside - compile clientside code directly from project

Hi,

i am doing my first steps in clientside coding and currently setting up a well working debug environment. Therefore i followed a vaadin instruction and i was really suppressed that it is working in less than 10 minutes! :smiley:

Now i try to include my

widget-project

into the debug environment.

This means:
There is an eclipse project called

Base

. It is a vaadin project and contains
WEB_INF, VAADIN and META_INF
folders. The vaadin jar and all required addons are located in
WEB_INF/lib
. So far everything is working really fine.

But there is a second vaadin project called

MyAddon

and contains my own client side widget implementation. I can use the vaadin export wizard
“Vaadin Add-on package”
and put the created jar-file into the project
Base/WebContent/WEB_INF/lib
, compile all that stuff and run the debug. Everything is fine and works as expected.

But it would be nicer to get a smarter process in debugging my addon.

My question:
I would like to avoid the step of exporting the
Vaadin Add-on package to Base/WebContent/WEB_INF/lib
. Therefore it would be great, if the gwt compiler could use the class files from the project

MyAddon

. So i played around and added dependencies to the projects, but nothing worked.

Did anybody do some similar stuff?

Thanks,
Florian Pirchner
redVoodo.org

No ideas? Tried different approaches - nothing worked so far.

What is the default way to debugg clientside code?

Thanks,
Florian Pirchner

redVoodo.org

Hi,

The GWT compiler uses source files, so just adding dependency in eclipse is not enough. Adding sources to class path should do the trick. Still I would go 100% sure how our eclipse plugin handles that currently.

cheers,
matti

Thanks,

i will try adding the source files to the class path.

Best,
Florian Pirchner

Hi,

in my setup, which is very similar to yours, I have linked the source code directory of the addon project to the base project. This should fix the widgetset compilation issues.

Thomas

Thanks