search

Home  >  Q&A  >  body text

linux - Problems with svn synchronization of web directories in Alibaba Cloud Server (centos)?

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.

天蓬老师天蓬老师2781 days ago627

reply all(2)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-05-16 13:20:23

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

    reply
    0
  • PHP中文网

    PHP中文网2017-05-16 13:20:23

    reply
    0
  • Cancelreply