Recent Changes - Search:

HomePage

PmWiki

edit SideBar

FAQ

Frequently Asked Questions

Q: What is sventon?
A: sventon is a pure java web application for browsing Subversion version control system repositories.


Q: What features does sventon have?
A: Read the feature list.


Q: What do I need to run sventon?
A: Java SE 6 or higher and a servlet container like Tomcat 6.0. The Java SE 6 is a requirement since sventon 2.5.0. sventon 2.1.x requires Java 1.5 or higher.


Q: What platforms are supported?
A: Any platform capable of running a servlet container with Java SE 6 should do.


Q: What configurations have been tested?
A: We test all releases on Tomcat 6.0, Java 1.6 running on WinXP and OS X. Users have reported successful deployment on servers such as Resin, Glassfish, JBoss and OC4J.


Q: How do I install and configure sventon?
A: See Installing


Q: I get an error trying to install sventon on Jetty, what could be wrong?
A: See Installation Issues


Q: I am running sventon on a private server behind a public web dispatcher or proxy but the internal URLs are pointing to the private server's IP. How do I fix that?
A: Check out http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html


Q: How do I uninstall sventon?
A: Remove the file svn.war from the webapps directory and the subdirectory svn. The configuration and the cache files will be kept in a subdirectory called sventon_config in the container's temp directory. Find it and delete it.


Q: How does the cache/indexing work?
A: The cache/index function, if configured to be active, enables features such as searching, directory flattening and log message search. The first time sventon is started all revisions will be cached aswell as the repository HEAD. This can take a couple of minutes depending on network speed and the number of entries.

Each time a cache dependant action is triggered, the cache will be updated if necessary. There's also a scheduled job that triggers regularly to ensure that the index is up-to-date. The polling interval is default set to 10 minutes, but can be customized in WEB-INF/schedulingContext.xml, look for the bean id cacheUpdateTrigger and the property repeatInterval.

A good reason for disabling the index is if the repository is really large and contains a lot of branches and tags, or if the network connection to it is just too slow.


Q: How do I upgrade sventon to a newer version?
A: Simply replace the old svn.war file. The configuration files are stored in the container's temp directory, so they will be reused automatically. Note that some upgrades require reindexing. Refer to the file upgrade.txt in the distribution for further information.


Q: Will sventon in any way jeopardize my Subversion repository?
A: No. Unless something really scary is going on, sventon will only perform read operations.


Q: Will sventon write any information to my Windows registry?
A: No.


Q: Why is not file type [XYZ] colorized when displayed in sventon?
A: sventon uses the JHighlight library to colorize files, which supports a fairly big, but limited, number of file formats. The file extension mapping is done in WEB-INF/applicationContext.xml to enable easy modification or additions.


Q: Why is the binary file type [XYZ] treated as a text file when I view it in sventon?
A: Subversion's binary detection algorithm sometimes fails for binary files. Since sventon 1.3 it is possible to override the detection by adding file extensions to the textFileExtensionPattern and the binaryFileExtensionPattern in WEB-INF/sventon-servlet.xml


Q: Is there a log file for sventon?
A: Yes, it's called sventon.log and is by default written to the container's temp directory. Logging can be customized by editing the file WEB-INF/classes/log4j.properties.


Q: Where are configuration and cache files stored?
A: The sventon configuration files and cache databases are by default stored in the servlet container's temp directory, in Tomcat this is <tomcat home>/temp. The default location can be changed by editing WEB-INF/applicationContext.xml. Find the bean with id sventonTempRootDir and replace the value ${java.io.tmpdir} with the preferred location. Make sure the servlet container has read and write access to this location.


Q: Does sventon support non-US-ASCII charsets?
A: Yes. It is hard to test all possible combinations, so please report issues if you find any. For Tomcat to work correctly with non-US-ASCII charsets, the Tomcat connector attribute URIEncoding should be set to UTF-8, or alternatively the attribute useBodyEncodingForURI should be set to true.


Q: Can I send suggestions for new functions?
A: Yes, please do! But we cannot guarantee when or if your suggestion will be implemented.


Q: Will sventon be avaliable for CVS (or any other version control system) in the future?
A: No, there are currently no such plans.


Q: What license do you use?
A: The sventon code is licensed under the new BSD license. Read the full text here. Also, when you're at it, read the license notes. Also, see What's the deal with JavaHL vs. SVNKit?

Q: What's the deal with JavaHL vs. SVNKit?
A: Starting with version 2.5.x sventon is supplied in two versions, one using SVNKit and one using JavaHL. The SVNKit version is pure Java and easier to install but comes with a a license that prohibits use in closed source projects. JavaHL requires a bit more work to install, but is licensed under Apache License, Version 2.0. Pick your poison.


Q: Why did you start this project?
A: Well, we kind of needed the functionality but we couldn't find what we were looking for, so we went ahead and started this project.


Q: Is there a publicly running version of sventon that I can try?
A: Yes! You can browse the sventon Subversion repository using sventon.
Please note that the repository and the sventon instance is hosted in two geographically different locations. This could make the sventon instance response times sluggish from time to time.

Also, have a look at the screenshots to get an idea of what a running sventon installation could look like.


Q: Can I change the layout of the RSS feed?
A: Yes. It's template based, and the default template file is called rsstemplate.html and is located in WEB-INF/classes. Edit it the way you want it. See RSS Template for substitution properties.


Q: Can I use sventon together with my favorite tool XYX?
A: Probably. See Integrating for a list of known tools with sventon support.


Q: Where can I find the change history?
A: Here!


Q: Where can I find the sventon roadmap?
A: Here!


Q: How do I enable the administrator functionality?
A: Edit the file WEB-INF/applicationContext.xml and change the property editableConfig to true and set a login password by changing the property configPassword to something other than the default password.


Q: How do I add or remove a repository in an already configured sventon instance?
A: First you will have to make sure the admin functionality is enabled. Simply browse to /repos/listconfigs, eg. http://localhost/svn/repos/listconfigs.


Q: How do I change the default diff view?
A: Edit the file WEB-INF/applicationContext.xml and change the constant defaultDiffView to inline, sidebyside or unified.


Q: How do I change the default location of the configuration and cache files?
A: Edit the file WEB-INF/applicationContext.xml, locate the text sventonTempRootDir and change the default value from ${java.io.tmpdir} to a directory of your choice. An easier way is to set the system property sventon.dir, which will also simplify a future upgrade of your sventon installation, as you won't have to re-edit the XML file. Note that the location of the log file is controlled by the settings in the file WEB-INF/classes/log4j.properties.


Q: Can I run more than one sventon instance in the same servlet container?
A: Yes, it works out of the box if you use a newer servlet container that supports getContextPath(), eg. Tomcat 6.0 or later. Otherwise you can always change the location of the config files manually.


Q: How can I use Glorbosoft XYZ to maximize team productivity?
A: Many of our customers want to know how they can maximize productivity through our patented office groupware innovations. The answer is simple: first, click on the "File" menu, scroll down to "Increase Productivity", then...

Further reading: Version Control with Subversion

Edit - History - Print - Recent Changes - Search
Page last modified on August 31, 2010, at 10:53 AM