copy source from https://svn.berlios.de/svnroot/repos/miro-middleware/branches/MiroMicro/ r1964