You need to sign in to do that
Don't have an account?
Rajesh Shah
Error : Not in package.xml
I am trying to deploy certain components like Trigger, Apex Classes or LAyouts through Force.com IDE. Sometimes when I do validate Deployment, it gives me an error saying 'Not in package.xml'. I am not sure what is the meaning of this error. Can anybody please explain me?
Thanks
I found that one of the reasons the error for package.xml came was because of the difference between the API verion of Eclipse generated xml and the one on Salesforce. If the same component was migrated using the latest Force.com Plugin, it worked. But this is one of the reason, I got the error for other components too where the versions matched.
All Answers
In other words......
When you created you project, you selected what objects would be available, like components, triggers, etc. Say, for example you did not select "classes" to be in your project. Well, then if you try to upload a class file from your project and deploy to the server, you might get this error because "Classes" is not an object type that is in your project, defined in the package.xml file.
I found that one of the reasons the error for package.xml came was because of the difference between the API verion of Eclipse generated xml and the one on Salesforce. If the same component was migrated using the latest Force.com Plugin, it worked. But this is one of the reason, I got the error for other components too where the versions matched.