在svn中发布多个工程
以前用svn只是在服务上发布一个工程,今天需求来了,要求部署两个,以前没有发布两个,只有现琢磨了,不过最后还是成功了,看下文:
为了方便首先切换到svn的bin目录下,我的是这个
- D:\Program Files\Subversion\bin>
依次在cmd中执行下列命令
- mkdir d:\myproject1
- svnadmin create d:\myproject1\project1
- svnserve -d -r d:\myproject1
在输入完第二条命令时,修改下D:\myproject1\project1\conf下的三个文件的内容(只显示修改过的部分)
authz
- [groups]
- # harryharry_and_sally = harry,sally
- # harryharry_sally_and_joe = harry,sally,&joe
- [/]
- * = rw
- ql = rw
passwd
- [users]
- # harry = harryssecret
- # sally = sallyssecret
- ql = ql
svnserve.conf
- [general]
- ### These options control access to the repository for unauthenticated
- ### and authenticated users. Valid values are "write", "read",
- ### and "none". The sample settings below are the defaults.
- anon-access = read
- auth-access = write
- ### The password-db option controls the location of the password
- ### database file. Unless you specify a path starting with a /,
- ### the file's location is relative to the directory containing
- ### this configuration file.
- ### If SASL is enabled (see below), this file will NOT be used.
- ### Uncomment the line below to use the default password file.
- password-db = passwd
- ### The authz-db option controls the location of the authorization
- ### rules for path-based access control. Unless you specify a path
- ### starting with a /, the file's location is relative to the the
- ### directory containing this file. If you don't specify an
- ### authz-db, no path-based access control is done.
- ### Uncomment the line below to use the default authorization file.
- authzauthz-db = authz
- ### This option specifies the authentication realm of the repository.
- ### If two repositories have the same authentication realm, they should
- ### have the same password database, and vice versa. The default realm
- ### is repository's uuid.
- # realm = My First Repository
修改完三个文件后,再执行
- svnserve -d -r d:\myproject1
用同样的方法,在myproject1中建立project2,完成后,打开myeclipse,在svn中新建刚才的两个工程svn url为
- svn://localhost/project1
- svn://localhost/project2
提示输入用户名和密码后,给每个工程添加一个项目,成功后如图
这样以来,在一个svn中就成功的创建了两个或者多个工程了。
本文转自sucre03 51CTO博客,原文链接:http://blog.51cto.com/sucre/392617,如需转载请自行联系原作者
在svn中发布多个工程相关推荐
- 正确导入svn拉取的工程
为什么要写这篇博文?主要是记录摸着石头过黄河的过程.之前在eclipse装了svn插件,拉取远程工程,在eclipse显示的工程,并不会分开显示模块工程,反而 是以总工程的姿态呈现.或许你觉得不管分模 ...
- 从SVN检出Maven工程只有父工程的解决办法
当我们从一根svn项目里checkout一个工程时发现怎么做都是只有一个父工程,但是子工程没有和他分离不容易让人编程,那该怎么办呢? 其实上一步没有做错 , (1)必须从SVN里先导入到项目里面, ( ...
- 同时在一个WebService服务中发布多个普通Java类
package service; public class MyService{ public String getGreeting(String name){ return ...
- svn服务安装和配置 以及搭配Eclips插件使用(总结)
1.获取 Subversion 服务器程序 2.获取 TortoiseSVN 客户端程序 3.建立版本库(Repository) 4.首先建立 e:\svn 空文件夹作为所有版本库的根目录.然后,进入 ...
- Eclipse使用SVN
http://www.blogjava.net/mose2006/archive/2008/01/05/173070.html Eclipse使用SVN[转] 1.下载所需软件 1.1SVN服 ...
- centos7.0搭建svn服务器
---恢复内容开始--- 在windows上搭建SVN很简单,但是效能却不高,这当然是和linux相比了.然而在linux上搭建SVN却非常繁琐,这篇文章就来一步一步教您如何在Centos上搭建SVN ...
- jenkins+svn+maven+ssh 部署配置详细记录
2019独角兽企业重金招聘Python工程师标准>>> 先简单记录一下,后面再慢慢完善. 1.环境 jdk 1.7.0_45 maven 3.1.1 jenkins 2.3.21 j ...
- Eclipse使用SVN操作说明
1.下载所需软件 1.1SVN服务端(svn-1.4.3-setup.exe) http://subversion.tigris.org/project_packages.html 1.2把SVN设置 ...
- MyEclipse6.5安装SVN插件的三种方法
2019独角兽企业重金招聘Python工程师标准>>> 一.安装方法: 方法一.如果可以上网可在线安装 1. 打开Myeclipse,在菜单栏中选择Help→Software Upd ...
最新文章
- c2c网站开店的流程图_shopee开店入驻?Shopee选品为什么这么重要
- C++ operator两种用法【转】
- mysql 通过sock来登陆
- 李宏毅深度学习——Tips for Deep Learning
- 【复杂系统迁移 .NET Core平台系列】之迁移项目工程
- git中文件的三种状态
- C++程序设计(第2版)课后习题答案--第11章
- mysql 走索引 很慢_MySQL优化:为什么SQL走索引还那么慢?
- 如何灵活使用OSS监控数据动态调整OSS服务参数
- win11网络怎么优化 Windows11优化网速的步骤教程
- Source Insight 的使用
- Mac新手比较容易犯的一些错误
- 软萌硬核科普必读《大圣陪你学AI》
- 量子密码(二)——经典的希特勒密码、紫色密码、乘数密码以及量子密码、量子纠缠初探
- PERL 连接FTP实现文件上传下载
- Docker学习之docker重启参数--restart=always的作用
- 23模式--建造者模式
- ElasticSearch 在 Spring 项目中的实践
- SuperMap 产品安全白皮书
- 华为自带计算机怎么添加桌面,如何在华为手机的桌面上设置天气和时间
热门文章
- go语言打印日期_go语言基础:流程控制(4)-多重循环跳转控制
- python和数据库_python与数据库操作
- mysql每天1点执行存储过程_一天一点MySQL复习——存储过程
- Mixed Content: The page at ‘xxx‘ was loaded over HTTPS, but requested an insecure resource ‘xxx‘.
- bmklocationmanager方法没有回调_SystemVerilog中的callback(回调)
- [Spring Boot核心功能]1. SpringApplication 启动引导类(1)
- 软考的一些心得分享, 写在信息系统项目管理师通过之后
- [设计模式-行为型]迭代器模式(Iterator)
- ant 时 --java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.getFileUtils 解决方法
- zynq无法识别sd卡_百度米尔携手推出FZ3深度学习计算卡!