As I am migrating towards Ubuntu, I felt the need of having TortoiseSVN like SVN client here also. Out of the options I searched for, RabbitVCS was the closest towards what I was looking for. However while installing it, I faced some issues. This post consolidates them along with solutions. Some of them had to do with minimal requirements of the installation but the one bugged me the most was an issue in RabbitVCS itself. When I had to restart nautilus (nautilus -q) after RabbitVCS installation , it just didn’t work. After some search I found out the same issue at here. If you apply patch mentioned in yet another related issue, it resolves the problem. After installing, I could use similar features as of TortoiseSVN in Ubuntu too and that was quite cool.
QuickTip: Springsource Tool Suite 2.2.1 on Ubuntu 9.10 – Import doesn’t work
Today while working with latest STS on Ubuntu 9.10 I observed that it simply doesn’t work properly. While importing projects, nothing happened. Later I found out that it has to do with a bug on Eclipse 3.5 for which a workaround is available on Ubuntu and it works fine.
Set the following environment variable before you run STS.
export GDK_NATIVE_WINDOWS=1
Details of the bug are available here.
QuickTip: Postgresql DB Creation on Ubuntu
Recently I resumed working on Ubuntu. While setting up the working environment, I had to setup Postgressql followed by creating a new database and stuff like that. In between I encountered certain problems and correspondingly found solutions also. Through this blog I thought things should be at one place for a newcomer.
From initial installation point of view https://help.ubuntu.com/community/PostgreSQL is a good resource. Though instead of using pgadmin3 I like to use SQuirreL SQL Client.
I had to create a new user which could be used to create a new database. Everything worked except postgres didn’t allow new user to enter into new database. I found a solution at http://www.cyberciti.biz/faq/psql-fatal-ident-authentication-failed-for-user and it worked like a charm.
QuickTip: Running Java with Classpath in Cygwin
If you are running a Java program and your classpath is in UNIX separator style (‘/’ instead of ”), you may be in trouble as java.exe is Windows specific executable which understands Windows separator and not UNIX style separator. To circumvent this issue in your shell script you can use the following:
java -cp `cygpath -wp $CLASSPATH`
instead of
java -cp $CLASSPATH
Working with Cygterm on Windows
Quite a few of my colleagues use Ubuntu as OS for development purposes. For all these years, though I have been working on Linux and UNIX, I haven’t migrated to full-fledged Linux because of many reasons. As working with command line provides a lot of efficiency I use cygwin. However though cygwin works with DOS based “cmd”, I never liked using “cmd” in all these years just because it doesn’t look good compared to putty or similar softwares. With quite a few research I found puttycyg which is a putty extension of cygwin. For this to work, you should already have cygwin installed. After downloading it from http://code.google.com/p/puttycyg/ you need to create a shortcut on your desktop with following target:
$PATH_TO_PUTTYCYGputtycyg-20090811putty.exe -cygterm -