You need to sign in to do that
Don't have an account?

Using Eclipse / ForceIDE to save Sandbox Classes & Pages
I would like to refresh my Sandbox but before doing so want to save all the Classes and Pages I have been experimenting with.
Would appreciate a high check list of the steps I need to follow to ensure Sandbox classes and pages are securely saved (on a network drive) and how I could later import these into a refreshed Sandbox or Developer Org?
Arrow,
Luckily the classes and pages are text files so it makes life quite easy. You can simply copy the Eclipse project folder to your network drive. Once you refresh your sandbox, you can either refresh your project from the server or delete the project and create a new one from the refreshed sandbox (I find the second is easier).
When you are ready you can simply copy the Class or Visualforce code files (along with the associated meta.xml files) to your new Eclipse project and save them to the server. Viola!
Another, and possibly better alternative, is to share the project with Subversion or some other VCS and then refresh your sandbox and project.
You also might want to take a look at the Development Lifecycle Guide for more info.
HTH
Jeff Douglas
Appirio, Inc.
http://blog.jeffdouglas.com
Author: The Salesforce Handbook
All Answers
Arrow,
Luckily the classes and pages are text files so it makes life quite easy. You can simply copy the Eclipse project folder to your network drive. Once you refresh your sandbox, you can either refresh your project from the server or delete the project and create a new one from the refreshed sandbox (I find the second is easier).
When you are ready you can simply copy the Class or Visualforce code files (along with the associated meta.xml files) to your new Eclipse project and save them to the server. Viola!
Another, and possibly better alternative, is to share the project with Subversion or some other VCS and then refresh your sandbox and project.
You also might want to take a look at the Development Lifecycle Guide for more info.
HTH
Jeff Douglas
Appirio, Inc.
http://blog.jeffdouglas.com
Author: The Salesforce Handbook
Many thanks for the clear and useful guidance