Capistrano for Java?

前端 未结 6 1771
别那么骄傲
别那么骄傲 2021-01-30 07:42

I\'m a big fan of Capistrano but I need to develop an automated deployment script for a Java-only shop. I\'ve looked at Ant and Maven and they don\'t seem to be well geared tow

6条回答
  •  清酒与你
    2021-01-30 08:29

    I don't think there is a Capistrano-like application for Java Web Applications, but that shouldn't really keep you from using it (or alternatives like Fabric) to deploy your applications. As you've already said, Ant is more a replacement for GNU Make while Maven is primary a buildout/dependency-management application.

    Since Java Web Applications are thanks to the .war container less dependent on external libraries, you can (depending on your application server) make deploying an application as easy as running a simple HTTP PUT-request.

    But if you require additional steps, Fabric has worked very well for me so far and I assume that Capistrano also offers generic shell-command, put and get operations. So I wouldn't look for too long for an alternative if what you already have already works :-)

提交回复
热议问题