Archive for the ‘How to’s’ Category
Use Quartz to schedule tasks in Spring
Friday, May 7th, 2010
Quartz is a full-featured, open source job scheduling service that can be integrated with, or used along side virtually any Java EE or Java SE application.
In this simple example (notionally checking Twitter for updates) we integrate it with Spring.
(more...)
Tags: java, quartz, spring
Posted in Development, How to's | No Comments »
How to Quickly Setup Subversion Server on Linux (Ubuntu)
Saturday, January 2nd, 2010
Installation
First of all you’ll need to see if you’ve got Subversion installed. Check this article on how to query installed packages or just try executing:
% svn help
If you haven’t got Subversion installed then:
% apt-get install subversion
Users and Groups
% addgroup subversion % usermod -a -G subversion yourUser
Create Repository
% svnadmin create /path/to/repository
Configure Repository
% chgrp -R subversion /path/to/repository % chmod -R g+rws /path/to/repository % vi /path/to/repository/conf/svnserve.conf Edit/uncomment the following lines: anon-access = none auth-access = write password-db = passwd % vi /path/to/repository/conf/passwd Add the following line: yourUser = yourSecretPassword
Start Subversion Server as Daemon
svnserve -d
Troubleshooting
You will need sudo or root access (unless you want to see a lot of permission denied errors!)
If you see this error (when using Windows SVN client):
Can’t move ‘..\..\.svn\entries’ to ‘..\..\.svn\entries’: The file or directory is corrupted and unreadable.
Then try excluding the local directory from the Windows Indexer.
Tags: linux, ubuntu
Posted in Development, How to's | No Comments »
