RSS구독하기:SUBSCRIBE TO RSS FEED
즐겨찾기추가:ADD FAVORITE
글쓰기:POST
관리자:ADMINISTRATOR
서버[centos][난 우분투가 더 좋은데 ㅠ] :


yum install svn;
난 1.8x 버젼으로 했다 ^^;;

adduser svn;
passwd svn;


svnadmin create --fs-type fsfs /home/svn/test_android;
chown svn.svn test_android/ -R;


자 이제 설정 파일 수정하자.
vi /home/svn/test_android/conf/authz;


[groups]
admin = comefeel
# harry_and_sally = harry,sally
# harry_sally_and_joe = harry,sally,&joe

[/]
lavi = rw
# &joe = r
# * =

[test_android:/]
@admin = rw
# * = r

자 이제 됐고....vi /home/svn/test_android/conf/passwd;

[users]
comefeel = 1234
lavi = 1234
vi /home/svn/test_android/conf/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 = none
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.
authz-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 = test_android Repository


다수정 했으면 재시작 하자 .

killall svnserve;
svnserve -d -r /home/svn;
svn checkout svn://localhost/test_android;


SVN_EDITOR=/usr/bin/vim;
export SVN_EDITOR;
디렉토리 추가하고
svn mkdir svn://localhost/test_android/trunk
svn mkdir svn://localhost/test_android/branches
svn mkdir svn://localhost/test_android/tags
만들때마다 wq! 누르고
c 로 커밋해줘라 ^^

서버는 끝 ^^;

클라이언트 : 안드로이드ADT 에서 HELP -> new install ...... -> add ->
http://subclipse.tigris.org/update_1.8.x/ 추가 하자.
그럼 체크 박스 두개 나온다 다 check 및 finish;

open perspective  ~~~ button ~ 클릭하고 ~~



svn Repository Exploring 추가한다.

그럼 왼쪽 레파지토리에 마우스를 우측 눌러서
new 하고 레파지토리 클릭후 주소 svn://도메인/test_android
아까 썼던 아이디 comefeel 과 1234를 누르면
드디어 레파지토리에 뜬다!
체크 아웃하고 디렉토리 하나씩 몽땅 잡아서 올리자!
그리고 bin 파일 같은 -_- 것들은 제외 시켜야 올바르지 않겠는가?

올라간 레파지토리에서 직접 bin 디렉토리를 delete click 후에
해당 디렉토리 checkout 클릭한다.
그리고 이제 자바분류로 가서 해당 디렉토리 우측 버튼 누르면
add to svn:ignore.. 이 뜬다.
이버튼 누르면 이제 영영 bin은 업로드 안한다 ^^.


아 이거 쓰는데도 30분 걸리네 ㅡㅡ;; 간단하게 이미지 없이 한건데도...
여튼 정보 글쓰는 모든 블로거들은 존중받아야 된다.
난 제외한다.. 난 쓰레기니깐 .

svn  으로 팀워크를 잘해보자.


2014/02/10 23:06 2014/02/10 23:06
이 글에는 트랙백을 보낼 수 없습니다
웅쓰:웅자의 상상플러스
웅자의 상상플러스
전체 (379)
게임 (5)
영화 (2)
기타 (23)
맛집 (5)
영어 (2)
대수학 (3)
형태소 (5)
Hacking (9)
Linux (112)
HTML (48)
Application_developing (48)
Web_developing (102)
Window (11)
«   2024/04   »
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        
  1. 2016/01 (1)
  2. 2015/12 (3)
  3. 2015/10 (3)
  4. 2015/03 (2)
  5. 2015/01 (4)