Development environment for jodd framework

18 views
Skip to first unread message

David Marko

unread,
Sep 11, 2015, 7:08:54 AM9/11/15
to Jodders
Hi all,
can anyone help me with dev environment configuration that will do automatic reload when my code chnage in Eclipse? A tried to use gretty plugin for gradle that exposes jerryRun command and provides autorefresh but cant get it to work with joddframework. App raises strange errors when do 'gradle jettyRun' . I have experience with gretty when working with SpringMVC where its working fine.

Or do you use any other configuration that makes development live/cycle easier?


thanks!
David

Jodders

unread,
Sep 11, 2015, 12:23:58 PM9/11/15
to Jodders
I usually use JVM hot deployment, which works where your Java methods signature don't change. In other cases, i simply redeploy - fortunately, restart with Jodd is just matter of seconds, and in my environment until I go back to the browser, it is all restarted :) Of course, I do not restart when changing any resource (html, css...). These changes are applied immediately using the IDE.

Alternative is using JRebel, but again, I dont believe it will work out of box for all cases, without plugins.

Can you share your exception? I can try to set it up locally and try to recreate :)
Reply all
Reply to author
Forward
0 new messages