• No Comments
In you need to debug a plugin for Jenkins, the continuous integration server, here’s what you need to do. Jenkins plugins are typically built with Maven, so you use Maven to perform the following steps:
mvn clean package
mvnDebug hpi:run
Step 1 will build the plugin and create an .hpi package out of it.
Step 2 will run a local debugging instance of Jenkins with your plugin already deployed. The instance will wait for a remote debugging session before Jenkins will actually be available though.
So Step 3 is to start a remote debug session with dt_socket on localhost, port 8000.
If you have set some breakpoints in the plugin you want to debug, you can now switch to your browser of choice and open http://localhost:8080, where you will find your debugging instance of Jenkins.
Hint: if you use Eclipse as IDE, make sure to disable Project -> Build automatically, because that interferes with the Maven build, leading to bad MANIFEST.MF being generating (e.g. lacking the Plugin-Class header).
• 3 Comments
My Mac Mini is configured to automatically suspend after being idle for a certain time. E.g. after recording a TV show with EyeTV or after streaming a video to another computer it automatically goes off. The Mac also runs SqueezeCenter, the server software for streaming music to all those awesome Squeezeboxes. Unfortunately, SqueezeCenter does not [...]
• No Comments
I am a happy owner of a Nokia N8. I like it a lot, I only had one problem with it. Nokia Ovi Suite, the tool to synchronize contacts, music, bookmarks, photos, videos, apps, (i.e. everything on your phone) only works on Windows. Attempts to run it in vmware failed. Today I installed a new [...]
• No Comments
Apparently there are many people having problems getting a flash slideshow to work in wordpress, namely with the NextGEN Gallery and imagerotator.swf. Until recently, I belonged to that crowd as well. There are tons of postings about how to "fix it", most of them explaining how to change the URL to the installed imagerotator.swf file [...]
• No Comments
If you absolutely have to use Cisco’s VPN client under Linux, e.g. because of certificate-based authentication, and you experience system crashes/spontaneous reboots, make sure that vpnclient only sees a single cpu/core, e.g. by defining a cpuset avahi-daemon is not running These two things change vpnclient from barely usable at all to quite stable.
• 5 Comments
- since I last blogged (ahem, November 2006 — I actually had to google on how to access my own blog) – since I last hacked on KDE/KuickShow – since I used the svn commandline client After the requests for a KDE 4 version of KuickShow actually resulted in a bugreport I figured I had [...]
• 7 Comments
While preparing another blog-post, I used KDE’s premiere image editing application krita to scale down some large images to a more blog-appropriate size. Krita provides provides several different scaling algorithms to choose from: BSpline Bell Bicubic Box Hermite Lanczos3 Mitchell Triangle aka (bi)linear I used the default “Mitchell” filter to scale a 3008×2000 pixels photo [...]
• 1 Comment
One very cool feature of Object Teams is that role classes are automatically instantiated when a method of their base class is intercepted (through a callin binding). That way, you can define those method interceptions statically without having to worry about when your role class is instantiated. This feature can be abused though, as a [...]
• No Comments
If you post very different things on one single blog, you might find people getting slightly irritated, e.g. when they read about tasty fish instead of programming stuff . Categories are a wonderful way to separate those topics, and wordpress even provides separate RSS/Atom feeds for every category, so you can subscribe to exactly those [...]
• No Comments
I almost spent a day setting up wordpress, so that I can finally be part of this blogging community. The famous 5-minute install of wordpress obviously doesn’t include installing and setting up mysql, apache and php, finding an aesthetic theme and configuring the actual blog. Finding a useful client for linux also took some time [...]