Hi all,
how do I deploy a webapp from the ant deploy task avoiding it to copy
the entire application under tomcat/webapps? The point is to simply
update my build directory with modified jsps to make tomcat aware of
the changes. If this build directory, which of course is not under
webapps, is
}.war
fileset file=${output}/${webapp.name}.war/
/copy
/target
and you are done.
On 1/4/07, Carlos Pita [EMAIL PROTECTED] wrote:
Hi all,
how do I deploy a webapp from the ant deploy task avoiding it to copy
the entire application under tomcat/webapps
the next time.
# Tomcat will recognize changes in JSP pages automatically (after just
building the app, which copies modified jsps to the build directory)
).
Best regards,
Carlos
On 1/4/07, Hassan Schroeder [EMAIL PROTECTED] wrote:
On 1/4/07, Carlos Pita [EMAIL PROTECTED] wrote:
Copy
/
include name=**/*.jsp/
/fileset
/copy
/target
and copy_jsps
1 second and you are done, and don't have to change your project
structure, neither your deployment.
On 1/4/07, Carlos Pita [EMAIL PROTECTED] wrote:
Why not just drop in the new war file
I'm currently using WTP just for editing xml and jsp (btw, I would
love that it supported EL autocompletion for the MVC model). OTOH I'm
a bit reluctant to adopt the entire web WTP proyect approach, I prefer
to control my vanilla java project from ant targets. Anyway, regarding
the ant deploy