i'm switching old web-application using maven rather ant. goes fine, there 1 thing i'm not sure about.
with customly written ant build file had "development deployment mode", symlink files (jsp , others) rather copying them. result in streamlined development procedure: once have deployment running, edit files in source code checkout directory, , webserver picks these changes automatically. basically, edit in editor, save file, , in few seconds changes automatically become visible through browser, without further steps.
how go implementing similar maven?
while doesn't seem possible without writing custom plugin, found war:inplace
goal in maven-war-plugin
, achieves want. downside have keep jsp files, js files, images etc. in src/main/webapp
rather have them logically separated in e.g. src/main/jsp
, src/main/js
, that's not important.
Comments
Post a Comment