I went on the Dev 501 apex training course a while back, but at the time i forgot to transfer the org we used on the course to a new development environment. As a result my training org has now expired.
I still have the files locally in eclipse, so my question is: is there a way to deploy the expired org from eclipse to a new developer org in one hit?
Attribution to: paul
Possible Suggestion/Solution #1
if you have the code and the meta files locally on your machine.
- back up those local files
- right click on the project folder and click properties
- change the credentials to point at the new environment.
- if your local files get overwritten, copy your code back into the src/classes folder
- refresh the eclipse src folder (locally, not from salesforce)
- highlight the files and right-click force.com->save to server.
The files will be posted to the new dev org as long as your dependencies are met (objects, ect).
Attribution to: ebt
Possible Suggestion/Solution #2
I usually just zip up the arc directory from the locked out project and unzip into a new project outside of eclipse. Then when I start eclipse it deploys the new elements to the server. It's basically the way that the code shares work.
Attribution to: Bob Buzzard
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/939