Netbeans: deploying Java app to remote Tomcat -


Is there an easy way to deploy a web service / Java Web app, etc. for a remote service? Currently I manually copy the .ar file.

Personally, I "deploy" Build.xml that contains a & lt; Scp & gt; Tag to transfer the tag file.

Update:

Here's an example:

  & lt; Target name = "deploy" depends = "dist" & gt; & Lt; Scp todir = "$ {user.name} @ www.myserver.com: tomcat-base / webapps /" keyfile = "$ {user.home} / .sh / myserver.key" passphrase = "blanket" trust = "true "& Gt; & Lt; Fileset dir = "dist" includes = "myapp.war" /> & Lt; / SCP & gt; & Lt; / Target & gt;  

Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -