Sunday, April 27, 2008

xdoclet gotcha

if you have a doclet used like below, you will face a bug which creeps without throwing errors during code generation:

/**
* @hibernate... some doclet
*/
//some innocent looking comment block
public getSomething() {
}

you would expect some code generated relating the hibernate doclet with the target method. but it won't. that innocent looking comment block(one line or multi line) has done the damage. the worst part is that xdoclet won't fail while "compiling".

however, if the doclet and the target method are separated by empty lines then xdoclet behaves intelligently.

Saturday, April 26, 2008

the road of mind

the road started alright from home.
roses and marigolds on both the sides,
after all the house-keepers took good care of the garden.
the garden surrounded the road and
tried to stop it from merging with the outer harsher roads.

the roads don't stop,
they run away, they meet and they part their ways.

the pretty well kept road met the others,
it became them and forgot how it looked with those roses and marigolds.

it got better with running, it turned pitch black.
it simmered in the summer and skid in the snow.
it splashed in the rain and ran with the wind.

it really got better with the running,
now it can run both ways.
it can run both ways but it doesn't know why it is running.
now it has got its children too, they all run together.
they all run, but they don't know why they run.

the roads don't stop,
they just run, they cross and they switch their looks with others.

it ran high into the higher dry lands,
it ran low and steep into the wet sea shores.
it ran dangerously by the edges of the canyons,
it ran into the vast safe plains with green grass all over.

when it ran enough, one day it met itself.
it doesn't want to run anymore,
it wants to turn into one where it started from.
the roses and marigolds are still there waiting for it.
but the big, dark and thick road is too big for the home now.

the roads don't stop,
they never meet their ends, they just split and merge again and again forever.

Friday, April 25, 2008

The Shawshank Redemption

watched this masterpiece: the shawshank redemption

it is a must watch movie for all those who always crib: "why me? what did i do to get this? i never hurt a snail, then why am i being punished?"

this movie is about hope! this movie is about the wish and will that keeps a hopeful man going towards freedom, one small inch at a time!

oh i just loved it! :)