You need to sign in to do that
Don't have an account?
kaylon
Apex Deploy To Server
Is there anyway to view the previous version of an apex class that has been deployed to production?
Does SF simply overwrite on deployments without backing up the previous class?
Thanks.
That is correct. Salesforce will replace/overwrite he existing file. The best practice is to use tools like version control system like Subversion or Git or Mercurial so that you can track your changes.
Using a version control system is very powerful since you can combine it with Continuous Integration server like Hudson and automate the deployment process. It also adds a layer of QA since the CI server will run all of your tests.
- Anup