Where he blogs about his eclipse musings
Java 6 on the Mac, finally
So apple finally provided this update after a long time. You can download the update from http://www.apple.com/downloads/macosx/apple/application_updates/javaformacosx105update1.html.
Read more about the release notes at http://docs.info.apple.com/article.html?artnum=307403
No comments yet.
No trackbacks yet.
Java and Unicode monday morning blues
May 25, 2009 - 3:33 pm
Tags: eclipse, Java
Posted in Java, eclipse | No comments
Monday morning excitement. JUnit tests that pass in the IDE fail in ant and cruise servers running on all platforms.
java.lang.AssertionError:
Expected: a string containing “… text=Ç…”
got: “… text=Å…”
My immediate reaction was the encoding used by the JVM. Setting the “file.encoding” system property to UTF-8 did not help. Running the ant based [...]
Growl notifications from ant
July 9, 2008 - 9:29 am
Tags: ant, eclipse, growl, Java
Posted in Java, Open Source | 3 comments
If you use ant to run your builds, and would like to receive growl notifications about execution status, presenting Growl notifications for ant.
All you need to do is execute:
ant -listener com.google.code.ant.growlnotify.GrowlListener
And you’ll need is the growlnotify binary somewhere on your path, this is bundled with the Growl binary dmg.
Mockito – one of the better mocks
March 5, 2008 - 7:24 pm
Tags: Java, mock, mockito, testing
Posted in Java, Open Source | 2 comments
Now that I’ve got your attention. Mockito is not just better than the other mock frameworks out there, it’s infact the best out there.
After reading a lot of noise from fellow ThoughtWorkers in the recent past about Mockito. I decided to give a yet another mock framework a try.
Here’s what I ended up writing:
public class [...]
Making Eclipse Plug-ins using JRuby or Groovy
July 27, 2007 - 10:49 am
Tags: eclipse, groovy, Java, jruby, Open Source, ruby
Posted in Java, Open Source, eclipse, ruby | No comments
Read more about using JRuby or Groovy to write eclipse plugins here: http://dev.eclipse.org/blogs/wayne/2007/07/26/making-eclipse-plug-ins-using-jruby-or-groovy/
Finding a Class in a ton of jars
July 26, 2007 - 9:16 am
Tags: class-finder, jar-finder, Java, linux
Posted in GNU & Linux, Java | 2 comments
This is how I do it. Create a script I call it findclass in some location on the path. /usr/local/bin is a good place, I prefer $HOME/bin. Remember to chmod this script to 755.
#!/bin/bash
find -iname “*.jar” | xargs -i unzip -l {} | less
In case you are new to less, here’s how you navigate:
1. To [...]
CCTray in Java
May 11, 2007 - 9:14 pm
Tags: cctray, eclipse, Java, Open Source, ruby, swt, ThoughtWorks
Posted in GNU & Linux, Java, Open Source, eclipse, technology | 1 comment
Akshay and me have been pairing since a couple of days to hack together a java version of CCTray written using SWT. This version of CCTray can connect to CCNET and cc.rb.
A lot of folks use *nix and the existing CCTray is not much help.
If you wish to use this pre-alpha release, feel free to [...]
Kill the mouse, and forget having to remember keyboard shourcuts :)
May 8, 2007 - 10:13 am
Tags: eclipse, intellij, intellij-idea, Java, keyboard-shortcuts, Open Source
Posted in Java, Open Source, eclipse, technology | No comments
As an Eclipse plug-in developer who’s recently moved to using JetBrains’s IntelliJ Idea; I must agree that IntelliJ has excellent support for having to use the keyboard. I haven’t had to use the mouse much when I’m using IntelliJ.
On the down side — I’ve to remember all the keyboard shortcuts. This is hardly an option [...]
Composite Logger for Ant
April 4, 2007 - 7:24 pm
Tags: ant, Java, logging, technology
Posted in Java, Open Source, experiences, technology | 3 comments
When doing long builds in CruiseControl, ant build logs are generally logged using the XmlLogger.
In certain cases, say for example when the build is taking longer than usual, and needs to be killed/stopped, the XmlLogger does not flush contents to disk.
It would be nice if there is some sort of a composite logger than can [...]
Lotus Notes beta 8, and Eclipse
March 23, 2007 - 10:01 am
Tags: eclipse, Java, lotus_notes, Open Source, osgi, Ubuntu
Posted in Java, Open Source, Ubuntu, eclipse, experiences, technology | 2 comments
I saw this post by ZX on Lotus Notes 8 based on the Eclipse platform.
ZX says:
…
In the end, this is great news for Eclipse which now gets to interact with a whole new set of users and developers.
Eclipse (OSGi) on clients… devices… servers… , what’s next?
…
OSGi is great on my desktop, laptop, servers, even mobile [...]
SVNAnt: Using ant with SVN
March 13, 2007 - 8:10 pm
Tags: ant, Java, Open Source, SVN, SVNAnt, technology
Posted in Java, Open Source, experiences, technology | No comments
While working on some ant build scripts today. A lot of custom batch files that were being exec’ed from within ant builds; batch files that would perform svn updates, reverts and commits, among other svn actions.
A good alternative would be to use SVNAnt (some snippets follow):
<svn>
<delete>
<fileset dir=”workingcopy/deleteTest”>
[...]