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

Apex deployment with Ant script

If i want to deploy Apex classes in a particular order, do i need to write several targets and deploy each one in order?  I ask because when i had all classes in the same deployment target it seemed to try and deploy them in alphabetical order even though i had them listed in a particular order...

I have follow-on question around similar issue


can custom labels be deployed before classes so that classes gets compiled while getting deployed , also does the order of classes/pages/labels etc in package.xml affect the order of deployment ?