linux - Problems with svn synchronization of web directories in Alibaba Cloud Server (centos)?
天蓬老师
天蓬老师 2017-05-16 13:18:23
0
2
555

The svn server is set up and tomcat is also set up.
Idea: Every time svn uploads the project, it will be automatically deployed to tomcat. I can access my project through the external network, just like accessing the website (https://server IP:8080/project name).
I searched on the website and it said to check out an svn to the web directory, but when I checked out, the path did not exist: here are some operations;
Repository: /var/svn/svnrepos
web directory: /data/wwwroot/default
check out operation: svn co svn://localhost/svnrepos /data/wwwroot/default
error reporting that the path does not exist

svn: E170000: URL 'svn://localhost/svnrepos' doesn't exist

What's the problem? svn and tomcat were built based on Alibaba's manual, and there is no problem.

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(2)
淡淡烟草味

Is there any problem with your svntomcat是部署在同一个机器上的吗? 是通过svn钩子 实现提交代码,自动check out到tomcat 的吗?
你试下在tomcat的那个目录, 执行下check out,看能不能从你的svn仓库拉下代码吧? 如果可以的话, 再排错你触发check outaction tool or script

洪涛

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!