subversion-jira-plugin 實現JIRA和subversion的集成
?? subversion和jira的安裝完成后,這兩個東西沒聯系起來 ,感覺有點遺憾,于是就找了個subversion-jira-plugin 實現JIRA和subversion的集成
?? 1.在下載subversion-jira-plugin以前,得看看版本對應
這個很重要 我用的jira是3.6.2的,結果導致什么CLASS找不到
2.如果放了多久版本的atlassian-jira-subversion-plugin-0.9.4.jar之類,得只留下一個,要不會導致發現多久plugin之類的錯誤
3.按照README里面把- lib/atlassian-subversion-plugin-0.9.7.jar
- lib/javasvn-*.jar
- lib/ganymed.jar (only used if you are using ssh authentication for your subversion repository)
放到上面說的目錄,
然后 Copy into JIRA's WEB-INF/classes
- subversion-jira-plugin.properties
4.這個安裝估計都沒問題,主要是subversion-jira-plugin.properties這個文件的配置
我的subversion端口號是改過的,為2401,我就把svn.root=svn://localhost:2401/repos
但是啟動TOMCAT,會出現
2007-02-12 14:10:57,919 ERROR [plugin.ext.subversion.SubversionManagerImpl] Conn
ection to Subversion repository svn://localhost:2401/repos failed: org.tmatesoft
.svn.core.SVNException: svn: Malformed network data
org.tmatesoft.svn.core.SVNException: svn: Malformed network data
??????? at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorMana
ger.java:43)
??????? at org.tmatesoft.svn.core.internal.io.svn.SVNReader.readChar(SVNReader.j
的錯誤
得改為你現在工程的URL
svn.root=http://localhost:2401/svn/ocmsnc/truck
還有登陸SVN的帳號密碼
svn.username=admin
svn.password=admin
要不會出現 2007-02-12 14:26:55,827 ERROR [plugin.ext.subversion.SubversionManagerImpl] Conn
ection to Subversion repository http://localhost:2401/svn/ocmsnc/truck failed: o
rg.tmatesoft.svn.core.SVNAuthenticationException: svn: Authentication required f
or '<http://localhost:2401> EasySVN'
org.tmatesoft.svn.core.SVNAuthenticationException: svn: Authentication required
for '<http://localhost:2401> EasySVN'
??????? at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorMana
ger.java:41)
??????? at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties
5.這些都完成以后 ,在JIRA的管理->SYSTEM->SERVICES里面就可以看到
Subversion Revision Indexing Service
com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService
6.配置完成以后,就可以正常啟動了 ,只要在提交的SVN的時候,在MESSAGE里面提到了JIRA里面的KEY,就是項目代碼加序號的那個KEY,然后提交就好了,下面是看到的效果
7.不過提交后JIRA設置了延時,不能馬上看到,得修改
Subversion Revision Indexing Service
com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService?
Delay (mins) 值
?? 1.在下載subversion-jira-plugin以前,得看看版本對應
Version | JIRA Version(s) |
---|---|
0.9.7![]() | 3.7.x |
0.9.6![]() | 3.7.x |
0.9.5![]() | 3.7-beta2 |
0.9.4![]() | 3.6 |
0.9.3![]() | 3.6 |
0.9.2![]() | 3.6 |
0.9.1![]() | 3.5.x |
0.8.2![]() | 3.4.x |
0.7.1![]() | 3.3.x |
0.6.1![]() | 3.2.x |
這個很重要 我用的jira是3.6.2的,結果導致什么CLASS找不到
2.如果放了多久版本的atlassian-jira-subversion-plugin-0.9.4.jar之類,得只留下一個,要不會導致發現多久plugin之類的錯誤
3.按照README里面把- lib/atlassian-subversion-plugin-0.9.7.jar
- lib/javasvn-*.jar
- lib/ganymed.jar (only used if you are using ssh authentication for your subversion repository)
放到上面說的目錄,
然后 Copy into JIRA's WEB-INF/classes
- subversion-jira-plugin.properties
4.這個安裝估計都沒問題,主要是subversion-jira-plugin.properties這個文件的配置
我的subversion端口號是改過的,為2401,我就把svn.root=svn://localhost:2401/repos
但是啟動TOMCAT,會出現
2007-02-12 14:10:57,919 ERROR [plugin.ext.subversion.SubversionManagerImpl] Conn
ection to Subversion repository svn://localhost:2401/repos failed: org.tmatesoft
.svn.core.SVNException: svn: Malformed network data
org.tmatesoft.svn.core.SVNException: svn: Malformed network data
??????? at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorMana
ger.java:43)
??????? at org.tmatesoft.svn.core.internal.io.svn.SVNReader.readChar(SVNReader.j
的錯誤
得改為你現在工程的URL
svn.root=http://localhost:2401/svn/ocmsnc/truck
還有登陸SVN的帳號密碼
svn.username=admin
svn.password=admin
要不會出現 2007-02-12 14:26:55,827 ERROR [plugin.ext.subversion.SubversionManagerImpl] Conn
ection to Subversion repository http://localhost:2401/svn/ocmsnc/truck failed: o
rg.tmatesoft.svn.core.SVNAuthenticationException: svn: Authentication required f
or '<http://localhost:2401> EasySVN'
org.tmatesoft.svn.core.SVNAuthenticationException: svn: Authentication required
for '<http://localhost:2401> EasySVN'
??????? at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorMana
ger.java:41)
??????? at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties
5.這些都完成以后 ,在JIRA的管理->SYSTEM->SERVICES里面就可以看到
Subversion Revision Indexing Service
com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService
6.配置完成以后,就可以正常啟動了 ,只要在提交的SVN的時候,在MESSAGE里面提到了JIRA里面的KEY,就是項目代碼加序號的那個KEY,然后提交就好了,下面是看到的效果
所有? | ?備注? | ?改動記錄? | ?Subversion Commits? | ? | ? 排列順序: ![]() |
Repository | Revision | Date | User | Message |
My Repository | #132 | Mon Feb 12 14:51:53 CST 2007 | lzy | STUDY-1 |
Files Changed | ||||
DEL/truck/abslt/sys/PeriConfig.xml |
Repository | Revision | Date | User | Message |
My Repository | #131 | Mon Feb 12 14:37:42 CST 2007 | lzy | STUDY-1 |
Files Changed | ||||
MODIFY/truck/doc/南昌信貸開發實施計劃.mpp |
7.不過提交后JIRA設置了延時,不能馬上看到,得修改
Subversion Revision Indexing Service
com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService?
Delay (mins) 值