2010-12-03

Hibernate not recognizing transaction config - Spring Community Forums

Hibernate not recognizing transaction config - Spring Community Forums

Spring에서 Hibernate를 사용할 때에 HibernateTemplate이 더 이상 권장되지 않는다고 해서 순수 Hibernate API만 쓰는 방식으로 변경하려 한다. Repository 에서는 Hibernate의 SessionFactory만 주입받아서 사용하는 것이다.

이 때, createQuery(), get() 등의 메소드를 사용하려 하면 active transaction이 없다는 에러를 당할 수 있는데 이것은 위 url에서 jtigger가 제시하는 것처럼, hibernate.current_session_context_class 속성값을 'thread'로 두는 것을 제거해야 한다. 왜냐하면 spring이 SessionFactory를 설정할 때에, session이 transaction과 같은 ThreadLocal에 저장되도록 세팅하는데, 강제로 속성을 위와 같이 지정하면 두개의 서로 다른 ThreadLocal이 만들어지게 되는 셈이기 때문이다.

2010-11-01

jbpm5 다운로드 스크린샷

C:\apps\jbpm5\jbpm-installer>dir
 Volume in drive C is shawnbpnr
 Volume Serial Number is 80FC-F56E

 Directory of C:\apps\jbpm5\jbpm-installer

2010-11-01  오후 02:21    <DIR>          .
2010-11-01  오후 02:21    <DIR>          ..
2010-09-28  오후 01:42                64 .gitignore
2010-11-01  오후 02:21    <DIR>          auth
2010-10-02  오전 07:35             1,517 build.properties
2010-10-07  오후 12:01            25,877 build.xml
2010-11-01  오후 02:21    <DIR>          conf
2010-11-01  오후 02:21    <DIR>          db
2010-10-07  오후 12:27                65 eclipse.preferences.ini
2010-10-14  오후 03:45            14,738 install.html
2010-11-01  오후 02:21    <DIR>          report
2010-09-28  오후 01:42            22,932 repository_export.xml
2010-11-01  오후 02:21    <DIR>          sample
2010-11-01  오후 02:21    <DIR>          task-service
               6 File(s)         65,193 bytes
               8 Dir(s)  55,885,078,528 bytes free

C:\apps\jbpm5\jbpm-installer>ant install.demo
Buildfile: C:\apps\jbpm5\jbpm-installer\build.xml

download.jboss.check:
     [echo] Checking JBoss AS download ...

download.jboss:
     [echo] Getting JBoss AS ...
    [mkdir] Created dir: C:\apps\jbpm5\jbpm-installer\lib
      [get] Getting: http://downloads.sourceforge.net/jboss/jboss-4.2.3.GA.zip
      [get] To: C:\apps\jbpm5\jbpm-installer\lib\jboss-4.2.3.GA.zip
      [get] http://downloads.sourceforge.net/jboss/jboss-4.2.3.GA.zip permanentl
y moved to http://downloads.sourceforge.net/project/jboss/JBoss/JBoss-4.2.3.GA/j
boss-4.2.3.GA.zip
      [get] http://downloads.sourceforge.net/project/jboss/JBoss/JBoss-4.2.3.GA/
jboss-4.2.3.GA.zip moved to http://cdnetworks-kr-1.dl.sourceforge.net/project/jb
oss/JBoss/JBoss-4.2.3.GA/jboss-4.2.3.GA.zip

install.jboss:
    [unzip] Expanding: C:\apps\jbpm5\jbpm-installer\lib\jboss-4.2.3.GA.zip into
C:\apps\jbpm5\jbpm-installer

download.drools.guvnor.check:
     [echo] Checking Drools Guvnor download ...

download.drools.guvnor:
     [echo] Getting Drools Guvnor ...
      [get] Getting: http://download.jboss.org/drools/release/5.1.1.34858.FINAL/
drools-5.1.1-guvnor.war
      [get] To: C:\apps\jbpm5\jbpm-installer\lib\drools-5.1.1-guvnor.war

install.guvnor.into.jboss:
     [copy] Copying 1 file to C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\server
\default\deploy

download.designer.check:
     [echo] Checking Designer download ...

download.designer:
     [echo] Getting Designer ...
      [get] Getting: http://anonsvn.jboss.org/repos/labs/labs/jbossrules/contrib
/designer/1.0.0.026-SNAPSHOT//designer-1.0.0.026-SNAPSHOT.war
      [get] To: C:\apps\jbpm5\jbpm-installer\lib\designer-1.0.0.026-SNAPSHOT.war


download.slf4j.check:
     [echo] Checking slf4j download ...

download.slf4j:
     [echo] Getting slf4j ...
      [get] Getting: http://repo1.maven.org/maven2/org/slf4j/slf4j-jdk14/1.5.11/
slf4j-jdk14-1.5.11.jar
      [get] To: C:\apps\jbpm5\jbpm-installer\lib\slf4j-jdk14-1.5.11.jar

install.designer.into.jboss:
    [mkdir] Created dir: C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\server\defa
ult\deploy\designer.war
    [unzip] Expanding: C:\apps\jbpm5\jbpm-installer\lib\designer-1.0.0.026-SNAPS
HOT.war into C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\server\default\deploy\d
esigner.war
   [delete] Deleting: C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\server\default
\deploy\designer.war\WEB-INF\lib\servlet-api-2.5.jar
     [copy] Copying 1 file to C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\server
\default\deploy\designer.war\WEB-INF\lib

download.h2.check:
     [echo] Checking h2 download ...

download.h2:
     [echo] Getting h2 ...
      [get] Getting: http://repository.jboss.org/maven2/com/h2database/h2/1.2.12
4/h2-1.2.124.jar
      [get] To: C:\apps\jbpm5\jbpm-installer\db\driver\h2.jar

download.birt.check:
     [echo] Checking birt reporting engine download ...

download.birt:
     [echo] Getting birt reporting engine ...
      [get] Getting: http://www.eclipse.org/downloads/download.php?file=/birt/do
wnloads/drops/R-R1-2_3_2_2-200906011507/birt-runtime-2_3_2_2.zip&url=http://down
load.eclipse.org/birt/downloads/drops/R-R1-2_3_2_2-200906011507/birt-runtime-2_3
_2_2.zip&mirror_id=1
      [get] To: C:\apps\jbpm5\jbpm-installer\lib\birt-runtime-2_3_2_2.zip
      [get] http://www.eclipse.org/downloads/download.php?file=/birt/downloads/d
rops/R-R1-2_3_2_2-200906011507/birt-runtime-2_3_2_2.zip&url=http://download.ecli
pse.org/birt/downloads/drops/R-R1-2_3_2_2-200906011507/birt-runtime-2_3_2_2.zip&
mirror_id=1 moved to http://download.eclipse.org/birt/downloads/drops/R-R1-2_3_2
_2-200906011507/birt-runtime-2_3_2_2.zip
      [get] Error getting http://www.eclipse.org/downloads/download.php?file=/bi
rt/downloads/drops/R-R1-2_3_2_2-200906011507/birt-runtime-2_3_2_2.zip&url=http:/
/download.eclipse.org/birt/downloads/drops/R-R1-2_3_2_2-200906011507/birt-runtim
e-2_3_2_2.zip&mirror_id=1 to C:\apps\jbpm5\jbpm-installer\lib\birt-runtime-2_3_2
_2.zip

BUILD FAILED
C:\apps\jbpm5\jbpm-installer\build.xml:52: java.net.SocketException: Software ca
used connection abort: recv failed
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
        at sun.net.www.MeteredStream.read(MeteredStream.java:116)
        at java.io.FilterInputStream.read(FilterInputStream.java:116)
        at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Http
URLConnection.java:2669)
        at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Http
URLConnection.java:2664)
        at org.apache.tools.ant.taskdefs.Get$GetThread.downloadFile(Get.java:747
)
        at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:588)
        at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:571)

Total time: 53 minutes 43 seconds
C:\apps\jbpm5\jbpm-installer>ant install.demo
Buildfile: C:\apps\jbpm5\jbpm-installer\build.xml

download.jboss.check:
     [echo] Checking JBoss AS download ...

download.jboss:

install.jboss:
    [unzip] Expanding: C:\apps\jbpm5\jbpm-installer\lib\jboss-4.2.3.GA.zip into
C:\apps\jbpm5\jbpm-installer

download.drools.guvnor.check:
     [echo] Checking Drools Guvnor download ...

download.drools.guvnor:

install.guvnor.into.jboss:
     [copy] Copying 1 file to C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\server
\default\deploy

download.designer.check:
     [echo] Checking Designer download ...

download.designer:

download.slf4j.check:
     [echo] Checking slf4j download ...

download.slf4j:

install.designer.into.jboss:
    [unzip] Expanding: C:\apps\jbpm5\jbpm-installer\lib\designer-1.0.0.026-SNAPS
HOT.war into C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\server\default\deploy\d
esigner.war
   [delete] Deleting: C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\server\default
\deploy\designer.war\WEB-INF\lib\servlet-api-2.5.jar

download.h2.check:
     [echo] Checking h2 download ...

download.h2:

download.birt.check:
     [echo] Checking birt reporting engine download ...

download.birt:
     [echo] Getting birt reporting engine ...
      [get] Getting: http://www.eclipse.org/downloads/download.php?file=/birt/do
wnloads/drops/R-R1-2_3_2_2-200906011507/birt-runtime-2_3_2_2.zip&url=http://down
load.eclipse.org/birt/downloads/drops/R-R1-2_3_2_2-200906011507/birt-runtime-2_3
_2_2.zip&mirror_id=1
      [get] To: C:\apps\jbpm5\jbpm-installer\lib\birt-runtime-2_3_2_2.zip
      [get] http://www.eclipse.org/downloads/download.php?file=/birt/downloads/d
rops/R-R1-2_3_2_2-200906011507/birt-runtime-2_3_2_2.zip&url=http://download.ecli
pse.org/birt/downloads/drops/R-R1-2_3_2_2-200906011507/birt-runtime-2_3_2_2.zip&
mirror_id=1 moved to http://download.eclipse.org/birt/downloads/drops/R-R1-2_3_2
_2-200906011507/birt-runtime-2_3_2_2.zip

download.jBPM.gwt-console.check:
     [echo] Checking jBPM gwt-console download ...

download.jBPM.gwt-console:
     [echo] Getting jBPM gwt-console ...
      [get] Getting: http://hudson.jboss.org/hudson/job/jBPM5/lastSuccessfulBuil
d/artifact/target/jbpm-5.0-SNAPSHOT-gwt-console.zip
      [get] To: C:\apps\jbpm5\jbpm-installer\lib\jbpm-5.0-SNAPSHOT-gwt-console.z
ip

install.jBPM-gwt-console.into.jboss:
    [mkdir] Created dir: C:\apps\jbpm5\jbpm-installer\target
    [unzip] Expanding: C:\apps\jbpm5\jbpm-installer\lib\jbpm-5.0-SNAPSHOT-gwt-co
nsole.zip into C:\apps\jbpm5\jbpm-installer\target
    [mkdir] Created dir: C:\apps\jbpm5\jbpm-installer\target\jbpm-gwt-console-se
rver-war
    [unzip] Expanding: C:\apps\jbpm5\jbpm-installer\target\jbpm-gwt-console-serv
er-5.0-SNAPSHOT.war into C:\apps\jbpm5\jbpm-installer\target\jbpm-gwt-console-se
rver-war
     [copy] Copying 1 file to C:\apps\jbpm5\jbpm-installer\target\jbpm-gwt-conso
le-server-war\WEB-INF\classes
     [copy] Copying 1 file to C:\apps\jbpm5\jbpm-installer\target\jbpm-gwt-conso
le-server-war\WEB-INF\classes\META-INF
     [copy] Copying 2 files to C:\apps\jbpm5\jbpm-installer\target\jbpm-gwt-cons
ole-server-war\WEB-INF\classes
      [zip] Building zip: C:\apps\jbpm5\jbpm-installer\target\jbpm-gwt-console-s
erver-5.0-SNAPSHOT.war
     [copy] Copying 1 file to C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\server
\default\deploy
     [copy] Copying 1 file to C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\server
\default\deploy
   [delete] Deleting directory C:\apps\jbpm5\jbpm-installer\target
     [copy] Copying 1 file to C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\server
\default\deploy
     [copy] Copying 2 files to C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\serve
r\default\lib
     [copy] Copying 1 file to C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\server
\default\conf
     [copy] Copying 1 file to C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\server
\default\conf
    [mkdir] Created dir: C:\apps\jbpm5\jbpm-installer\target
    [unzip] Expanding: C:\apps\jbpm5\jbpm-installer\lib\birt-runtime-2_3_2_2.zip
 into C:\apps\jbpm5\jbpm-installer\target
    [mkdir] Created dir: C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\server\defa
ult\data\birt
    [mkdir] Created dir: C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\server\defa
ult\data\birt\ReportEngine
     [copy] Copying 201 files to C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\ser
ver\default\data\birt\ReportEngine
   [delete] Deleting directory C:\apps\jbpm5\jbpm-installer\target
     [copy] Copying 1 file to C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\server
\default\data\birt
     [copy] Copying 1 file to C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\server
\default\data\birt
     [copy] Copying 2 files to C:\apps\jbpm5\jbpm-installer\jboss-4.2.3.GA\serve
r\default\data\birt\ReportEngine\plugins\org.eclipse.birt.report.data.oda.jdbc_2
.3.2.r232_v20090212\drivers

download.eclipse.check:
     [echo] Checking Eclipse download ...

download.eclipse:
     [echo] Getting Eclipse ...
      [get] Getting: http://download.eclipse.org/eclipse/downloads/drops/R-3.6.1
-201009090800/eclipse-SDK-3.6.1-win32.zip
      [get] To: C:\apps\jbpm5\jbpm-installer\lib\eclipse-SDK-3.6.1-win32.zip
      [get] http://download.eclipse.org/eclipse/downloads/drops/R-3.6.1-20100909
0800/eclipse-SDK-3.6.1-win32.zip moved to http://ftp.osuosl.org/pub/eclipse/ecli
pse/downloads/drops/R-3.6.1-201009090800/eclipse-SDK-3.6.1-win32.zip

download.eclipse.gef.check:
     [echo] Checking Eclipse GEF download ...

download.eclipse.gef:
     [echo] Getting Eclipse GEF ...
      [get] Getting: http://download.eclipse.org/tools/gef/downloads/drops/3.6.1
/R201009132020/GEF-SDK-3.6.1.zip
      [get] To: C:\apps\jbpm5\jbpm-installer\lib\GEF-SDK-3.6.1.zip

download.eclipse.emf.check:
     [echo] Checking Eclipse EMF download ...

download.eclipse.emf:
     [echo] Getting Eclipse EMF ...
      [get] Getting: http://download.eclipse.org/modeling/emf/emf/downloads/drop
s/2.6.x/R201009141218/emf-runtime-2.6.1.zip
      [get] To: C:\apps\jbpm5\jbpm-installer\lib\emf-runtime-2.6.1.zip

download.eclipse.emf.validation.check:
     [echo] Checking Eclipse EMF Validation download ...

download.eclipse.emf.validation:
     [echo] Getting Eclipse EMF Validation ...
      [get] Getting: http://download.eclipse.org/modeling/emf/validation/downloa
ds/drops/1.4.0/R201006151000/emf-validation-runtime-1.4.0.zip
      [get] To: C:\apps\jbpm5\jbpm-installer\lib\emf-validation-runtime-1.4.0.zi
p

download.eclipse.emf.transaction.check:
     [echo] Checking Eclipse EMF Transaction download ...

download.eclipse.emf.transaction:
     [echo] Getting Eclipse EMF Transaction ...
      [get] Getting: http://download.eclipse.org/modeling/emf/transaction/downlo
ads/drops/1.4.0/R201006151000/emf-transaction-runtime-1.4.0.zip
      [get] To: C:\apps\jbpm5\jbpm-installer\lib\emf-transaction-runtime-1.4.0.z
ip

download.eclipse.gmf.check:
     [echo] Checking Eclipse GMF download ...

download.eclipse.gmf:
     [echo] Getting Eclipse GMF ...
      [get] Getting: http://download.eclipse.org/modeling/gmp/gmf-tooling/downlo
ads/drops/2.3.1/R201009150806/gmf-sdk-2.3.1.zip
      [get] To: C:\apps\jbpm5\jbpm-installer\lib\gmf-sdk-2.3.1.zip

install.eclipse:

unzipEclipse:
    [unzip] Expanding: C:\apps\jbpm5\jbpm-installer\lib\eclipse-SDK-3.6.1-win32.
zip into C:\apps\jbpm5\jbpm-installer

untarEclipse:
    [unzip] Expanding: C:\apps\jbpm5\jbpm-installer\lib\GEF-SDK-3.6.1.zip into C
:\apps\jbpm5\jbpm-installer
    [unzip] Expanding: C:\apps\jbpm5\jbpm-installer\lib\emf-runtime-2.6.1.zip in
to C:\apps\jbpm5\jbpm-installer
    [unzip] Expanding: C:\apps\jbpm5\jbpm-installer\lib\emf-validation-runtime-1
.4.0.zip into C:\apps\jbpm5\jbpm-installer
    [unzip] Expanding: C:\apps\jbpm5\jbpm-installer\lib\emf-transaction-runtime-
1.4.0.zip into C:\apps\jbpm5\jbpm-installer
    [unzip] Expanding: C:\apps\jbpm5\jbpm-installer\lib\gmf-sdk-2.3.1.zip into C
:\apps\jbpm5\jbpm-installer

download.jBPM.eclipse.check:
     [echo] Checking jBPM Eclipse download ...

download.jBPM.eclipse:
     [echo] Getting jBPM Eclipse ...
      [get] Getting: http://community.jboss.org/servlet/JiveServlet/download/159
22-4-18524/jbpm-5.0-SNAPSHOT-eclipse-all.zip
      [get] To: C:\apps\jbpm5\jbpm-installer\lib\jbpm-5.0-SNAPSHOT-eclipse-all.z
ip

install.jBPM-eclipse.into.eclipse:
    [unzip] Expanding: C:\apps\jbpm5\jbpm-installer\lib\jbpm-5.0-SNAPSHOT-eclips
e-all.zip into C:\apps\jbpm5\jbpm-installer\eclipse

download.jBPM.bin.check:
     [echo] Checking jBPM binaries download ...

download.jBPM.bin:
     [echo] Getting jBPM binaries ...
      [get] Getting: http://hudson.jboss.org/hudson/job/jBPM5/lastSuccessfulBuil
d/artifact/target/jbpm-5.0-SNAPSHOT-bin.zip
      [get] To: C:\apps\jbpm5\jbpm-installer\lib\jbpm-5.0-SNAPSHOT-bin.zip

install.jBPM.runtime:
    [mkdir] Created dir: C:\apps\jbpm5\jbpm-installer\runtime
    [unzip] Expanding: C:\apps\jbpm5\jbpm-installer\lib\jbpm-5.0-SNAPSHOT-bin.zi
p into C:\apps\jbpm5\jbpm-installer\runtime

download.drools.eclipse.check:
     [echo] Checking Drools Eclipse download ...

download.drools.eclipse:
     [echo] Getting Drools Eclipse ...
      [get] Getting: http://download.jboss.org/drools/release/5.1.1.34858.FINAL/
drools-5.1.1-eclipse-all.zip
      [get] To: C:\apps\jbpm5\jbpm-installer\lib\drools-5.1.1-eclipse-all.zip

install.drools-eclipse.into.eclipse:
    [unzip] Expanding: C:\apps\jbpm5\jbpm-installer\lib\drools-5.1.1-eclipse-all
.zip into C:\apps\jbpm5\jbpm-installer\eclipse

install.demo:

BUILD SUCCESSFUL
Total time: 57 minutes 31 seconds
C:\apps\jbpm5\jbpm-installer>

2010-10-22

VirtualBox에서 디스크 이미지 복사하기

그냥 탐색기에서 파일복사를 하면 안된다. 복사된 파일을 저장소 관리자에서 추가하려 하면 UUID가 중복된다고 나오기 때문이다. 다음 명령어를 사용해서 디스크를 복사해야 한다.
P:\vm\VirtualBox>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" clonehd 
"Windows XP.vdi" "Windows XP - 2.vdi" --format VDI
주의할 것은 저장소관리자에서 원본 이미지를 Release하고 나서 삭제해야 한다. (삭제할 때에 OK하면 이미지를 유지할 것이냐고 물어본다. 약간 살 떨린다. ^^)

2010-10-19

mysql user 생성

참고 삼아...
GRANT ALL PRIVILEGES ON *.* TO 'username'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;

2010-10-13

Couchdb가 안죽을 때

ps -U couchdb -o pid= | sudo xargs kill -9

Windows Live Writer를 이용하여 블로깅하다

블로깅은 별로 하지 않지만 이렇게도 할 수 있군요…
올리고 나서는 다시 writer에서 수정할 수도 있고…

2010-10-05

Tomcat DataSource 설정

context.xml에
<ResourceLink global="jdbc/iregistry" name="jdbc/iregistry" type="javax.sql.DataSource"/>
server.xml의 GlobalNamingResources에
<Resource auth="Container" driverClassName="com.mysql.jdbc.Driver" 
  maxActive="100" maxIdle="30" maxWait="10000" 
  name="jdbc/dbname" password="xxxxxx" 
  type="javax.sql.DataSource" 
  url="jdbc:mysql://localhost:3306/dbname"
  username="username"/>

2010-09-02

Screen 쓰다가 Ctrl-S 누르면 멈추는 현상

Ctrl-Q 누르면 돌아온다.

Convert latin1 to UTF-8 in MySQL - Gentoo Linux Wiki

Convert latin1 to UTF-8 in MySQL - Gentoo Linux Wiki

Mediawiki 업그레이드 하다가 기존 db가 latin1이었고, 새 mysql은 utf8이라 무지 삽질했는데, 결국은 다음과 같은 문장때문이었다. 각 테이블을 utf8로 바꾼다 하더라도 다음 문장 때문에 실패하였다.

ar_title varchar(255) character set latin1 collate latin1_bin NOT NULL default
vi 에디터로 위 문장을 utf8로 바꾸어 주어야 한다. 아래와 같이...
:%s/character set latin1 collate latin1_bin/
/character set utf8 collate utf8_general_ci/g
(길어서 2줄로 썼다. 한줄로 입력 바람)

2010-05-13

subversion 사용시 파일이름 인코딩

svn: can't convert string from native encoding to 'utf-8'
이런 에러가 떴다. 커맨드라인이나 툴을 쓸 때에는 이런 현상이 없다. 이번 경우는 아래와 같이 post-commit 훅에서 특정 디렉토리로 svn up을 실행하려 했는데 발생한 것이다.
# copy html design files to under www.
svn up /var/www/public/me_design
이것은 환경설정에 export LANG=en_US.UTF-8 만 해주어도 해결된다. runsvnupdate.sh를 만들고 아래 내용을 넣는다.
export LANG=en_US.UTF-8
svn up /var/www/public/me_design
post-commit 훅에서는 이 스크립트를 실행하자.

2010-03-03

정치성향 자가진단

정치성향 자가진단이라는게 있더군요~
http://h21bbs.hani.co.kr/politicalcompass/
난 극좌인가요? ㅎ

맨 왼쪽 밑으로 가고 싶은데, 더 밑으로 내려가지 못했던 질문 몇가지가 마음 속에 걸립니다.

2010-02-18

Subversion hosting 머가 좋을까?

Subversion (SVN) Hosting Comparison Review Chart

Name Monthly Cost ($) # of Modules # of Developers Disk Quota (MB) Support SSL Issue Mgmt WebSVN Trac Extras OSS Only
Google 0InfinityInfinityInfinity NoneNoCustomSimilar NoProject MgmtYes
BerliOS Developer0 Infinity InfinityInfinityEmail YesCustomNoNo Project MgmtYes
Gna 0Infinity InfinityInfinityEmail YesCustomNo NoProject MgmtYes
OpenSVN 0InfinityInfinity InfinityEmailYes CustomNoYes NoneNo
SourceForge0 InfinityInfinityInfinity EmailYes CustomNoNo Project MgmtYes
Bounty Source 0InfinityInfinity InfinityEmailYesCustom NoNoProject MgmtYes
ProjectLocker‡ 0Infinity5 500EmailYes CustomYesNo Project MgmtNo
Unfuddle0 12200 EmailNoYes NoNoProject Mgmt No
My Version Control 013100 EmailYesNoneNo YesBlogNo
Beanstalk0 13100 EmailNoNo NoNoLots of Integration No
Slik SVN0 1210 YesYesNo NoNoNone No
CVSDude 01Infinity 2EmailNo NoneNoNo NoneYes
SVNRepository.com4 1Infinity500 EmailYesNone NoYesNone No
ProjectLocker‡ 5Infinity 55000Email YesCustomYes NoProject MgmtNo
My Version Control 5 35500Email YesNoneNoYes BlogNo
Geek ISP 5Infinity Infinity50Email NoNoneNo YesWeb HostingNo
Project Hut5 1Infinity50None YesNoYesYes NoneNo
EuroSVN 61 Infinity150None YesNoneNo NoNoneNo
AVLUX6 1Infinity50Email YesNoneYesNo NoneNo
SVNRepository.com 7Infinity Infinity2000Email YesNoneNo YesNoneNo
wush.net*7 1Infinity1000Email YesExtraYesNo WebDAVNo
DevGuard 72 Infinity200Email YesNoneYes YesNoneNo
hosted-projects.com 7 InfinityInfinity100Email YesNoneNoYes WebDAVNo
Versionshelf 712 100EmailYesNone YesNoNoneNo
Geek ISP8 InfinityInfinity100Email NoNoneNoYes Web HostingNo
Unfuddle 94 4512Email NoYesNo NoProject MgmtNo
DreamHost†‡ 10 InfinityInfinity200000Email ExtraNoneYesNo Web HostingNo
SVNRepository.com 10Infinity Infinity5000Email YesBugzillaNo YesNoneNo
Slik SVN10 5105000Yes YesYesNoYes NoneNo
WebFaction‡ 10InfinityInfinity 1000EmailYesNone NoYesWeb HostingNo
Geek ISP10 InfinityInfinity300Email NoNoneNoYes Web HostingNo
CVSDude* 101 4200Email NoNoneNo NoNoneNo
Project Hut 1010Infinity 200NoneYes NoYesYes NoneNo
ProjectLocker‡12 Infinity1510000 EmailYesCustom YesYesProject Mgmt No
EuroSVN 131Infinity1000 NoneYesNoneNo YesNoneNo
wush.net15 1Infinity5000 EmailYesExtra YesYesWebDAV No
TextDrive†‡ 15InfinityInfinity 5000EmailYes NoneNoYes Web HostingNo
Beanstalk15 1053000 EmailYesNo NoNoLots of Integration No
WebFaction‡ 15InfinityInfinity 2000EmailYesNone NoYesWeb HostingNo
hosted-projects.com 15InfinityInfinity 1000EmailYes BugzillaNoYes WebDAVNo
Geek ISP 15InfinityInfinity 700EmailNoNone NoYesWeb HostingNo
DevGuard 1550Infinity 400EmailYes NoneYesYes NoneNo
AVLUX 155Infinity 250EmailYesNone YesNoNoneNo
DreamHost†‡ 20InfinityInfinity 300000EmailExtra NoneYesNo Web HostingNo
My Version Control 20InfinityInfinity 1000EmailYesNone NoYesBlogNo
Project Hut20 50Infinity1000None YesNoYesYes NoneNo
DevGuard 20100 Infinity800Email YesNoneYes YesNoneNo
AVLUX 20InfinityInfinity 500EmailYes NoneYesNo NoneNo
CVSDude 22Infinity12 1000EmailYesBugzilla YesYesNoneNo
My Version Control 24 InfinityInfinity3000Email YesNoneNoYes BlogNo
Unfuddle 241010 2000EmailYesYes NoNoProject MgmtNo
TextDrive†‡ 25InfinityInfinity 10000EmailYes NoneNoYes Web HostingNo
Beanstalk 251520 6000EmailYesNo NoNoLots of IntegrationNo
WebFaction‡25 InfinityInfinity4000Email YesNoneNoYes Web HostingNo
Geek ISP 25InfinityInfinity 2000EmailNoNone NoYesWeb HostingNo
Versionshelf25 55500Email YesNoneYesNo NoneNo
AbnHost‡ 251Infinity 200EmailYesNone NoNoNoneNo
ProjectLocker‡30 Infinity3030000Email YesCustomYesYes Project MgmtNo
hosted-projects.com 30Infinity Infinity3000Email YesBugzillaNo YesWebDAVNo
Project Hut30 200Infinity2000None YesNoYesYes NoneNo
DevGuard 30200 Infinity1000Email YesNoneYes YesNoneNo
AVLUX30 InfinityInfinity1000Email YesNoneYesNo NoneNo
CVSDude 32Infinity Infinity5000Email YesBugzillaYes YesNoneNo
WebFaction‡35 InfinityInfinity6000Email YesNoneNoYes Web HostingNo
Versionshelf 3810 101000Email YesNoneYes NoNoneNo
DreamHost†‡ 40InfinityInfinity 400000EmailExtra NoneYesNo Web HostingNo
Project Hut40 InfinityInfinity5000 NoneYesNo YesYesNone No
Unfuddle 4920 204000Email YesYesNo NoProject MgmtNo
AbnHost‡49 1Infinity500Email YesNoneNoNo NoneNo
CollabNet 50InfinityInfinity InfinityEmailYesCustom YesNoNoNo
Beanstalk50 30 4012000EmailYes NoNoNoLots of Integration No
CVSDude 50InfinityInfinity 7000EmailYes BugzillaYesYes NoneNo
DevGuard60 500Infinity5000 EmailYesNone YesYesNone No
SourceHosting.net† 651 5100Email YesExtraYes NoNoneNo
AVLUX75 InfinityInfinity5000Email YesNoneYesNo NoneNo
Versionshelf 7750 202000Email YesNoneYes NoNoneNo
DreamHost†‡ 80InfinityInfinity 500000EmailYes NoneYesNo Web HostingNo
ProjectPipe‡99 15Infinity EmailNoCustom NoNoProject Mgmt No
Unfuddle 9950 5010000Email YesYesNo NoProject MgmtNo
Beanstalk100 6510024000Email YesNoNoNo Lots of IntegrationNo
ProjectPipe‡ 1991 20InfinityEmail YesCustomNo NoProject MgmtNo
Beanstalk200 15020048000Email YesNoNoNo Lots of IntegrationNo
wush.net 205InfinityInfinity 250000EmailYesExtra YesYesWebDAV, DedicatedNo