This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Having Netbeans autodeploy war file to tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Having Netbeans autodeploy war file to tomcat" Watch "Having Netbeans autodeploy war file to tomcat" New topic
Author

Having Netbeans autodeploy war file to tomcat

Chris Creed
Ranch Hand

Joined: Feb 27, 2009
Posts: 67

Greetings all

Currently working on assessing a project, and wondered if there was a way to have it so the war file generated whe the project is built can be autodeployed to a specified directory to be used by tomcat. I'm using netbeans 6.9.1 on ubuntu 10, with tomcat 6, and while I figured there was a way to do this in the application, for the life of me I've been unable to find it.

Thanks in advance to anyone that can shed some light on how to do this (or if it is possible)
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

Right click on your web-project, select "Properties" and under the "Run"-category you can specify your (Tomcat-) server. After that you can hit F6 to run your webapplication.
Is it that what you were looking for?
 
Consider Paul's rocket mass heater.
 
subject: Having Netbeans autodeploy war file to tomcat
 
Similar Threads
Apache Tomcat
importing a struts library
Status 404 - The requested resource (/FMDIDASHBOARD/) is not available.
Jsp application devleopment and run
How to deploy WAR file in WebSphere Applcation Server 7