+ Start a Discussion
Engine ForceEngine Force 

How to delete apex classes in production instance through eclipse?

Is this doable? If so, how can this be done?

Best Answer chosen by Admin (Salesforce Developers) 
Starz26Starz26

There are several way

 

1. destructivechanges.xml (I believe this is ANT based, never used it)

2. Eaisest way: IDE. Create a new project pulling in the apex classes. Then modify the XML to show the status = "Deleted". Once you save the change, they will be gone from production.

 

There are some other ways as well, I believe you can migrate the deleted change from a sandbox to production...

 

Do a search here, there are several threads regarding this.