简体   繁体   中英

Add Tomcat support to existing Netbeans Scala project

I have a Scala project and I now want Netbeans to integrate it with Tomcat. Right now I am manually copying the files into Tomcat directory (via build.xml). Is there any way where I can configure Netbeans to recognize it as a web-application and automatically deploy it on run?

You could configure it as a maven project and use the maven tomcat plugin. Netbeans can handle maven and maven can handle tomcat.

I develop in scala/lift/netbeans myself and ended up using sbt 's continuous compilation feature. That is quite handy because you can configure it to automatically redeploy if you change sources and it does that within 2 seconds or so. But its not integrated into netbeans or anything (allthough you can of course configure Netbeans to call sbt).

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