Questions tagged [ant]

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

Filter by
Sorted by
Tagged with
4
votes
2answers
2k views

Deployment Error: Property 'activateRSS' not valid in version 28.0

I am using ANT to deploy a custom package which includes custom code and managed packages. I have deployed the custom package to multiple environments without any issues but I am now facing the ...
0
votes
1answer
71 views

ANT issue on Mac

I'm not even tryin to do a deploy. All I am doing is a retrieve. No deploy yet. The error is: Failed to send request to https://${sffrom.serverurl}/services/Soap/u/43.0 Ant in verbose mode ...
1
vote
1answer
85 views

How to get all failures at once in ant migration tool?

does any know how to get all failures at once in ant migration tool when deploying? it gives a subset of failures each time when you try to deploy.
-2
votes
1answer
339 views

How to deploy bitbucket framework to Sandbox? [closed]

How to deploy bitbucket framework to Sandbox? I cloned my bitbucket branch and I have a copy on my desktop. How do I get the javascript framework I copied to Salesforce sandbox? I read the ...
0
votes
0answers
143 views

How to handle code dependency while deploying code?

Here is a scenario what I have, I have two dev org (development, Testing), one Bitbucket repository and AWS EC2 that contain Jenkins with ANT migration tool. I am not able to move all code in one ...
1
vote
1answer
303 views

How to ANT refresh developer sandbox with Production metadata?

I do understand that a dev sandbox can be refreshed from a production org via the Setup UI. However, I want to be able to refresh my dev sandbox with the production org GIT repo (SFDC_REPO) so I can ...
0
votes
1answer
376 views

ANT Migration to add namespace to packaging org? [closed]

I have two dev org one where I did code and other is packaging org where I have to create a managed package. How can I configure ANT tool with build.xml and build.properties files to add the ...
1
vote
1answer
613 views

Fatal Error on a deployment to Production

Trying to validate a change to our Prod org, but it keeps failing with H:\workspaces\EmergingMarkets\build.xml:19: Failed to process the request successfully. Cause(UNKNOWN_EXCEPTION): ...
1
vote
1answer
699 views

Add Custom profile name to Package.xml

I have been searching through a way add custom profile names in to Package.xml file. According to my scenario i shall add custom profiles only instead of all other standard profiles. Sample custom ...
1
vote
0answers
191 views

Dealing with different user permissions in different orgs when deploying profiles

I am trying to add profiles to our repository and use that to deploy to different orgs. The problem I'm dealing with is that each org has different user permissions and a user permission may work in ...
0
votes
1answer
336 views

java.lang.ClassNotFoundException: com.salesforce.ant.DeployTask$CodeNameElement

I'm trying to implement running a list of tests as per this link Run Specific Tests with Ant Deploy specified by command line or file and passing the list of tests as a parameter ${tests}, but am ...
1
vote
1answer
41 views

My Ant scripts stopped to work in the last few days. Could it be related to TLS 1.0 disablement?

My scripts have been working for years. I made no changes. Token and pass are fine. Last known successful run was about 15 days ago - around 2018-04-10. Today I got Failed to login: Failed to send ...
1
vote
1answer
1k views

What is the best way to mass update the field labels of a custom object in Salesforce?

I have a requirement to update the field labels of 200 fields in a custom object and mass delete another 100 fields. what is the most time efficient way to accomplish this? I read a post that said ...
4
votes
1answer
349 views

Can't pull down the “manage external users” permission metadata for profiles

I want to be able to store the "manage external users" permission for profiles in a repository, but I haven't be able to identify what metadata tag is associated to it. Every time I deploy to an org ...
2
votes
0answers
510 views

Managed Package: Differences between quick actions and “Error: Cannot modify managed object: entity=QuickActionDefinition”

I have got a managed package, which I install on developer org to test it. After installation I can surely see the differences between the quick actions, which I've on my testing org and on the org ...
2
votes
1answer
2k views

Ant migration tool failing to retrieve process builder flows using sf:retrieve command

I am trying to retrieve Process builder flows from sandbox org using Ant migration tool and it is failing to retrieve flows with this message : [sf:retrieve] package.xml - Entity of type 'Flow' ...
0
votes
0answers
566 views

Entity of type 'WorkflowFieldUpdate' named 'Document.Updates_delivery_date' cannot be found

I am getting below error while retrieving the following compoent package.xml - Entity of type 'WorkflowFieldUpdate' named 'Document.Updates_delivery_date' cannot be found Here is the package.xml &...
0
votes
0answers
21 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
99 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
1k 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
376 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
6k 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
25 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
4k 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
2k 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
69 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
1k 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
608 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 ...
2
votes
0answers
563 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
192 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
590 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
1k 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
629 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
304 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
906 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
441 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:...
8
votes
2answers
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
94 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
278 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 ...
1
vote
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
3k 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
2answers
443 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
2k 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
285 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
844 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
2k 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
52 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
8k 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 2
3
4 5
8