I haven't kept up with the discussion about code formatting using the eclipse profile, but if it's still in progress, perhaps this project would provide some valuable insight into how it's done.