Simplify eclipse function. Fixes for makemead - handle -n and repository namechange.