LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-02-2009, 12:06 AM   #1
devill
LQ Newbie
 
Registered: Apr 2009
Posts: 13

Rep: Reputation: 0
1.HOW TO DEPLOY A WEB APPLICATION(ex: WAR ) IN TOMCAT AND ECLIPSE USING ANT?


1.how to deploy a web application in tomcat and eclipse using ant?
 
Old 10-02-2009, 12:09 AM   #2
Guptarulz
LQ Newbie
 
Registered: Oct 2009
Posts: 16
Blog Entries: 1

Rep: Reputation: 1
In ant, there is certain commands through which you can compile the whole web application and made a war and you can also sepcify to which directory you can deploy the war. you need to go through some ant tutorial. Also, I think you should move to maven It is more powerful than ant
 
Old 10-02-2009, 01:00 AM   #3
devill
LQ Newbie
 
Registered: Apr 2009
Posts: 13

Original Poster
Rep: Reputation: 0
can you please tell me which are those commands?
which is the best tutorial available for ant?
also how to do this deployment using eclipse ?(steps)
 
Old 10-02-2009, 01:00 AM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Most freely available versions of Eclipse fully support "ant" (and JUnit, and Log4J, and just about everything else imaginable)...
... and also lets you define, package and deploy the .war file directly.

File, Export, Export as .war.

As easy as that
 
Old 10-02-2009, 01:10 AM   #5
devill
LQ Newbie
 
Registered: Apr 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Hello sir,
but i need a more detailed explanation...
servlets and jsp programs i used to deploy in tomcat...
but using ant how to deploy in tomcat and eclipse i have only very vague idea...
i would like to know it more clearly ...
sir can you tell me how to do that ,step by step....
 
Old 10-02-2009, 02:20 AM   #6
devill
LQ Newbie
 
Registered: Apr 2009
Posts: 13

Original Poster
Rep: Reputation: 0
how to deploy a WAR file in tomcat using ANT?
 
Old 10-02-2009, 02:21 AM   #7
devill
LQ Newbie
 
Registered: Apr 2009
Posts: 13

Original Poster
Rep: Reputation: 0
i created a warfile using jar -cvf filename.war...what i should do next after starting tomcat server to deploy this using ant?
 
Old 10-02-2009, 02:22 AM   #8
devill
LQ Newbie
 
Registered: Apr 2009
Posts: 13

Original Poster
Rep: Reputation: 0
what are the commandline commands to deploy a war file in tom cat usin ant?
 
Old 10-02-2009, 02:22 AM   #9
devill
LQ Newbie
 
Registered: Apr 2009
Posts: 13

Original Poster
Rep: Reputation: 0
how can i deploy war file in eclipse using ant?
 
Old 10-02-2009, 02:24 AM   #10
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
its late at night in many places and you may have to wait till tomarrow
for a response
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to deploy a web application in tomcat using ant? devill Linux - Server 4 10-01-2009 11:13 AM
How to deploy a web application in tomcat using ant? devill Programming 3 10-01-2009 02:24 AM
How to deploy a web application in tomcat using ant? devill Ubuntu 2 10-01-2009 02:18 AM
How to deploy a web application in tomcat using ant? devill Linux - Software 1 10-01-2009 02:17 AM
How to deploy a web application in tomcat using ant? devill Linux - General 1 10-01-2009 02:16 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration