Maven: debugging tests

Invoke tests in the following manner and attach debugger to socket on port 5005.

Surefire

mvn -Dmaven.surefire.debug test
See:
http://maven.apache.org/plugins/maven-surefire-plugin/examples/debugging.html

Failsafe

mvn -Dmaven.failsafe.debug test

See: http://maven.apache.org/surefire/maven-failsafe-plugin/examples/debugging.html

Advertisements

Flash problems in ubuntu 12.04

To make flash plugin run well on ubuntu:

  • choose flashplugin-installer version of flash in chrome
  • invoke
    sudo add-apt-repository ppa:ubuntu-audio-dev/ppa; sudo apt-get update;sudo apt-get dist-upgrade; sudo apt-get install linux-sound-base alsa-base alsa-utils linux-image-`uname -r` libasound2; sudo apt-get -y --reinstall install linux-sound-base alsa-base alsa-utils linux-image-`uname -r` libasound2; killall pulseaudio; rm -r ~/.pulse*; sudo usermod -aG `cat /etc/group | grep -e '^pulse:' -e '^audio:' -e '^pulse-access:' -e '^pulse-rt:' -e '^video:' | awk -F: '{print $1}' | tr '\n' ',' | sed 's:,$::g'` `whoami`

The second one is the first step of: https://help.ubuntu.com/community/SoundTroubleshootingProcedure