开发者

Automatic release with jboss [ example some ant scripts]

开发者 https://www.devze.com 2023-02-06 16:33 出处:网络
Currently I am doing the application release [app server jboss] manually by deploying the configuration files and ear. How can I automate it wit some ant script or ... ?

Currently I am doing the application release [app server jboss] manually by deploying the configuration files and ear. How can I automate it wit some ant script or ... ?

1 ) Not only copying to deploy directory I want to back up the file if it is getting replaced.

2) How ant to be use to depl开发者_运维问答oy on a remote server?

Example :-

 <target name="copy" >

      <copy file="build_ol.xml" tofile="test_des/old.xml" overwrite="true" />

 </target> 


You just need a script which will copy your application to JBOSS_HOME/server/{profile}/deploy directory. It will be automatically deployed,

0

精彩评论

暂无评论...
验证码 换一张
取 消