Topic

Environment

  • Make sure you can login your sfdc. Test it : SFDC-XY > Login SFDC

Save a module

Open the source.

1540519797063

Right Click , SFDC-XY Toolbox> Save Module(From Open Files)

1540519843822

Input your save path

1540519944813

Check your module

1540521537775

Deploy your module

fix your target sfdc info

open build.properties

sf.username = {username}
sf.password = {password}
#sf.sessionId = <Insert your Salesforce session id here.  Use this or username/password above.  Cannot use both>
#sf.pkgName = <Insert comma separated package names to be retrieved>
#sf.zipFile = <Insert path of the zipfile to be retrieved>
#sf.metadataType = <Insert metadata type name for which listMetadata or bulkRetrieve operations are to be performed>

# Use 'https://login.salesforce.com' for production or developer edition (the default if not specified).
# Use 'https://test.salesforce.com for sandbox.
sf.serverurl = {serverurl}
sf.maxPoll = 500
sf.pollWaitMillis = 10000
# If your network requires an HTTP proxy, see http://ant.apache.org/manual/proxy.html for configuration.
#

windows

only check your code: click deployCodeCheckOnly.bat only!

deploy your code: click deployCodeRunLocalTests.bat only!

Linux/Mac

only check your code

ant deployCodeCheckOnly

deploy your code

ant deployCodeRunLocalTests