Releasing with Subversion mess

On my current project we use Subversion 1.4. My MacBook Pro came with a preinstalled Subversion client 1.6.5 (use svn –version to see what clientversion your are running). I had assumed we used 1.6 so I didn’t change my client. I was aware of the troubles you can have mixing svn client and server versions.
I had no trouble synchronizing up untill now since Eclipse uses a build-in client and commandline svn st and up works without any trouble with different Subversion versions. Today I ran into some trouble while releasing with Maven 2.2.0 (preinstalled on the MBP as well). There was no actual error but when I ran mvn release it stalled on download maven-release-plugin-2.0-beta-8.pom. A friend with a Mac remembered he had the same trouble releasing before since it should be using the beta-7 release plugin for svn server version 1.4 and advised me to downgrade my Subversion client.

If you are using this as a setup/tutorial: DON’T FORGET TO COMMIT OR BACKUP YOUR DATA FIRST!

I downloaded an older version of Subversion, 1.5.4 (minor versions should be simlair of the client and server version) and installed it on my MBP. After restarting my terminal svn –version still showed I was using 1.6.5. After some research I found out about the somewhat weird setup:

  • echo $PATH showed me: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
  • cd /usr/local/bin and ls-lrta gave me a symbolic link for svn: svn -> /opt/subversion/bin/svn
  • this symlink was actually pointing to svn 1.5.4 (/opt/subversion/bin/svn –version) (the 1.6.5 was actually moved to an versioned directory in opt subversion_backup.date)
  • in /usr/bin i found that there was another svn client, that actually had version 1.6.5
  • I moved that file to svn.old (so it wouldn’t be found when calling svn), restarted my terminal and svn was now set to 1.5.4

mvn release now used the maven-release-plugin-2.0-beta-7.pom and releasing worked out just fine (well… except for a hanging artifactory problem)

Don’t forget to check out (svn co) your projects again and throw away the old versions since the .svn directories are poluted with the other svn versions stuff. Also think about changing your svn client in your development tool.

My MBP arrived!!

Last week my MBP finally arrived!! UPS probably had a 100% extra hit rate over the past few weeks since I couldn’t wait and I must say, my new toy has seen more cities over the world than I have. It came in a beautiful box and installation was peanuts.
After a few days working on the Mac I have asked myself the following question a million times “What have I been doing over the past years, messing around with Windows on Dell/ HP? Everything on the Mac works extremely naturally. I still have to get used to the control/option/command shortcut keys but after that’s all in my system I’m sure my productivity will get a great boost. Love all the glair btw, without making my Mac slow.

Here are some things I ran into, when installing and configuring.
…..

MacBook Pro

Finally going Pro ;) Just ordered and paid my new MacBook Pro with Intel Core i7, 4GB 1066MHz DDR3 SDRAM, 128GB Solid State Drive and 15-inch Hi-Res Glossy Widescreen. After working with Windows for several years and Ubuntu last year I can’t wait for this new much promising user experience. I must say developing in Eclipse with command line Maven builds on Ubuntu has worked out for me very well over the last year on my current Dell Latitude E6500, but you must be an experienced user to keep it running well. Windows I am not even going to discuss… Anyways I figured, a new start with my new company Jajava should be celebrated with some new gear!

I went through some trouble paying for my newest toy though. Recently I opened a new ING bank account. The account turned up on my online banking site after only a couple of days. After a trial transfer to the account I transferred the amount for my new Mac Book to the new account. When I tried to transfer the amount to Bibit it wouldn’t let me leaving me with the following error: Transaction refused, account blocked (Transactie geweigerd, rekening geblokkeerd). After some research it turns out that the account is created, but it won’t be opened until you send a signed contract back. That meant I had to wait another week or so before receiving my Mac. Well not in this life! Luckily I found another way to come up with the amount.

So now the sleepless nights begin till my new baby arrives…