tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ziggy <>
Subject Re: Deploying and building a war file
Date Tue, 10 Nov 2009 07:49:23 GMT
Hi Ken,

I do use eclipse but only for development. I cant really deploy from eclipse
for several reasons. One of them being that the deployment server is a
different machine from where i do the development.


On Mon, Nov 9, 2009 at 7:12 PM, Ken Bowen <> wrote:

> If you use Eclipse (   free; runs on Wins/Mac/Linux) with
> the web plugins, it records your deploy target, and allows you to deploy
> with either a war file, or in "exploded form".  In the latter case, you can
> usually leave your web server running, make a code change, save the file,
> and it is automatically re-compiled & re-deployed to the running server.  At
> worst, you only need to hit a refresh button.  It makes life much simpler,
> and the syntax-directed editor saves me from many stupidities.
> --Ken
> On Nov 9, 2009, at 7:04 AM, Ziggy wrote:
>  Hi all,
>> I've got a query on the way web applications are deployed. I have an
>> application that has several jsp files and serlvets that are in
>> WEB-INF/classes.
>> When i deploy the application all i do is do a checkout on CVS, make the
>> changes, rebuild the war using ANT and redeploy manually. This works fine
>> but now i am having some doubts on this approach.
>> Basicaly if i even change one file i have to rebuild the war file meaning
>> i
>> have to recompile everything. I think this is unecessary. i would like to
>> be
>> able to just recompile the one file and redeploy the one file without
>> having
>> to rebuild the whole war file.
>> 1. How do you deploy your application? If you deploy as a war file, do you
>> recompile everything even if the change is to a single file or a
>> configuration file.
>> 2. Could you provide an example on the approach you use from the point a
>> source file comes out from CVS to the point it get to the production
>> environment. (An example with a single file change would be usefull)
>> 2. Do you use any tool to manage this?
>> I am thinking that if i change one file i should be able to just compile
>> that one file and move it to the WEB-INF/classes folder into the relevant
>> folder. This might work but is there a better way of doing this instead of
>> moving it manually?
>> Thanks
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message