HiAfter having sung this last night at a Sydney folk club, (well Alan sang and I accompanied him on flute.....) we now have some more info. It actually started out as a Welsh folk tale, which was then adapted into other cultures and varied accordingly.
Apparently Thomas Moore set it to music. If anyone has any more details please let me know.
slainte
Alison