I'm still learning Maven2 and so tried to follow the default directory
structure, etc. On Windows, executing the "package" command produces a
folder like my-web-project.webapp within the target folder. I have a
structure like this:
/my-container-project
/my-common-project
/my-business-project
/my-web-project
/src
/target
/classes
/my-web-project.webapp
/surefire-reports .......
........
somewhere else I had set up a folder which Tomcat will read upon start up,
let's call this folder F.
I'm using NetBeans and executing "Clean and Build" will refresh all the
builds, and I want to have
a one-click action to copy my-web-project.webapp to overwrite F. EVen
better is there is something
that can "watch" this my-web-project.webapp folder and does automatic synch
(one-way) with F.
I'm wondering if I could achieve this by creating a custom Maven goal in
NetBeans but I don't know
which commands. I had browsed this forum but couldn't find what I'm looking
for. I thought this should be fairly common need, unless what I want to do
is not best practice.
Thanks for any input.
Iwan
--
View this message in context:
http://www.nabble.com/Best-practice%3A-copying-deployable-WAR-folder-tp17874414p17874414.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]