SVN ‘Add Directory Failed’-Gotcha

Failed to add directory ‘DirectoryName’: a versioned directory of the same name already exists.

Wasted a lot of time for this. Problem was that I locally deleted a folder, created it new and checked it in, but wrote the directory with another case (for example delete folder “Directoryname” and created folder “DirectoryName” with uppercase N). The case sensitive SVN had no problem adding the new folder and managing Directoryname AND DirectoryName, but when Jenkins / Hudson on our Windows build server would try to checkout both directories, it would fail with this StackTrace:

ERROR: Failed to check out http://localhost/svn/somerepo/someproject org.tmatesoft.svn.core.SVNException: svn: Failed to add directory ‘DirectoryName’: a versioned directory of the same name already exists at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:640) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:280) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:268) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:286) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.runReport(DAVRepository.java:1280) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.update(DAVRepository.java:828) at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:564) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:922) at hudson.scm.subversion.CheckoutUpdater$UpdateTaskImpl.perform(CheckoutUpdater.java:99) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:152) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:807) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:790) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:771) at hudson.FilePath.act(FilePath.java:758) at hudson.FilePath.act(FilePath.java:740) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:763) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:706) at hudson.model.AbstractProject.checkout(AbstractProject.java:1483) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:507) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:424) at hudson.model.Run.run(Run.java:1366) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145)

Just writing this up, because I found no links that correctly identified this problem.

Leave the first comment

Twitter Clients and Language Metadata

The metadata, that sits in every tweet contains no locale definition. If it did, Twitter clients (including Twitters website) could filter tweets by language, and hide me from Chinese, Spanish and other very nice languages … that I nevertheless don’t understand.

Update: As George Hahn points out in the comments, Twitter basically supports tweet languages. This means apps like Tweetbot or Osfoora could give options like “don’t show Tweets that are tagged as Chinese or Japanese”. /Update

Give tweets an explict language

Putting in the language would then of course be an additional hassle for multiple language tweeters, but effectively it would do no more harm that what is done right now to the unprotected eyes of usual people who want to try twitter but might be scared away if they get all the english retweets – while they don’t speak english. Then also applications can try to auto recognize if I tweet in german or english (which might not even be that hard) and correct me if I didn’t put in the language manually.

 

One comment so far, add another

Eclipse: Resource is out of sync with the file system

This bit me so often that I Googled it a thousand times and now I’m trying to write it down so I can memorize.

Just press F5 to Refresh. Then Eclipse loads the representation of the changed file system new. Boom, done.

Leave the first comment

Kos Island – Grecotel, Double Tree Hilton and Sensimar

This summer (2012) my girlfriend and myself flew to the greek island Kos for 14 days. We visited three ★★★★★ hotels and I want to quickly present here what we liked or didn’t like about the hotels and what you wouldn’t find on the official websites, in case you find this page via Google or plan to go there.

We spent 5 days in the Grecotel. It’s located near Kos city, the only interesting city on the island (btw. if you come there, try the milkshake in the ice shop by the big market place – best milk shake ever, made of selfmade, delicious ice). The Grecotel beach is stones, otherwise the hotel’s beach is done nicely.

[nggallery id=8]

Let’s begin with the Pro list:

  • The giant pool-landscape including two big pools connected through two swimmable lanes are very nice. Additionally there are two more big pools and one child’s pool.
  • Free internet in the lobby
  • Cat café – a small wooden hut for cats is a nice detail for cat lovers like myself
  • The mattresses in the room were very hard and very good – extremely nice for the back.
  • The food was extremely good and the service personal was very quick and very obliging.
  • Our booking went through Airtours – and they reserved a free aroma massage in the spa and a free à la carte dinner for us – which was a very nice experience.

Con list Grecotel:

  • The water in the pools is pretty salty.
  • It’s pretty family friendly – which I didn’t like for my relaxing holidays.
  • There were pretty many ants and other insects on the terrace – and sadly also about 10-20 ants, 2-3 lizards and some flies and mosquitoes on the room.
  • We didn’t book a nice view, and we also didn’t get one.
  • I didn’t like the bath a lot, no separate shower from the bath tub.
  • There was an explosion at the pool bar – accompanied by a fire and a lot of black smoke. You could argue that this is an accident that could have happened anywhere, but what was especially bad was the information politics after the incident: the personel was instructed to tell us that there wasn’t an explosion and that only some garbage caught fire – which wasn’t the case. Believe me, I was near enough the hear the explosion and I got a glimpse at the fire.

We stood in the Double Tree Hilton for 4 days.

[nggallery id=9]

The Pro list begins like this:

  • The beach is fantastic and it’s a sand beach with sun loungers. We nearly only went to the beach instead of using the pool.
  • There are many pools, but only one is used by everybody. So if you didn’t reserve a room with pool access, you only have the big pool. This big’s pool water is very good, but it’s not too big.
  • The Hilton’s rooms are very nice, bette than the other two hotels.Especially the bathroom has everything you need. We didn’t book sea view, so we didn’t get it. But the outside terrace was pretty nice also.
  • They had freshly made orange juice for breakfast.
  • One table-tennis table is ready to use for everybody.
  • The hotel is bird-friendly. There were some nests on the terrace that first worried us, but when we learned that it’s the nests of the small birds flying around everywhere

Double Tree Hilton con list:

  • The water from the tap is chlorinated
  • The food in general wasn’t too bad, but it just wasn’t as good as in the Grecotel. And very few choices for vegetarians.
  • The service staff was working pretty slow.
  • 2 hours of free WiFi only if you got a username/password at the reception – didn’t bother to do so.

In the Sensimar Michelangelo we stood for the final 5 days of our holidays.

[nggallery id=10]

The Pro list:

  • The biggest infinity-pool of Greece. Perfect pool, perfect water.
  • The sunshades at the pool left some bit of sunlight through so you could also tan in the shade.
  • The poolbar featured it’s own pool on the backside where you have small seats in the water and can be at the bar and in the pool at the same time.
  • We liked the modern design a lot.
  • It wasn’t too family-friendly, which was very relaxing.
  • This time was booked a sea view room, and the terrace and the view were worth the small upgrade fee.
  • Around the terrace, there were curry-plants – which made a very nice curry smell on the terrace that I enjoyed a lot. Oftentimes, it’s the details that count.
  • The plants were very accurate, and you could always see gardeners working somewhere.
  • Here you could also play table-tennis for free.
  • Free WiFi in the lobby, the restaurant and the pool-bar.
Sensimar con list:
  • When you order something to drink at breakfast or in the evening, you never get a pen with the bill and always have to ask for a pen.
  • The music played at the pool bar and in the restaurant is about 2 CDs on repeat. Even about 3 days, we were bugged by this.
  • The bathrooms are pretty small.
  • The service in the restaurant was slower than the Grecotel service too.
  • The beach is stones again, and you have to climb pretty much when you go down there, but this didn’t bug us as we only wanted to lie at the pool anyways.

We enjoyed our stay on Kos, and hope to have done our part to help the Greek tourist industry.

One comment so far, add another

Selling your Macbook – Deleting the Harddisk

When I looked for help how to sell my Macbook Air with Lion from the AppStore privately, delete my data while having a usable OS X for the buyer ready, I got a lot of crap links on Google. As I’m the product manager of FileWing, a PC-Windows program to securely delete data from harddisks, I was also very curious how to securely delete my data on the old mac.

Macbook Air with Apple restore drive running Disk Utility

Turns out, it’s VERY EASY. Get your package your Mac came with. In there, you’ll find a USB Stick or a DVD with your original OS X version on it. Put it in. An install app will pop up, and this tells you to click a button to restart your Mac.

In the UI coming up, search the top menu for “Disk Utility”. Select your hard disk and go to Delete. Then pick at least the 7-times overwriting security option and delete your harddisk. After that reinstall from your USB drive or DVD. Boom, done, secure.

Leave the first comment