简体   繁体   English

Web 服务:更新 svn 提交

[英]Web service: update on svn commit

I'm developing Axis2 web service, and all source code is stored in svn repository.我正在开发 Axis2 web 服务,所有源代码都存储在 svn 存储库中。 Web service is running on external server. Web 服务正在外部服务器上运行。 Is it possible to automatically update web service every time I commit to svn?是否可以在每次提交 svn 时自动更新 web 服务? If yes, how can I do that?如果是,我该怎么做? I use Eclipse as IDE.我使用 Eclipse 作为 IDE。

In a few words: check out Continuous Integration .简而言之:查看持续集成

You could also achieve the same goal by writing a simple shell script (scheduled by crontab) that would checkout svn and build and deploy in case there are any changes.您也可以通过编写一个简单的 shell 脚本(由 crontab 计划)来实现相同的目标,该脚本将检查 svn 并构建和部署以防发生任何更改。 But there are nicer options that give you much better visibility, eg.但是有更好的选择可以给你更好的可见性,例如。 Jenkins (aka Hudson), CruiseControl. Jenkins (又名 Hudson),CruiseControl。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM