简体   繁体   中英

Having Netbeans autodeploy war file to tomcat

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)

You can do it in 2 ways :

  1. Create a ant target that will copy and paste your war file in tomcat webapps
  2. Create and target that will configure tomcat to look for war file in your project's target so your purpose will get solved

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM