Ukelele generated custom keyboard layouts not working in Lion?
The layout you gave the link to works fine for me.  Are you sure that your copy of the file ends only in .keylayout and not .keylayout.xml or something else?  You have done logout/login after installing it, right?