function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sarah AcostaSarah Acosta 

Help!! Eclipse Newbie - Cloning an Org

Hi - I am new to Eclipse and developer illiterate. I am attempting to copy everything from one prodution Org to another production Org using Force IDE and I am running into some issues.

I've created a new project with all 658 metadata components from Org 1 and selected only the custom and standard objects to deploy first (per advice found in old forums) but it's like it doesnt recognize that because my deploy log lists all 658 metadata components, half of which failed and the other say success but I do not show that anything was deployed into the new org. Am I missing some steps?

Does everything have to be a success in order to deploy?

Why didn't the components that were a success deploy to the new org?

Any help is appreciated. Thank you in advance!!
Ankit AroraAnkit Arora
You must be clicking on src and trying to deploy it. Expand the src and select only objects and then deploy them to new org and let me know,
Sarah AcostaSarah Acosta
Aha, that makes sense, and it worked but I still got a 50/50 fail to success ratio, see some fails below.

1. Is there a different order I should be deploying the components?

2. Why doesn't it at least deploy my success into the new org?

# Deploy Results:

   File Name:    objects/Contract_Requests__c.object
   Full Name:  Contract_Requests__c.Market_State__c
   Action:  NO ACTION
   Result:  FAILED
   Problem: Field Market_State__c does not exist. Check spelling.
  
   File Name:    objects/Add_Delete_Assignments__c.object
   Full Name:  Add_Delete_Assignments__c.Primary_Opportunity_ID__c
   Action:  NO ACTION
   Result:  FAILED
   Problem: Field Opportunity_ID__c does not exist. Check spelling.

   File Name:    objects/Contract_Requests__c.object
   Full Name:  Contract_Requests__c.Executed
   Action:  NO ACTION
   Result:  FAILED
   Problem: In field: role - no Role named SalesSupportRep found

   File Name:    objects/Contract_Requests__c.object
   Full Name:  Contract_Requests__c.Contract_Start_Date__c
   Action:  NO ACTION
   Result:  FAILED
   Problem: Field CES_Contract_Start_Date__c does not exist. Check spelling.

Thank you!!





  
Sameer PrasonnSameer Prasonn
use Apache Ant to check the dependancy for the object and fields as well.  here i have a links to configure apache ant 

for retrival : 
http://salesforce-stuff.blogspot.in/2011/10/using-ant-to-retrieve-metadata-of.html

for Deployment 
http://jagannathvalaiyapathy.blogspot.com/2013/02/deploying-salesforcecom-metadata-using.html

and  you are done. If you still feel problem deploying it. let me know.
Sarah AcostaSarah Acosta
I am having a problem just getting past step 4...Eclipse is automatically downloading the metadata when I create a new project but the step below says that is it important not to download them?? 

Step 4: This step is very important! Click "Apply" but DO NOT DOWNLOAD CONTENTS! You can do this by clicking the "No" button on the next two popup windows that asks if you'd like to refresh your project and download additional contents.
Sarah AcostaSarah Acosta
I am following all the steps exactly but keep running into small difference that I do not know how to work around. Can you help me offline?