I am trying to deploy the source code from this website - http://advancedapex.com/samplecode/
. For Third edition book version 1.0.
I downloaded the zip file and extracted it. I got the Src file which I placed in the force.com ant migration tool folder. Path salesforceAnt/Sample/RetrieveUnpackaged/src
. The same folder has package.xml. All these files can be found at the link I provided.
I assumed that to push the src code to my dev org all I need to do is place these files at the right place i.e. salesforceAnt/Sample/RetrieveUnpackaged/src
and run ant deployUnpackaged
command. But I get an error that deployment failed:
All the components failed except the custom object(It has *). Below is a generic error I get:
package.xml (AppConfigSupport) -- Error: An object 'AppConfigSupport' of type ApexClass was named in package.xml, but was not found in zipped directory
All the apex class, trigger, validation rule etc
whatever present in package.xml failed with the above error( substitute the name and type of the component)
I was unable to deploy. Any idea why this error came up?