I'm having issue to remove access for objects using ant/eclipse. Currently some profiles have access to Opportunity object (Read/Edit/Create) and I want to remove those access. However, after I modify the profiles in SF (uncheck the relevant checkboxes in the profile settings) and retrieving the profiles using eclipse, they have no references to the Opportunity object, therefore deploying it using any doesn't make any change to the object permission for this profiles.
As usual, I can do manual work and write in the profile xml file the object with false access (e.g false ), but I prefer it will be done with tools. Removing object access, seems to me very basic functionality, and it'll be very weird if it cannot be done with eclispe/ant.