Questions tagged [ant]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

objects/TxConfiguration__c.object (TxConfiguration__c.W_Page__c) — Error: duplicate value found: <unknown> duplicates value on record with id: [duplicate]

I am using ANT Build too to migrate the Custom Object Named as All Component Failures: 1. objects/TxConfiguration__c.object (TxConfiguration__c.W_Page__c) -- Error: duplicate value found: ...
5
votes
1answer
79 views

Issue with re-creating a Big Object with the same API Name

As part of a POC, someone had created a big object called StatusTracking__b. After a few stuff-ups they ended up keeping StatusTracking3__b in the system. The time has come for things to get ...
0
votes
0answers
618 views

Salesforce Ant - Deployment for Process Builder

Added following snippet to you src/package.xml <!--TO_REMOVED--> <types> <members>My_Flow-33</members> <name>Flow </name> </types> <...
2
votes
1answer
316 views

Ant migration tool edits package.xml?

When I run the ant migration tool, it is editing my package.xml file. Weirdly, all it is doing is re-arranging it -- moving tags around -- but it concerns me because it doesn't seem like running the ...
2
votes
4answers
3k views

Visual Studio Code - Retrieve Org

I'm a new at a company that does not have their org backed up. I'm trying to get it into github. I'm working with VSC and I added the ForceCode extension but it fails to pull standard objects. Could ...
1
vote
0answers
23 views

Ant Migration Tool - Only show test names in log

I'm setting up a CI/CD workflow for Salesforce using Jenkins and the Ant Migration Tool. I'd like to be able to quickly glance at the console output and/or log and see the names of tests that are ...
4
votes
2answers
2k views

How can I deploy with Ant and run tests but ignore code coverage?

My team sometimes has a release process that requires deploying multiple packages in stages. We want to make sure that the system remains stable at the end of each of these deployments by running a ...
3
votes
1answer
1k views

Unable to migrate Custom Metadata settings using ANT in salesforce

I was looking to Migrate the Custom Metadata settings from Dev to SIT box. For that I created the following package.xml. I have total 5 different custom metada setting <?xml version="1.0" encoding=...
1
vote
1answer
55 views

Is it possible to deploy just the shell of an object (without fields) in ant?

As per title, is it possible to just deploy an object to an org, without any fields on it? This is a bit of an XY problem though. I'm actually trying to create an object in a dev org based on an ...
6
votes
1answer
525 views

Release community, A site with those parameters is already in use

We have created a community in a sandbox and would like to release it using ANT or Change sets. But we are now getting an error: A site with those parameters is already in use. I realize now that we ...
0
votes
1answer
487 views

Error deploying a public source code to my dev org

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 ...
1
vote
0answers
370 views

How can I view my test classes debug logs of an ant deploy

I have about 20 classes that I deploy to production via ant. Some of my test classes fail. I want to view the debug logs but I cannot find the way to look at the logs of my ant deployment. Any help ...
2
votes
1answer
155 views

ANT migration tool - fail to deploy to sandbox

When I use ANT to deploy to sandbox, I got the following two errors: API Name Type Line Column Error Message Custom System Administrator Profile ...
3
votes
1answer
500 views

Using DX Scratch Orgs to deploy code with legacy ant scripts

We are considering migration of our managed package development process to Salesforce DX. But we are definitely not ready yet to transform our code base and use full potential of SFDX, but still ...
2
votes
1answer
988 views

Jenkins CI with Salesforce: how to generate package.xml which only contains changed metadata files

To automate our salesforce development flow, we are using Git + Jenkins + Ant to deploy all committed changes to target organization. It works fine! But the only big problem is that all metadata files ...
0
votes
1answer
427 views

Failed to login: Failed to send request to https://test.salesforce.com/services/Soap/u/41.0

I am having hard time during code retrieve from source org through ANT. I don't have proxy enabled and the username and password+security token is also correct but still I am getting below error C:\...
0
votes
0answers
256 views

How to deploy only changes from sandbox to production instead of all data from package.xml file?

I have a jenkins setup with bitbucket and using ANT migration tool how to deploy only changes into production in CI instead of deploying changes manually. Thanks,
1
vote
1answer
2k views

Error: No package.xml found using ANT deploy

I'm trying to deploy an Apex Class from one org to another. I get this error: All Component Failures: 1.package.xml -- Error: No package.xml found package.xml <?xml version="1.0" encoding="...
0
votes
2answers
681 views

How to deploy only changes to other salesforce org using ANT migration tool instead of deploying all data?

First time i'm deploying the all the salesforce org details from one org to other. for the secong time i have changed something and deploying it again deploying all details instead of ...
0
votes
1answer
334 views

Jenkins Build Failure

I'm receiving this error when trying to run a Jenkins Job. The file configuration seems to be valid. What steps should I take to troublshoot this issue? Problem: failed to create task or type antlib:...
7
votes
1answer
2k views

error deploying entitlement process via ant migration tool and changeset

I'm trying to deploy a new version of an existing entitlement process from one dev sandbox to a full copy sandbox using the ant migration tool. <Package> <types> <members&...
0
votes
2answers
2k views

Deployment error - dependent.class.invalid not found

I am deploying salesforce components using ANT and I am seeing this strange error and don't know what exactly it means by. I have included all the dependent components. Please let me know if anyone ...
0
votes
1answer
74 views

Deployment of metadata between 2 orgs using ANT

I'm deploying custom objects data from OrgA o OrgB using ANT tool which left me in never ending scenario on what to deploy 1st. Here is my scenario: I got OrgA which contains custom fields in Managed ...
0
votes
1answer
224 views

Force.com migration tool is not working after git auto packing repository

I am using git and force.com migration tool for deploying code into sandbox. It was working correctly for many days (including todays morning) until git automatically started to 'Auto packing the ...
0
votes
1answer
1k views

Error deploying QuickAction to Campaign

I have a QuickAction that I'm trying to deploy (using Ant) to a new Developer org. The quick action creates a new child Campaign and uses the ParentId field. Also, this quick action exists in other ...
3
votes
1answer
2k views

How do I migrate default home flexi page assignment from one organization to another using ANT Migration Tool?

I have FlexiPage Home_Page_Default.flexipage assigned as Default Home Lightning Page for all profiles in one sandbox. I need to migrate it to another sandbox and assign as Default Home Lightning Page ...
1
vote
1answer
338 views

How to Migrate Assigned Connect App thing in Permission set?

We have assigned DataLoader Bulk, Dataloader Partner & Workbench connected app to a permission set in our DEV sandbox. But while retrieving permission set using below package.xml (with ant), ...
0
votes
0answers
1k views

BUILD FAILED - Failed to login: Failed to send request to https://test.salesforce.com/services/Soap/u/41.0

I have ant setup running on my system from long time, Suddenly when i tried to run deployment commands in my system all were failing with below error message. deployCode: [sf:deploy] Note: use ...
1
vote
0answers
257 views

How to deploy unmanaged package using the ANT Migration Tool

We are trying to deploy an unmanaged package we are developing within a Developer org to a separate sandbox using the ANT Migration Tool. Im using the following to retrieve the package... <target ...
0
votes
0answers
767 views

Cause :UNKNOWN EXCCEPTION, Invalid Cross Reference ID During ANT undeployCode

I am trying to remove a class from my QAT using destructive.xml ANT script and getting the following exception. Failed to process the request successfully. Cause(UNKNOWN_EXCEPTION): ...
1
vote
1answer
1k views

Error: Unknown user permission: ViewPlatformEvents

How do I get this permission in my sandbox? It's causing errors in Jenkins deployments because it exists in all our developer sandboxes, but not in the developer pro sandbox where we are all ...
0
votes
1answer
32 views

Salesforce Production Deployment Test Class Error out

As we all know for production deployment , Test classes will be automatically running , right !!! . We have issue with that . Half of our test classes are failing because of access issues . Things ...
1
vote
2answers
6k views

No package.xml found: I am trying to deploy applications, classes, components, objects, pages etc from one sandbox to another

I am unable to deploy the retrieved customizations from Sandbox. Please help. Source: Developer Pro Sandbox Destination: Developer Sandbox (dev sandbox is only for trial purpose, I need to deploy ...
1
vote
1answer
569 views

How to Deploy Search Layout Containing Custom Fields

I'm trying to deploy a PricebookEntry object containing a SearchLayout which contains standard and custom fields however I'm having issues when I include a custom field. The following is what ...
0
votes
1answer
72 views

java.lang.VerifyError: (class: com/salesforce/ant/SFDCAntTask, method: doLogin signature: ()Lcom/sforce/soap/partner/LoginResult;)

C:\Users\rajiv\Downloads\salesforce_ant_40.0\sample\build.xml:14: java.lang.VerifyError: (class: com/salesforce/ant/SFDCAntTask, method: doLogin signature: ()Lcom/sforce/soap/partner/LoginResult;) ...
1
vote
1answer
163 views

“Previous load of class failed”, “Invalid type” for inner interface

I'm experiencing the following error during the test phase of a (check-only) ant deployment: line -1, column -1: Previous load of class failed: ComplimentaryTestDomain: line 1, column 75: ...
0
votes
0answers
120 views

Migration tool - undeployCode - Runnning test classes?

I am trying to delete some triggers from Production environment using ant migration tool. I have setup everything correctly and tested other commands like retrieveCode which work as expected. I tried ...
0
votes
0answers
844 views

Picklist value: Customer in picklist: Type not found

I am trying to deploy picklist values via ANT but I am facing this error for all the new values in the picklist. What do I need to add or remove to be able to deploy change Error message is as ...
3
votes
2answers
116 views

Is it possible to update and upload package upon code commit to Git?

I'm using CircleCI to run tests. I have a Git branch. After a feature is done, the work is committed and pushed to the branch. CicrleCI build and run tests. What would be great is to update Managed ...
3
votes
1answer
2k views

Migrating Connected App - Ant Deployment Error

I am getting the below error when I deploy connected app using ANT. Do you guys have any idea, why this error occurs and whats the solution to migrate via ANT. Error: The consumer key is already ...
2
votes
1answer
1k views

Custom field migration issue

I am trying to move a lookup field but I am getting an error: referenceTo value of 'xxxxxx__c' does not resolve to a valid sObject type.
0
votes
1answer
737 views

ant deploy unable to find valid certification path to requested target

I'm connected to a corporate network and getting this error when trying to deploy to salesforce using Ant. Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find ...
1
vote
0answers
66 views

Fields of an Object retrieved using Ant has <encrypted> property

I retrieved an object using ant tool using retrieveUnpackaged command.I retrieved this from a higher environment of my project.. say the SIT environment(Full Sandbox). On looking at the fields( text ...
2
votes
1answer
538 views

What version of ant-salesforce.jar am I using?

Is there a way for me to determine what ant-salesforce.jar file I'm using? My client uses TeamCity which internally uses the JAR file provided by Salesforce. We're trying to determine what Salesforce ...
2
votes
2answers
1k views

How To Retrieve LeadConvertSettings with Force.com Migration Toolkit

I've been trying to retrieve Lead Conversion field mappings in order to add them to Metadata for deployment. I noted in https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/...
1
vote
1answer
374 views

Migrating Connected App , Auth. Provider and Named Credential

I have recently implemented Oauth authentication for one of the integration in my Salesforce Dev org. I have different env in the project- Dev,SIT,QA,Prod. I want to migrate the configuration - ...
6
votes
1answer
926 views

are there alternatives to Salesforce ANT

Today, we are using the combination of Jenkins and the Salesforce ANT migration toolkit. The problem is that all our other projects in the company are not using ant anymore and have moved to either ...
1
vote
0answers
43 views

How to change the lead layout to default layout using ANT

I have a requirement to enable the default button for Lead Layout using ANT tool. This is my Package.xml file <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/...
0
votes
2answers
2k views

How to deploy Path

I'm trying to deploy custom Path using ANT. I have deployed the pathAssistant and the flexipagemetadata but the Path is still not visible in setup nor on page layout. I can see that pathAssistant ...
0
votes
2answers
2k views

Ant deployment throwing error “The version of the flow you're updating was active and can't be overwritten” [duplicate]

I am trying to migrate all Process builders from one instance to other, the target instance already has few flows available which are active.I inactivated all of them and trying to deploy the package ...

1 2 3 4 5 8