Development deployment: how to achive edit-and-reload with JSP pages?
- by doublep
Out project uses WebLogic as web-server and uses mostly JSP for user interface. With standard setup it is possible to copy edited JSP files into the exploded deployment directory and WebLogic will automatically pick them up, recompile and serve new content through HTTP. However, is it possible to avoid copying at all, so that I just save a file in my editor and it is immediately (well, after a couple of seconds for recompilation) visible?
The project uses Apache Ant as building tool. I would imagine what I want would be possible with symlinks (since this is for deployment only I don't care about cross-platformity), but then I don't see how it is possible to symlink lots of files at once with Ant.
So, how do I achieve save-JSP-hit-F5-in-browser functionality either
with some setting in WebLogic; or
with symlinking JSPs using Apache Ant (instead of copying them as is done now); or
something else completely?