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
Aam MAam M 

How to move project from eclipse ide to other sandbox

I've added a package of  salesforce sanbox in eclipse from one sandbox. And I want to deploy that to other Sandbox I'm facing some issues Showing error in the log as,
 
*** Deployment Log ***
Result: FAILED
Date: October 28, 2017 12:47:47 PM IST

# Deployed From:
   Project name: Expense Management
   Username: gurusfdc123@gmail.com
   Endpoint: test.salesforce.com

# Deployed To:
   Username: mujahidm@race2cloud.com
   Endpoint: login.salesforce.com

# Deploy Results:
   File Name:    applications/Expense_Management.app
   Full Name:  Expense_Management
   Action:  NO ACTION
   Result:  FAILED
   Problem: In field: tab - no CustomTab named Policy__c found

   File Name:    classes/AmountPopulate1.cls
   Full Name:  AmountPopulate1
   Action:  NO ACTION
   Result:  FAILED
   Problem: Invalid type: Policy__c

   File Name:    classes/AmountPopulate1.cls
   Full Name:  AmountPopulate1
   Action:  NO ACTION
   Result:  FAILED
   Problem: Invalid type: Policy__c

   File Name:    classes/AmountPopulate1.cls
   Full Name:  AmountPopulate1
   Action:  NO ACTION
   Result:  FAILED
   Problem: Invalid type: Schema.Policy__c

   File Name:    classes/AmountPopulate1.cls
   Full Name:  AmountPopulate1
   Action:  NO ACTION
   Result:  FAILED
   Problem: Invalid type: Expense_Line_Item__c

   File Name:    classes/AmountPopulate1.cls
   Full Name:  AmountPopulate1
   Action:  NO ACTION
   Result:  FAILED
   Problem: Variable does not exist: pol

   File Name:    classes/AmountPopulate1.cls
   Full Name:  AmountPopulate1
   Action:  NO ACTION
   Result:  FAILED
   Problem: Variable does not exist: pol

   File Name:    classes/AmountPopulate1.cls
   Full Name:  AmountPopulate1
   Action:  NO ACTION
   Result:  FAILED
   Problem: Variable does not exist: expl

   File Name:    classes/AmountPopulate1.cls
   Full Name:  AmountPopulate1
   Action:  NO ACTION
   Result:  FAILED
   Problem: DML requires SObject or SObject list type: Expense_Line_Item__c

   File Name:    classes/DataCompare.cls
   Full Name:  DataCompare
   Action:  NO ACTION
   Result:  FAILED
   Problem: Invalid type: Policy__c

   File Name:    classes/DataCompare.cls
   Full Name:  DataCompare
   Action:  NO ACTION
   Result:  FAILED
   Problem: Invalid type: Policy__c

   File Name:    classes/DataCompare.cls
   Full Name:  DataCompare
   Action:  NO ACTION
   Result:  FAILED
   Problem: Invalid type: Schema.Policy__c

   File Name:    classes/DataCompare.cls
   Full Name:  DataCompare
   Action:  NO ACTION
   Result:  FAILED
   Problem: Variable does not exist: pol

   File Name:    classes/DataCompare.cls
   Full Name:  DataCompare
   Action:  NO ACTION
   Result:  FAILED
   Problem: Variable does not exist: pol

   File Name:    classes/DataPopulate.cls
   Full Name:  DataPopulate
   Action:  NO ACTION
   Result:  FAILED
   Problem: Invalid type: Travel_Request__c

   File Name:    classes/DataPopulate.cls
   Full Name:  DataPopulate
   Action:  NO ACTION
   Result:  FAILED
   Problem: Invalid type: Travel_Request__c

   File Name:    classes/DataPopulate.cls
   Full Name:  DataPopulate
   Action:  NO ACTION
   Result:  FAILED
   Problem: Variable does not exist: Travel_Request__c

   File Name:    classes/DataPopulate.cls
   Full Name:  DataPopulate
   Action:  NO ACTION
   Result:  FAILED
   Problem: Variable does not exist: Travel_Request__c

   File Name:    classes/DataPopulate.cls
   Full Name:  DataPopulate
   Action:  NO ACTION
   Result:  FAILED
   Problem: Variable does not exist: trq

   File Name:    classes/DataPopulate.cls
   Full Name:  DataPopulate
   Action:  NO ACTION
   Result:  FAILED
   Problem: Variable does not exist: trq.Proposed_Client_to_Visit__r

   File Name:    classes/importDataFromCSVController.cls
   Full Name:  importDataFromCSVController
   Action:  NO ACTION
   Result:  FAILED
   Problem: Invalid type: Expense_Line_Item__c

   File Name:    classes/importDataFromCSVController.cls
   Full Name:  importDataFromCSVController
   Action:  NO ACTION
   Result:  FAILED
   Problem: Invalid type: Expense_Line_Item__c

   File Name:    classes/importDataFromCSVController.cls
   Full Name:  importDataFromCSVController
   Action:  NO ACTION
   Result:  FAILED
   Problem: Invalid type: Expense_Line_Item__c

   File Name:    classes/importDataFromCSVController.cls
   Full Name:  importDataFromCSVController
   Action:  NO ACTION
   Result:  FAILED
   Problem: Invalid type: Expense_Line_Item__c

   File Name:    classes/importDataFromCSVController.cls
   Full Name:  importDataFromCSVController
   Action:  NO ACTION
   Result:  FAILED
   Problem: Variable does not exist: accObj

   File Name:    classes/importDataFromCSVController.cls
   Full Name:  importDataFromCSVController
   Action:  NO ACTION
   Result:  FAILED
   Problem: Variable does not exist: accObj

   File Name:    classes/importDataFromCSVController.cls
   Full Name:  importDataFromCSVController
   Action:  NO ACTION
   Result:  FAILED
   Problem: Variable does not exist: accObj

   File Name:    classes/importDataFromCSVController.cls
   Full Name:  importDataFromCSVController
   Action:  NO ACTION
   Result:  FAILED
   Problem: Variable does not exist: accObj

   File Name:    classes/importDataFromCSVController.cls
   Full Name:  importDataFromCSVController
   Action:  NO ACTION
   Result:  FAILED
   Problem: Variable does not exist: accObj

   File Name:    classes/importDataFromCSVController.cls
   Full Name:  importDataFromCSVController
   Action:  NO ACTION
   Result:  FAILED
   Problem: Variable does not exist: accObj

   File Name:    classes/importDataFromCSVController.cls
   Full Name:  importDataFromCSVController
   Action:  NO ACTION
   Result:  FAILED
   Problem: Variable does not exist: acclist

   File Name:    classes/multiAddCEx.cls
   Full Name:  multiAddCEx
   Action:  NO ACTION
   Result:  FAILED
   Problem: Invalid type: Expense_Line_Item__c

   File Name:    classes/multiAddCEx.cls
   Full Name:  multiAddCEx
   Action:  NO ACTION
   Result:  FAILED
   Problem: Invalid type: Expense_Line_Item__c

   File Name:    classes/multiAddCEx.cls
   Full Name:  multiAddCEx
   Action:  NO ACTION
   Result:  FAILED
   Problem: Invalid type: Schema.Expense_Line_Item__c

   File Name:    classes/multiAddCEx.cls
   Full Name:  multiAddCEx
   Action:  NO ACTION
   Result:  FAILED
   Problem: Invalid type: Expense_Line_Item__c

   File Name:    classes/multiAddCEx.cls
   Full Name:  multiAddCEx
   Action:  NO ACTION
   Result:  FAILED
   Problem: DML requires SObject or SObject list type: List<Expense_Line_Item__c>

   File Name:    classes/multiAddCEx.cls
   Full Name:  multiAddCEx
   Action:  NO ACTION
   Result:  FAILED
   Problem: Variable does not exist: CExList

   File Name:    classes/multiAddCEx.cls
   Full Name:  multiAddCEx
   Action:  NO ACTION
   Result:  FAILED
   Problem: Invalid type: Expense_Line_Item__c

   File Name:    layouts/Delivery_order__c-Delivery order Layout.layout
   Full Name:  Delivery_order__c-Delivery order Layout
   Action:  NO ACTION
   Result:  FAILED
   Problem: Parent entity failed to deploy

   File Name:    layouts/Delvery__c-Delivery Order Line Item Layout.layout
   Full Name:  Delvery__c-Delivery Order Line Item Layout
   Action:  NO ACTION
   Result:  FAILED
   Problem: Parent entity failed to deploy

   File Name:    layouts/Expense_Line_Item__c-Expense Line Item Layout Map.layout
   Full Name:  Expense_Line_Item__c-Expense Line Item Layout Map
   Action:  NO ACTION
   Result:  FAILED
   Problem: Parent entity failed to deploy

   File Name:    layouts/Expense_Line_Item__c-Expense Line Item Layout.layout
   Full Name:  Expense_Line_Item__c-Expense Line Item Layout
   Action:  NO ACTION
   Result:  FAILED
   Problem: Parent entity failed to deploy

   File Name:    layouts/Expense__c-Expense Layout For Finance.layout
   Full Name:  Expense__c-Expense Layout For Finance
   Action:  NO ACTION
   Result:  FAILED
   Problem: Field:Name must not be Readonly

 
Aam MAam M
Anyone please tell me the procedure to move project to other Sandbox
Banwari kevat1Banwari kevat1
Hi,
   Actually eclipse save all metadata into local folder.  You can use ANT Migration Tool to deploy your metadata from from one sandbox to another.

Thanks
Banwari
Skype: bkevat92
Aam MAam M
I don't know the procedure of ANT.
Banwari kevat1Banwari kevat1
Fist of all you have to setup ANT in your system.
You can follow below link.
http://www.jitendrazaa.com/blog/salesforce/salesforce-migration-tool-ant/
If you have any difficulties to setup ANT. 
Then let me know.

Thanks
Banwari
Skype: bkevat92
Aam MAam M
@Banwari, I 've created a project in eclipse by importing a package from sandbox. So what will be the next procedure to deploy this package in to other sandbox
Banwari kevat1Banwari kevat1
I don't think why you are using eclipse in order to deoploy. Deployment is very easy using ANT. You just give the location of eclise src folder. And just run ANT commant to deploy. ANT is one time setup and later you can deploy every time by one command.

Thanks
Banwari
Skype: bkevat92
Aam MAam M
@Banwari Thanks, But If we want to deploy from eclipse what is the procedure. Why I'm not able to deploy?
Banwari kevat1Banwari kevat1
As i see your error that 
 1.no CustomTab named Policy__c found. You have to include this tab into package.xml and metadata for this one.
2.Expense_Line_Item__c is not present in your  target sandbox so you need to deploy this one also.

Thanks
Banwari
Skype:  bkevat92
Aam MAam M
Yes. I'm not able to see that Policy__c  custom object while adding that in package. why is that?
Banwari kevat1Banwari kevat1
Its Custom Tab. Please remove from App.
Then try to deploy. Thiss error would be vanished.
If not let me know.

Thanks
Banwari
Skype: bkevat92
Aam MAam M
I'll contact you in skype @Banwari
Banwari kevat1Banwari kevat1
Sure