Questions tagged [ant]

Apache Ant is a software tool for automating software build processes.

Filter by
Sorted by
Tagged with
10
votes
1answer
3k views

Is it possible to deploy workflow rules and field update actions which reference PersonAccount record types?

I am performing a deployment from one sandbox to another using ant. The sandboxes both have PersonAccount functionality enabled. The source org has a PersonAccount record type with the name of HCP and ...
5
votes
1answer
591 views

How to detect ant retrieve failure in script?

Question Is there a way to detect if an ant retrieve call fails due to a login issue? Background I've got a pretty basic bash script that uses ant to retrieve the latest changes from our production ...
9
votes
2answers
2k views

Ant Migration Tool - Not retrieving Task fields

I'm not able to retrieve any custom fields on the Task object. I'm able to get Contact custom fields fine. These fields are included in a managed package, but I don't understand why the Contact ...
11
votes
2answers
3k views

Execute an Apex class using Ant build script

We are in the process of setting up automatic build using Ant. We want to do some start up activities like read an xml file which is stored as a static resource and verify it with a custom object data ...
10
votes
2answers
1k views

Unable to deploy code to Sandbox as installed Managed Package test methods are failing

I am using ant tool to deploy code to Sandbox which has Managed package test methods failures. Build error shows the validation rule message. Build is executed by Jenkins schedule job, so turning on ...
3
votes
2answers
357 views

Ant Retrieve Call for Layouts Throwing Java.Io.IOException: File name Directory name invalid

I wanted to have Automated Backup of Salesforce Environment which includes all of the code and configuration we get through the Eclipse project and then meta data Selection. I used ANT scripts and ...
4
votes
1answer
1k views

Ant build script to commit files to subversion automatically every day

We have a development environment where we do not have a direct way to access our subversion repository within our network. SO we need to login to a vm machine and check out the code. To avoid this, ...
5
votes
1answer
869 views

Ant migration tool and own required test coverage value

Does somebody know about the following scenario: I need to - calculate an apex code coverage during deployment with Migration tool - give the result on console, - after that I need to decide about ...
6
votes
2answers
3k views

Unable to use destructiveChanges.xml with multiple developers

(Sorry, long post) We have a team of 4 developers, each with their own DE org We are struggling with propagating destructive changes between orgs. From our reading of the docs, we should be able to ...
4
votes
3answers
1k views

Profile Login IP Ranges via API

I need to analyze the login ip ranges for profiles across multiple orgs on a frequent basis. Previously I've been accomplishing this with an Ant retrieve call to get all the profiles and parsing the ...
7
votes
2answers
3k views

How to retrieve action overrides?

Question Is there any trick to retrieving action overrides via the metadata api? Background The docs seem to indicate this is straightforward, just use object dot notation and a type of ...