Sonntag, 27. Dezember 2009

headless buckminster now does coverage using emma

Thanks to Achim Demelt, the headless version of Eclipse Buckminster also can do coverage reports since a couple of weeks. (It does work for RCP projects plugin tests as well!)

I'd recommend to use it as a buckminster script:
emma -l /plugin.project.name/junit.launch -o output/path/TEST-all.xml
emma -m -l /plugin.project.name/plugin.junit.launch -o output/path/TEST-plugin-all.xml --xml output/path/coverage.xml


This is how you invoke it from console:
buckminster --scriptfile your.script
Useful buckminster commands:
buckminster --help
buckminster listcommands
buckminster junit --help
buckminster emma --help
If that does not help - the guys on the forum are spot on and friendly.

Download and installation of buckminster as headless product are described here: http://www.eclipse.org/buckminster/downloads.html
Note, however, that you need version 3.6 for the recent junit and emma features.
Note as well, that you need to specify your installation directory as absolute path, when following these install directions.


Dienstag, 1. September 2009

RCP Builds - *good news*

;-) Nice to know, that there are actually people who did survive such efforts ;-)

http://dev.eclipse.org/blogs/iamkevb/2009/08/19/building-native-swt-libraries-with-hudson

Now, if these happy hackers follow-up to share some exemplary job configurations and pointers to relevant build files, they might actually save some unfortunate chosen ones to get out of darkness as well. ;-) Hehehe, I know someone that would really appreciate that ... Cheers!

Using relative file paths when running as a service/daemon app...

Most service wrapper tools for Java allow for setting the current working directory. This way you can set your apps base to the same path as if you were running it manually.
If you don't, and if you're using Windows, your service will run in the system32 directory and any relative file paths will be expanded from there...

Java Service Wrapper has the wrapper.working.dir property
Apache Commons Daemon has the --StartPath parameter

Donnerstag, 5. März 2009

Please stop flooding blogosphere and link-sharing-sites with yet another boring Top 10 compilation...

..some people seem to be very fond of blogging their latest "Top 10 this-and-that"-compilations, which in almost every case puts me off from the beginning. Well, no rule without exceptions... so here are some, that made into my list of notable reads - despite their title:

http://www.sundog.net/index.php/sunblog/entry/top-ten-most-infamous-software-bugs-of-all-time/
http://eclipse.dzone.com/articles/top-10-mistakes-eclipse-plugin
stopsoftwarepatents.eu petition banner