November 28th, 2008 by Hugo Josefson — Programming, Web
You don’t need to install Tomcat, JBoss or any other web server in order to run a Java web application (.war file)!
If your project is configured with a Maven pom.xml and the module has <packaging>war</packaging>, you can just add this little piece of XML inside the pom’s <plugins> tag:
<plugin>
<groupId>net.sf.alchim</groupId>
[...]
Tags: executable, java, maven, tricks, war
November 25th, 2008 by Fredrik Olsson — Embedded, Frameworks, Programming
Last friday I attended an excellent session at Øredev 2008, on Android by Mike Jennings from Google. At the end of the presentation Mike show the code for a simple application with a bouncing blue ball, controlled by the accelerometer. What stroke me was that the git of the application was 85 lines of code, [...]
Tags: accelerometer, android, iphone, objective-c, oredev, tutorial
November 21st, 2008 by Jan Kronquist — Open Source, Testing
We have released 1.0 of PowerMock just in time for the Øredev conference! PowerMock is an open source mock framework based on EasyMock that allow you to mock static methods, private methods and even constructors. Our intent is mainly to allow unit testing of legacy code and people really seemed to appreciate this idea at the conference.
Tags: easymock, junit, mock, oredev, powermock
November 21st, 2008 by Peter Neubauer — Embedded, Linux, Open Source, Programming
Hi there,
Öredev was great success, especially all the people and the organization - a big Thank You to Michael and Emily for making this possible, you rock!
Now, it was really awesome to exchange Android games with Mike Jennings fro the Android team, and get him excited over the recent Android port to the Neo FreeRunner! [...]
Tags: android, java, mobile, oredev
November 21st, 2008 by Peter Neubauer — Embedded, Programming
Since the release of the Android SDK 1.0, people (including me) have been complaining about the lack of connectivity for the very convenient Smack API to talk to Googles GTalk servers following http://davanum.wordpress.com/2007/12/31/android-just-use-smack-api-for-xmpp/, see here.
However, yesterday @Oredev, I met Mike Jennings from the Android team and together we looked into this problem over a beer [...]
Tags: android, mobile, oredev
November 18th, 2008 by Björn Granvik — Agile
Just a quick note on Scrum Shock Therapy. I will give a session on this subject at the Øredev conference on Tuesday at around 10 o’clock. If you can make it I will talk about the whole shebang - recipes for the team, management and organisation.
I’d love to get your feedback. See you in [...]
Tags: oredev, scrum, shock, therapy
November 17th, 2008 by Björn Granvik — Agile
Scrum consists of a straightforward process, half a bunch of roles and a few artifacts. Sounds simple enough, but according to an online poll 3 out of 4 projects that call themselves Scrum fail to implement even the simplest parts. To make matters worse, most of the mistakes are on the simple side of things. [...]
Tags: scrum, shock, therapy
November 12th, 2008 by Joakim Back — Testing, Web
After running into proxy errors attempting to run Selenium tests with Opera 9.62 and being unable to install Firefox 2 on Ubuntu 8.10 (unsatisfied package dependencies..) I finally ran into this gem:
Hi,
On windows I succeeded to run Selenium RC and Firefox 3 using the following steps
1. run firefox in profilemanager mode (”path\to\firefox.exe” -profilemanager)
2. create new [...]
Tags: automated testing, firefox 3, selenium, ubuntu
November 10th, 2008 by Mattias Hellborg Arthursson — Linux
Ever since I upgraded to Ubuntu 8.10 on my laptop (Dell Precision M90) I’ve been having problems with getting the sound to work properly. I could get some applications working if I would change the sound default from ALSA to OSS, but it wouldn’t work in Firefox (e.g. youtube etc.)
Seems this is not an uncommon [...]
Tags: 8.10, alsa, firefox, oss, sound, ubuntu, youtube
October 27th, 2008 by Johan Haleby — Frameworks, Open Source, Testing
Previously a colleague of mine described an idea for mocking static methods. Earlier this year we started an open source project to implement these ideas in a very simple to use form. The idea is that it will just be a normal jar file that extends EasyMock and JUnit. Instead of using AspectJ we have [...]
Tags: easymock, junit, mock, powermock