Tuesday, December 30, 2008

maven dependency for child projects

The dependencies that you want your child projects to inherit cannot be nested in the element. Dependencies in this element merely state the preference for a version and by itself does not affect a project's dependency graph.

To get child projects to inherit parent dependencies we need to add these dependencies in the element without an enclosing element.

Tuesday, December 16, 2008

Tuesday, December 9, 2008

Deleting all .svn folders

Here's something you can do in Ubuntu at the command line if you need to delete all those pesky .svn folders


find . -name .svn -type d -exec rm -rf {} \;


Here "." looks at the current directory. Change the directory to one of your choice.

Friday, December 5, 2008

Hangup with Netbeans 6.x on Ubuntu

1. It's slow
2. It looks ugly in Ubuntu. Drop down boxes end abruptly. Underscores are missing in dropdowns. Actually it's all Swing applications in Ubuntu if you have Compiz enabled.
3. It's slow.

Google in English, wherever you are

You know how frustrating it is to go to a foreign country and all google searches have foreign labels. China for one.

Well here's a real simple way that you can set English to appear all the time.

1. Go to www.google.com. You will automatically be routed to a local version of Google.
2. Click English at the bottom of the search text box (it's the right most one in case you can't tell)
3. Now all searches have English in them including the searches that you run from the Firefox search box.