Groovy, Maven, Idea and more


I’ve been fighting to make some progress on my GSpec project and I’m at a standstill. The big problem is that I migrated all of my work off of my windows partition onto my Mepis install. On top of that I’ve upgraded to the latest Idea Selena (7.0 EAPO build) and GroovyJ is no longer on the install list. I think I’m just making my life much harder than it has to be but I refuse to give up and use older or lesser capable tools. For example, right after writing the last two sentences I realized that my current efforts to checkout the latest build of GroovyJ with subversion, build, realize the project has no JDK set, set the JDK, realize that half of the dependencies are missing, add the only dependency I have time to add, remake, realize that I never downloaded the plugin developer toolkit, cuss, download the plugin developer toolkit, yeah all of those efforts, would all be simpler if I just copied the groovyJ install from my earlier Idea install sitting on my Windows partition. How about that for wasted effort? Well I have the source to it now and I think the plugin toolkit just finished downloading so maybe one day I’ll look at the source and see if I can help development along. (Like I’ll have any time for that!)

With GroovyJ now pleasantly installed I have also managed to get a working copy of the latest groovy-maven plugin from the Codehaus subversion repo using most of the same long winded steps above. My pom now builds, and sees all of my production and test resources. (Yaay!) I just ran both the M2 test goal and the individual failing test under Idea and everything is working. (Everything except for the failing test! But that’s cool because that’s where I left off anywayz.) As an aside I noticed that my JUnitGSpecSuiteBuilderTest wouldn’t get picked up when I right clicked the tests folder in Idea and selected “Run all tests”. I also noticed that running it directly doesn’t work. I get an error:

Caught: groovy.lang.GroovyRuntimeException: This script or class could not be run. 
It should either: 
- have a main method, 
- be a class extending GroovyTestCase, 
- or implement the Runnable interface.

My class is a .groovy file that extends and is written Java classic style but has no test methods, only a static suite() method. I believe it’s an issue with Groovy and not Idea or the plugin. Anyway, life is good and I finally get to make progress as soon as I stop blabbing on my blog about all the work I should be doing. I apologize to those of my reads who have been loyal because my last flurry of articles has been anything but informative or funny. I assure you all that as soon as I get over some rough edges I’ll bring the edge back to my writing and begin filling my site with useful content once again. For now, I’m out like a scout on a new route without a doubt. Peace…

ATI 9200 on Linux


I might as well change the title to “VB6 on the JVM” or “Java6 on ASP” because it just ain’t gonna happen. If you have an ATI card with the number 9200 scribbled somewhere on the label then you’re pretty much screwed with Linux distros. I think I had my card working for all of 48hours back when I was running Mepis 3.4.x and ever since then I’ve been out of luck. I want to be able to run stuff like XGL/Compiz and also power the TV set in my bedroom with my Mepis install but I’m short on advice. Why so much drama? Well let me break it down. The ATI drivers for Linux are meant for the later model cards and mostly ignore earlier cards from what I understand. I’m not sure which features are supported on which drivers for which cards because the whole deal is so tricky. There’s about 2 or 3 ATI drivers available for Linux (possibly more). There’s the official ATI driver maintained by AMD/ATI, then there’s something called the Radeon driver that is maintained by who? I dunno, possibly Cuba Gooding Jr. and associates. Finally there’s the XOrg driver which now claims support for many/most features in the later cards. My model has T.V. outs and I was told everything from only 3d will work to TV out support will work sporadically, to buy an NVidia. The problem is that I can’t afford a new card right now. Even if I could I would rather invest in a new car stereo head unit. So what do I do? I ask around on the Mepis forums. I ask here too. I’ll be posting a bunch of stuff about everything I know on the topic (random clues gathered from around the net) in some hope that someone can piece everything together for me.

  • Clue #1 an older post on the Mepis forums indicates another unfortunate soul suffering my same dillemma.
  • A link to a howto regarding the Radeon driver and supported hardware. (My card is listed here! Woohoo! Still can’t get it to work!)
  • A mention of the 9200 series on this thread seems to indicate XGL fully supports these cards.
  • The Envy project promises to figure out which card I’m running and download the appropriate driver.

More cluse will follow. Be the first to solve my ATI mystery! Holla back…