This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Getting rid of the "edit-compile-run-cycle" for Kawa
- From: Per Bothner <per at bothner dot com>
- To: Ethan Herdrick <info at reatlas dot com>
- Cc: kawa at sourceware dot org
- Date: Mon, 12 May 2008 00:07:02 -0700
- Subject: Re: Getting rid of the "edit-compile-run-cycle" for Kawa
- References: <91f48dbf0805030521lbeebd61ndf166c25f9e73470@mail.gmail.com>
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/