You need to sign in to do that
Don't have an account?
crazycloud
How can I run Ant Tool?
Hi,
I am trying to run Ant Tool. I have followed the below steps.
Installation
- Download Apache Ant, version 1.6 or newer.
- To ensure that the appropriate environment variables are set for Ant, follow the instructions in Installing Ant.
- From the distribution zip file, copy
ant-salesforce.jar
into your Ant installationlib/
directory. - If your network requires an HTTP proxy, follow the instructions in Proxy Configuration.
Deploying Sample Metadata
- Go to the sample subdirectory.
- Open the build.properties file and substitute a valid Salesforce username and password. If you are using a security token, paste the 25-digit token value to the end of your password. (Note: A Sandbox or Developer Edition organization is strongly recommended for testing).
- Open a command shell and navigate to the sample subdirectory.
- Run
ant test
. This will deploy sample metadata into your Salesforce organization and retrieve it again into a local directory. The sample build.xml contains other targets illustrating various deploy and retrieve options.
In command prompt I have reached till sample directory. Now how can I run “ant test”? There is nothing called “ant test” in the given salesforce zip file.
D:\Softwares\salesforce.com\Ant tool\sample>
Can anybody help me?
the command is 'ant' that should be available if u have installed ant properly. 'test' is a parameter which indicates ant what it has to do.
So, basically you have to type 'ant test' and press [enter].