aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Generating deployable war from Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply locked New topic
Author

Generating deployable war from Eclipse

Salman Raut
Greenhorn

Joined: Mar 31, 2009
Posts: 15
Hi Ranchers,

I am venturing developing web applications. Eclipse is my primary IDE.

Now here is the problem:
I want to develop web applications (in Java) in Eclipse and run them from eclipse.
If I use the Tomcat server internally in Eclipse, the web application runs for sure in the IDE. But if I make the war of the application and try to deploy it on an independent Tomcat server it fails miserably. This happened to me in Netbeans. I had worked hard to make a web application that was working awesome through Netbeans. But when I made the war and deployed it in external Tomcat, it failed big time. The reason being Netbeans had added several dependencies which external Tomcat would not recognize.

One solution is develop the application in the IDE but deploy it on external Tomcat server. But during development, it is very painful to deploy manually after doing small changes.

Is there any plug-in that can be used to solve this problem?

In short this is what I want:
I want to develop and test applications in Eclipse IDE. At the same time, I want to be sure that when I make a war of the app running fine in Eclipse and deploy it on external Tomcat, it should run fine.

Any suggestions, tutorials are welcome.

Thanks for your time and consideration.

Best Regards


Best Regards
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8927
    
    9

Have a look at the Tomcat Application Developer's Guide.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14270
    
  21

Double topic. Please continue in the other topic, I'll close this one.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generating deployable war from Eclipse