- #Salesforce ant migration tool in windows install
- #Salesforce ant migration tool in windows windows 10
Below are links to SSH instructions and troubleshooting tips for major online git repositories:
cat ~/.ssh/id_rsa.pubįollow the instructions provided by your online git repository to add the SSH key to your account. In your terminal window, display and then select and copy the contents of your public key file. Enter a passphrase and re-enter when prompted.Using Ant Migration tool, No custom object deployed. Press “Enter” on your keyboard to accept the default location Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between.Generate a new key ssh-keygen -t rsa -C " " If you see “No such file or directory”, then there aren’t existing keys. If there are existing keys, copy the contents of your public key file cat ~/.ssh/id_rsa.pub Step 4: Create SSH key and add to Git repositoryĬonnecting to a Git repository with an SSH key will remove the need to enter the username and password when connecting to your online repository.įirst check for existing SSH keys cd ~/.ssh The jar file needs to be updated with each Salesforce release and this is good way to make sure all developers working on a project are using the same version of the metadata API when retrieving and deploying metadata. This works well for multi-developer teams. Add the jar file to the git repository and specify the location of the jar file in each Ant command.The path to that folder in my Linux subsystem is: /usr/share/ant/lib For solo developers or small teams this might be an easy way to get started. Save the file in the lib folder within the Ant directory. Download and add the jar file to the directory where Ant is installed.There are a couple of options for adding the Migration Tool: The Migration Tool is basically a jar file that adds functionality to Ant and enables the ability to retrieve and deploy metadata to/from Salesforce environments.
#Salesforce ant migration tool in windows install
Update the package index and install ant sudo apt-get updateĬheck that Ant is installed ant -v Step 3: Add the Migration Tool Then, install the Java Development Kit (JDK) sudo apt-get install default-jdkĬheck that Java is installed java -version Step 2: Install Ant
#Salesforce ant migration tool in windows windows 10
Windows 10 with the Linux subsystem (WSL) installed.I use the migration tool and git in my daily workflow for Salesforce development and recently tried setting up my local environment on the Linux subsystem that comes with Windows 10.