The Source for Java Technology Collaboration
User: Password:



Rémi Forax's Blog

October 2007 Archives


Netbeanize Tatoo: the weirdest error, i have ever seen

Posted by forax on October 25, 2007 at 05:47 AM | Permalink | Comments (3)

Yesterday, one of the user of Tatoo (a compiler compiler) email me because he wants to contribute but he wasn't able to compile Tatoo in Netbeans without any errors.

My first thought was something like "you want to hack Tatoo but you are not able to configure your IDE, hoho"

Tatoo currently compiles with an Ant script or using Eclipse, why not try to compile it using Netbeans by myself, after all, reading some recent blogs, it seems that Netbeans is a good competitor of my "old buddy" Eclipse. And better, there is a netbeans plugin that can import an eclipse project in Netbeans. Cool, nothing to do.

The Ant script of Tatoo is a little bit complex, some parts are bootstraped, the Tatoo grammar compiler is created using Tatoo. So I was prepared to have to add classpath and other gory details by hands.

So I tried the import assistant, super, no problem, the import works. But after one or two seconds the Netbeans editor raises the weirdest error I have ever seen. I take a shoot.

netbeans-tatoo.png

If you don't see the problem, the compiler emits an error because it doesn't find a class that is in the same package, strange, is it ? Moreover, at the same location, it emits a warning saying that the class is in the same package so I don't need to import it. duh ??

So i've reverted my opinion about the contributor that use netbeans every day, he is able to hack Tatoo :)

cheers,
Rémi

PS: The last sentence is voluntarily provocative.



Resurrect dolphin

Posted by forax on October 14, 2007 at 06:19 AM | Permalink | Comments (5)

This morning is was in my shower, thinking about life, sea etc, when the word 'dolphin' pop in my mind.
It instantly remember that day, when SUN management decide to stop using codenames.

I am certainly a geek but i was shocked and, for me, this day will always be a day in gray. Afterall, SUN decide to kill dolphin.
I always think it's a little bit easier to try to explain to anyone that you have spent a whole night on ladybird than on jdk7 :)

I think it's time to resurrect the dolphin. Now, the openjdk is an opensource project, lead by a community not by some managers and lot of opensource softwares have a codename like Gran Paradiso, Etch, Moonshine, etc.

So i officialy request to be able to use dolphin as codename for openjdk7.

I wait your comment and hope your support.

Rémi





Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds