Questions tagged [ant]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
1k 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
78 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
221 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
137 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
1k 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
148 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 ...
5
votes
1answer
4k 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
2k 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.
1
vote
0answers
85 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
610 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 ...
3
votes
2answers
2k 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
565 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 - ...
7
votes
1answer
1k 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
46 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
4k 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
vote
3answers
20k views

Deployment Issue: An unexpected error occurred. Please include this ErrorId if you contact support: 94477506-8488 (-1165391008)

I am using ANT tool for deploying code into my org and today, when I am trying to deploy the code, it is throwing following exception in about 281 classes: An unexpected error occurred. Please ...
1
vote
2answers
509 views

how to deploy file with brackets in the name using workbench/ant package xml

I have to profile layouts named with brackets in the name. When retrieved the package xml have them listed as: <members>My layout (version 1)</members><br/> and the content of the ...
2
votes
0answers
2k views

Case Status new picklist value deployment error through metadata api

We are trying to deploy some new picklist values on the Case object, on the standard Status field. One of them is the value "On-Hold" included on a new Support process, called "Support" which we are ...
4
votes
1answer
3k views

Report Type – Ant Deployment Errors (Invalid Field Name & Duplicate Value Found)

I am trying to deploy Reports and Dashboards via Ant tool. I get this error for Report Type reports/JMT_Reports/Expiry_and_Renewal_Status.report -- Error: Invalid field name: Lease_Unit__c$...
4
votes
1answer
10k views

Error: “Picklist value in picklist not found” while deploying using ANT

on my account object, I created a picklist field - testPicklist1__c. The picklist field has various values in it. One picklist value is "abc t" & its API name is "abc". I retrieved the Account ...
0
votes
0answers
85 views

Continuous Integration: How To Get Over Common Ant Deployment Issues Which Often Require Manual Intervention

I've deployed many times to SFDC using the Force.Com Migration Tool & Ant. In many cases I often end up having to undertake manual steps to get around issues. An example being Flows. Flows cannot ...
0
votes
1answer
531 views

Ant deployment remove object access for profile

I'm having issue to remove access for objects using ant/eclipse. Currently some profiles have access to Opportunity object (Read/Edit/Create) and I want to remove those access. However, after I ...
1
vote
0answers
455 views

Ant Migration tool - Failed to login

I am trying to retrieve code from salesforce using ant salesforce mignration tool but I am seeing below error. I am running this from a office firewall C:\Continous Integration\sample>ant ...
3
votes
1answer
6k views

ANT deployment of custom field fails - Error: Property 'picklist' not valid in version 39.0

I'm trying to migrate new custom fields to a sandbox using the Salesforce Migration Tool (ANT). Two of the custom fields are picklist fields. And these two fields are causing the error: Error: ...
0
votes
0answers
45 views

Building sandbox based on another sandbox

We have created sandbox and made changes.We want to create copy of this sandbox.What is the fastest way to do this change? I can create one sandbox from prod and apply changesets from this sandbox but ...
0
votes
1answer
493 views

Ant deployment error: Unknown user permission: ManagePartnerNetConn

I got below error during deployment of the profiles. Anyone know what this permission is? Note: in both source and target sandboxes I enabled communities. Meanwhile I removed this permission manually ...
1
vote
0answers
1k views

INVALID_CROSS_REFERENCE_KEY: invalid cross reference id on Ant

Recently made some changes to some of objects turning some from formulas to number fields and vice versa. I added DestructivechangesPre.xml to delete those fields (and in a more extreme manner, after ...
0
votes
1answer
132 views

Eclipse Force IDE: Found read only local file content not in sync with remote instance. Use Synchronize to resolve conflict.

I am trying to update the leads object with new fields I created using force ide. However, whenever I try I get the following error: Eclipse Force IDE: Found read only local file content not in sync ...
2
votes
0answers
66 views

Force.com Migration Tool “Validate Only” causing later compilation errors

We just implemented a new process in our development cycle where code that has been completed is validated against a target org to check that no packaging specific rules have been violated (such as ...
0
votes
1answer
109 views

Public remoted methods not allowed in global components (Batch Job)

I am trying to deploy the APEX code in salesforce ORG using ANT tool but getting following error: components/TestComplete.component -- Error: Previous load of class failed: Class.BR02....
7
votes
2answers
6k views

Run Specific Tests with Ant Deploy specified by command line or file

When deploying with ant you have the option to specify which tests to run, e.g. <target name="deploy"> <sf:deploy username="${sf.username}" password="${sf.password}" ...
6
votes
2answers
7k views

Standard Picklist Fields in Metadata API v39

Standard Picklist Fields were renamed in the Metadata API from "CustomField" (v37) to "StandardValueSet" (v38). Now, in v39 they are back to "CustomField", but when you retrieve one of this Standard ...
7
votes
4answers
4k views

Unknown user permission: ManageSandboxes

Using the Force.com Migration Tool (Ant) v1.9.4 to deploy from one sandbox to another both on Spring '17 results in 21. profiles/Admin.profile -- Error: Unknown user permission: ManageSandboxes 22. ...
2
votes
1answer
813 views

Build.xml setup for continuous integration

I am trying to setup my build.xml to reference the ant-salesforce.jar from my project checkout. The directory structure is similar to this: Project Dir -> src -> ant-salesforce.jar -> build....
4
votes
3answers
5k views

ant deployment fails with “Error: limit exceeded”

I've been running ant deploy all day yesterday on an org of mine with no problems. Before each deployment, I ran an undeploy to delete everything I had deployed previously. In the middle of the day, ...
0
votes
0answers
1k views

insufficient access rights on cross-reference id while deploying package

I am getting below error while deploying package. Insufficient access rights on cross-reference id. I can't even see line number.so I am not able to find issue. Please suggest
2
votes
1answer
612 views

How to enable permission for creating ContentAsset in Bolt Template?

I'm trying to deploy a Bolt Template using ANT. I am able to successfully deploy the template from one dev org into another new dev org. But when I go to deploy into a different org, I run into this ...
2
votes
1answer
1k views

How to retrieve Wave Source files from Eclipse/Ant tool?

I want to retrieve/fetch Wave Source(WaveApplication, WaveDashboard, WaveDataset and etc) files from Eclipse/Ant Migration tool. I tried many times but not getting any single component file. I am ...
4
votes
1answer
494 views

Jenkins Salesforce CI server setup

I have a simple doubt and wanted to get community perspective. I have set up Jenkins for all my Salesforce deployments with Force.com Migration tool. Now it works properly on my local machine without ...
1
vote
0answers
90 views

convert ANT script to Java

I have been digging for almost a week into the forums and S/F Developer pages for good "basic" Java code to retrieve a package from one ORG and Deploy to another ORG. I have had success building the ...
4
votes
1answer
3k views

Issue: Long pending time when deploying to develop org

Related Issue Link Having two develop orgs on NA35. Whenever I deploy using "ant" or "MavensMate" either way the deployment keep pending for long long time. They usually get start after 30+ mins. I ...
2
votes
1answer
3k views

How to deploy Approval processes using ANT migration tool?

I am trying make a deployment using ant, i have an error concerning Approval processes, i am wondering if we can really deploy an approval process using ANT: All Component Failures: 1. package.xml --...
1
vote
2answers
4k views

Deployment Error: Invalid field:** in related list:RelatedAccountContactRelationList

i am trying to deploy a package, i am getting 3 errors (the picture): all these errors seem to be caused by a field called CONTACT.FULL_NAME, is that a valid field or you have another explications ...
0
votes
3answers
23k views

Retrieve and Deploy a workflow using ANT

I am working on some customization for a CPQ product and I have created a workflow to populate some of the fields. I would like to deploy this workflow from the developer sandbox to our fullcopy ...
0
votes
1answer
172 views

Help, how to deploy a xml package?

I am trying to deploy a xml file but i get the following error: 4. objects/Account.object (Account.NbOppsOuvertesAvancees__c) -- Error: Invalid Field: Opportunity.RecordTypeId (line 1607, column 29) ...
0
votes
1answer
1k views

Remove custom field or workflow alert via ant migration tool

Is it possible to remove workflow alerts or custom fields via ant migration tool? If yes: how do I do that? <types> <members>Convention_Approved_Email_Send</members> <...
1
vote
1answer
83 views

Ant metadata api conditional argument

I am updating an ant script to specify a testLevel argument. However we'd like to have this argument be optional. I'm fairly new to ant and wondering if theres a way to conditional see if the ...
2
votes
1answer
3k views

Deployment of translations of custom labels using ANT

We have a very large number of translations for custom labels. could any one guide me in how to create package.xml for deploying translations into new sandbox using Ant. I retrieved translation data ...
1
vote
3answers
1k views

Getting “Failed to login” error while run Ant Migration Tool Target

I'm trying to run Ant Migration Tool Target using Jenkins CI from my server and getting next error: BUILD FAILED /var/lib/jenkins/workspace/<Jenkins Build Job Name>/build.xml:41: Failed to ...

1 2 3
4
5
8