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.
歡迎選擇我的課程,讓我們一起見證您的進步~~
Is there any problem with your svn
和tomcat
是部署在同一個機器上的嗎? 是通過svn鉤子 實現(xiàn)提交代碼,自動check out到tomcat
的嗎?
你試下在tomcat的那個目錄, 執(zhí)行下check out
,看能不能從你的svn
倉庫拉下代碼吧? 如果可以的話, 再排錯你觸發(fā)check out
action tool or script