New to Capistrano? Read my previous and more introductory blog post on Capistrano – Remote builds with Capistrano. Are you using Capistrano and are confused why the user environment, the PATH for example, is different from when you log on to your server via SSH? Perhaps you have failed to use RVM or other user [...]
Capistrano and Net:SSH with login shell
January 12th, 2012 by Johan Lundahl — Dynamic languages, Tips & Tricks
Tags: bash, capistrano, ruby, shell, ssh, tools
Remote builds with Capistrano
January 10th, 2012 by Johan Lundahl — Dynamic languages
Capistrano is a very nice open source tool for executing commands on one or multiple remote servers via SSH. Capistrano is written in Ruby and uses a rake-like DSL for its tasks. Its main use is to deploy web applications, Rails in particular, but it may be used for much more. Want to try? It’s [...]
Tags: capistrano, ruby, ssh, tools
IntelliJ IDEA performance improvement
September 26th, 2011 by Mattias Severson — Java, Tips & Tricks
Working as a consultant, it is not unusual that I am referred to customer specific software environment with regard to computers, operating systems, networks and other configurations. However, since I work with Java, most tools are available online and they can easily be downloaded and installed on different platforms. IntelliJ IDEA is no exception, but [...]
Tags: home directory, idea, intellij, performance, tools
Auto-incrementing Build Numbers in Xcode
May 31st, 2011 by Fredrik Olsson — Cocoa, Testing, Tips & Tricks
Users and testers will find bugs you are sure you have already fixed. Sometimes they use the wrong version, sometimes your fix is not as good as you thought. Either way a tiny unique version number visible in the app can save you hours of work. Incrementing the version number of your project for every [...]
Tags: iphone, objective-c, scripting, tools, tutorial
Continuos Integration for XCode projects
January 31st, 2010 by Christian Hedin — Agile, Testing
Continuos Integration is the practice of integrating changes from many people as often as possible. Instead of merging changes once a month and spending time handling merge errors you try integrate every day, perhaps even every hour. Each integration is built and tested on a server. If there are build errors or test failures, you [...]
Tags: automated testing, hudson, objective-c, tools, tutorial, xcode
Maven, FindBugs and Dashboard Reports
January 29th, 2010 by Davor Crnomat — Java, Testing, Tips & Tricks
There are a few simple steps to get nice graphic presentations of FindBugs results using Maven.
First, to enable FindBugs reporting in Maven, just add report section to your pom files, something like example below, but of course, you can do your own configuration.
The easy way to test Android applications
January 28th, 2010 by Renas Reda — Android, Testing
I’m going to guess that most of you know what instrumentation is. In the event that you don’t, instrumentation is a feature in which specific monitoring of the interactions between an application and the system is made possible. Instrumentation also makes it possible to write test cases that interact with the application. The problem with [...]
Tags: automated testing, frameworks, junit, open source, tools
Maven, the new Elephant on the Block
January 23rd, 2010 by Anders Janmyr — Uncategorized
Some of you may remember the article, by Bruce Tate, Don’t Make Me Eat the Elephant Again. It was an article about EJB, and Bruce was begging Sun not to make the same mistakes with EJB3 as they had done with EJB, and EJB2. They didn’t, Spring came along as better alternative and forced EJB3 [...]
Tags: build systems, buildr, maven, maven2, rake, tools
One artifact with multiple configurations in Maven
January 21st, 2010 by Henrik Larne — Java, Tips & Tricks
Problem When working on www.beertoplist.com I ran into a Maven problem, that is fairly common: Having a project that should be configured differently for different environments. That is for instance you want one configuration for development, one for test and one for production. I wanted a solution that allowed me to make changes to all [...]
Tags: maven, open source, programming, tools
Test Driven Development in XCode
January 15th, 2010 by Christian Hedin — Testing
Test Driven Development, or TDD for short, is a simple software development practice where unit tests, small focused test cases, drive the development forward. This is most easily explained by the Three Rules of TDD that dictate the following: You are not allowed to write any production code unless it is to make a failing [...]
Tags: frameworks, iphone, mac, objective-c, programming, tdd, tools, tutorial
Classloader Deep-Cloning without Serialization
December 23rd, 2009 by Johan Haleby — Java, Testing
Background In PowerMock we’re using a custom classloader to byte-code manipulate classes that are normally not mockable to make them mockable. But when running a test case there may be some cases when the user needs to byte-code manipulate a certain class (X) in the first test method but needs to have the class unmodified [...]
Tags: classloader, deep-cloning, frameworks, junit, manipulate, open source, powermock, serialization, tools
Under the Hood of ‘git clone’
November 24th, 2009 by Anders Janmyr — Tips & Tricks
When you clone a git repository, everything is automatically setup to allow you to fetch, pull, push to and from the remote repository, origin. But what is really going on? git remote is configured with a few lines of configuration in the config file inside the .git/ directory. Here’s how it works: Create a new [...]
Tags: frameworks, git, tools, version controlling
Get nagged about keyboard shortcuts in Eclipse
November 12th, 2009 by Tobias Södergren — User Experience
I was attending the “The Productive Programmer: Mechanics” session, held by Neal Ford, at Oredev last week and I wanted to share one trick that will more or less force you to get faster when developing in Eclipse. The Eclipse plug-in MouseFeed, written by Andriy Palamarchuk, will repeatedly nag you with what keyboard shortcuts you [...]
Getting Android SDK working on Ubuntu 64
October 21st, 2009 by Johan Haleby — Android
Today I was trying to setup the Android SDK (version 1.6_r1) on the 64 bit version of Ubuntu 9.04 (Jaunty Jackalope). After having installed the ADT Eclipse plugin and pointed out the Android SDK directory in the settings I immediately ran into the following error: Failed to get the adb version: Cannot run program “/home/johan/devtools/android/android-sdk-linux_x86-1.6_r1/tools/adb”: [...]
Tags: linux, open source, tools, ubuntu
Setting Up Grails Projects in IntelliJ Idea
September 6th, 2009 by Mattias Hellborg Arthursson — Java, Tips & Tricks
Since I’ve started doing some stuff in Grails lately I’ve virtually been forced to start looking for an alternative IDE. I’ve been an Eclipse guy for the last five years or so; ever since I got out of the JBuilder swamp. Unfortunately, the only IDE with decent support for Grails seems to be Idea (yes [...]
Tags: buildconfig, grails, idea, intellij, programming, setup, tools
