質問

I need to deploy my webapp to a non-managed Tomcat outside of NetBeans. Is there any way to do that using NetBeans? My NetBeans 7.4 came with Tomcat 7.0.41, but my Ubuntu 12.04 has got Tomcat 7.0.26 outside of NetBeans. I want deploy war to Tomcat 7.0.26. Because Tomcat 7.0.26 has a directory structure that is different from the one expected by NetBeans, I can't add Tomcat 7.0.26 to Netbeans.

How can I deploy (and hot deploy) to Tomcat unmanaged by NetBeans ?

役に立ちましたか?

解決

So how could I deploy(& hot deploy) to Tomcat unmanaged by netbeans ?

You might modify the build.xml in your Netbeans project: before deploying add an Ant target that copies your war and context.xml to your Tomcat not managed by Netbeans.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top