Toggle Side Panel

  • Blogs
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › How do I create ant task to copy required package.xml filesto another directory to deploy?

    Tagged: Components, Force.com IDE, Metadata, Salesforce Force.com, XML

    • Salesforce® Discussions

      How do I create ant task to copy required package.xml filesto another directory to deploy?

      Posted by Danna on April 25, 2016 at 10:38 AM

      I have a configured package .xml file from Force.com IDE and when I use the same to deploy certain changes from another folder ANT is scanning the entire metadata. Though it is supposed to function like that but is there any way I can create an ANT task which copies only the required files to another directory?

      Ajit replied 10 years, 4 months ago 2 Members · 1 Reply
      • Components
      • Force.com IDE
      • Metadata
      • Salesforce Force.com
      • XML
    • 1 Reply
    • Ajit

      Member
      April 27, 2016 at 8:20 AM

      Hey Danna

      You can change the package.xml as per your requirement , so remove the the components which you doesn,t want to copy, also the components which you will be removing must be removed from all of  the retrieved package component in the retriveUnpackaged folder.

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    Popular Salesforce Blogs

    Salesforce to Salesforce Integration using Rest API Callouts

    Salesforce to Salesforce Integration using Rest API Callouts

    Blog in Salesforce integration

    "Integration" itself is a vast topic, though with a bit of understanding and practise one can master any skill whatsoever. Answering the question posted here is…

    Apex Rest Webservice, API Callouts, Rest Callout, Salesforce to Salesforce Integration
    Ap Mishra Jun 14, 2017
    41,252  Views
    Salesforce Lightning

    10 Reasons to Switch On Salesforce Lightning

    Blog in Lightning, Others

    It's been close to 12 months since Salesforce propelled its greatest advancement yet, Lightning.  The achievement checked considerably more than a facelift for our items.…

    AppExchange Apps, Applications, Applications and Pages, Assistant, Client Experience
    Pooja Sep 16, 2020
    3,879  Views

    Top 5 Best Practices for Managing Data in Salesforce

    Blog in Others

    Companies rely on Salesforce to help them make sense of all the data they collect, and if we take into account that Salesforce currently holds…

    Data Accuracy in Salesforce, Data Accuracy Tips, Data Automation Salesforce, Data Cleansing Salesforce, Data Export from Salesforce
    ildudkin Sep 19, 2024
    762  Views

    Popular Salesforce Videos

    Setting Up Service Territories and Operating Hours | Salesforce Webinar

    Setting Up Service Territories and Operating Hours | Salesforce Webinar

    Video in Others

    Scale your business and ensure optimized performance by setting up service territories in Salesforce Field Service. In Salesforce Field Service, operating hours represent service territory…

    salesforce, Salesforce Webinar, Salesforce Video, Salesforce Field Service
    AblyPro Jul 2, 2024
    1,200  Views
    Send Salesforce Field Service Mobile App Device Logs For iOS

    Send Salesforce Field Service Mobile App Device Logs For iOS

    Video in Salesforce Training

    This video will demonstrate how to send device logs from the Field Service App for iOS / Android. Salesforce Support may ask you to send…

    Mobile app, Salesforce Video, Salesforce Learning, Salesforce Support, Salesforce Taining
    Praful Apr 13, 2021
    5,321  Views
    Why Should You Attend Dreamforce To You 2020

    Why Should You Attend Dreamforce To You 2020

    Video in Salesforce Stories, Events

    Dreamforce - The event which brings together the entire Salesforce community is just around the corner. Learn why there’s so much hype around this mega…

    dreamforce, Salesforce Event, Salesforce Community, Salesforce Video, Salesforce Learning
    Algoworks Nov 24, 2020
    1,397  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2026 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.