Getting rid of the "edit-compile-run-cycle" for Kawa
Per Bothner
per@bothner.com
Mon May 12 07:07:00 GMT 2008
Ethan Herdrick wrote:
> That would be fantastic. What would need to be done to add that?
> Could it understand dependencies, i.e. recompile a class if a class it
> depends on has been recompiled? That kind of dynamic dev environment
> - combined with Kawa's impressive performance as a compiled language -
> would really be amazing.
That seems to work now, if you:
- Use the automatic servlet mapping as described here:
http://www.gnu.org/software/kawa/server/auto-servlet.html
- Use require with a source file name (normally relative)
to "import" any dependencies.
Then a source file is automatically recompiled when it or
one of its dependencies changes.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
More information about the Kawa
mailing list