Re: Deploy from ant

2007-01-05 Thread Veit Guna
I agree with you! So, I have a plain ant project, too which let me do all things that are necessary for deployment (war, remote-deploy etc.). It's always a good idea to have a build-system that allows building and deploying without user-interaction for automated things. But that isn't a problem wi

Re: Deploy from ant

2007-01-04 Thread Carlos Pita
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 task

Re: Deploy from ant

2007-01-04 Thread Veit Guna
Hi. All I can say is, that you don't want to deploy your war file through an ant task to tomcat. Believe me. Not for development. For a small change in the webcontent you have to redeploy the whole app - very annoying. I used that half a year. Now I use the Eclipse WTP Project for development wit

Re: Deploy from ant

2007-01-04 Thread Carlos Pita
Thank you for your prompt answer, really, but please notice the original question was: how do I deploy a webapp ***from the ant deploy task*** avoiding it to copy the entire application under tomcat/webapps? I was trying to follow the development process described at http://tomcat.apache.org/tom

Re: Deploy from ant

2007-01-04 Thread Carlos Pita
Amen to that :-) So why not just use the deployment directory as the development directory? Edit your JSP, click browser's reload, done. Yes, of course I thought of that, and also of just deploying the xml context descriptor with the docBase pointing to my build directory, just in case I prefer

Re: Deploy from ant

2007-01-04 Thread Leon Rosenberg
and copy_jsps 1 second and you are done, and don't

Re: Deploy from ant

2007-01-04 Thread Hassan Schroeder
On 1/4/07, Carlos Pita <[EMAIL PROTECTED]> wrote: Copy the entire app war, explode it, deploy it (and of course recompile the requested jsp), all that just to check, say, that a typo in the view was corrected or that some cell contents are now correctly aligned? It seems overkilling for check

Re: Deploy from ant

2007-01-04 Thread Carlos Pita
Why not just drop in the new war file created from the ant war task? Tomcat will reload the app automatically. Copy the entire app war, explode it, deploy it (and of course recompile the requested jsp), all that just to check, say, that a typo in the view was corrected or that some cell contents

Re: Deploy from ant

2007-01-04 Thread Leon Rosenberg
Why not just drop in the new war file created from the ant war task? Tomcat will reload the app automatically. On a half-way fast pc it will last 10 seconds (depending on the size of the webapp of course, and the amount of work need to be done on undeploy/deploy) Leon

Deploy from ant

2007-01-04 Thread Carlos Pita
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 fir