开发者

Automatic release with jboss [ example some ant scripts]

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜