After the subversion and Jira were installed, the two items were not connected and felt a little regret, so they found a subversion-jira-plugin to implement the integration of Jira and subversion
1. Before downloading Subversion-jira-plugin, we have to look at the version corresponding
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 |
This is very important I used the Jira is 3.6.2, the result of what class can not find
2. If the version of the Atlassian-jira-subversion-plugin-0.9.4.jar and so on, you have to leave only one, not to lead to the discovery of how long plugin and other errors
3. Follow the Readme inside-Lib/atlassian-subversion-plugin-0.9.7.jar
-Lib/javasvn-*.jar
-Lib/ganymed.jar (only used if your are using SSH authentication for your subversion repository)
Put it in the directory above,
Then Copy into JIRA ' s web-inf/classes
-Subversion-jira-plugin.properties
4. This installation estimate is no problem, mainly subversion-jira-plugin.properties the configuration of this file
My subversion port number was changed to 2401, so I put Svn.root=svn://localhost:2401/repos
But starting Tomcat will appear
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
of errors
You need to change the URL of your current project.
Svn.root=http://localhost:2401/svn/ocmsnc/truck
and log in to SVN's account password.
Svn.username=admin
Svn.password=admin
To not appear 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. After these are completed, in the Jira management->system->services can see
Subversion Revision Indexing Service
Com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService
6. After the configuration is complete, it can start normally, as long as the SVN in the submission, in the message mentioned inside the Jira key, is the project code plus the serial number of the key, and then submitted on the good, the following is to see the effect
Workflow History
All |
Notes |
Change Record | -->
Subversion commits |
|
Arrange order: |
Repository |
Revision |
Date |
User |
Message |
My Repository |
#132 |
Mon Feb 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 14:37:42 CST 2007 |
Lzy |
STUDY-1 |
Files Changed |
MODIFY/truck/doc/Nanchang Credit Development implementation plan. MPP
|
7. However, after the submission of Jira set the delay, can not immediately see, have to modify
Subversion Revision Indexing Service
Com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService
Delay (mins)Value