tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Veit Guna <veit.g...@gmx.de>
Subject Re: Deploy from ant
Date Fri, 05 Jan 2007 17:57:42 GMT
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 with eclipse?! You can configure your WTP
project without modifying your project structure. I've migrated my
simple java project to a WTP project and it works like a charm. Now I
have the best of two worlds :).

regards,
Veit


Carlos Pita schrieb:
> 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, I will follow advice from you all and stop
> worrying about making sense of what the developer manual suggests in
> this respect. I will put my build directory under webapps, or
> alternatively a symlink to it, or I will just deploy an xml context
> descriptor pointing to my build directory anywhere in the filesystem.
> Thank you all.
> Cheers,
> Carlos
> 
> On 1/4/07, Veit Guna <veit.guna@gmx.de> wrote:
>> 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 with hot-code-replace
>> and webdeployment. Sure it isn't perfect, but changes are instantly
>> accessible in the webapp - and that's what one is looking for.
>>
>> It takes some time to figure out, how it works, but when finally
>> configured, you won't miss it anymore!
>>
>> Take a look at it:
>>
>> http://www.eclipse.org/webtools/
>>
>> Hope that helps.
>>
>> regards,
>> Veit
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message