Salesforce支持三种Deployment方式 之 ANT
来源:互联网 发布:云计算专业大学排名 编辑:程序博客网 时间:2024/06/08 10:36
Salesforce支持三种Deployment方式
1. Outbound change set
2. Eclipse plug in
3. ANT
本文介绍使用ANT的基本步骤.
<1> Preparation
2. JAVA installed
3. SVN and Subversion installed<Optional>
4. Cygwin or MKS<Optional>
5. JAVA SVN Env Variales added to your computer
6. salesforce-ant.jar in the root folder for the ant installation
7. 7-Zip installed<Zip static resources to UNIX format, Optional>
<2> Steps
1. Create build.properties file:
-----------------------------------------------------------------------------------------
# build.properties
#
# Specify the login credentials for the desired Salesforce organization
sf.username = xxxxx
sf.password =xxxxxx..................................
# Use 'https://www.salesforce.com' for production or developer edition (the default if not specified).
# Use 'https://test.salesforce.com for sandbox.
sf.serverurl = https://www.salesforce.com
# If your network requires an HTTP proxy, see http://ant.apache.org/manual/proxy.html for configuration.
#
-----------------------------------------------------------------------------------------
2. Create package.xml file:
-----------------------------------------------------------------------------------------
?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>ApexClass</name>
</types>
<types>
<members>*</members>
<name>ApexTrigger</name>
</types>
<version>23.0</version>
</Package>
-----------------------------------------------------------------------------------------
<3> More information can be found about the base level ant preparation in the standard Salesforce documentation:
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_deploying_ant.htm
http://www.salesforce.com/us/developer/docs/daas/salesforce_migration_guide.pdf
- Salesforce支持三种Deployment方式 之 ANT
- ANT property三种使用方式
- struts2支持三种验证方式
- Ant、Gradle、Python三种打包方式的介绍
- ANT教程之三 Ant构建文件
- SQL SERVER 2005 支持三种方式的备份/恢复
- JDK 8中支持的三种多线程方式
- 新版Iconfont-阿里巴巴矢量图标库支持三种引用方式
- salesforce之chatter
- salesforce之json
- salesforce开发----Date format方式
- Ant之build.xml(三)
- ExpandableListView的三种方式之
- vmware上网之三种联网方式
- Android之LayoutInflater三种方式分析
- 获取网络图片之---三种方式
- js 基础之三种申明方式
- tomcat之三种部署方式
- 杨辉三角形
- ubuntu11.04 安装QQ2012
- 使用Flash(Flax)post方式跨越请求的Extjs4代理(Proxy)的实现类
- silverlight页面间跳转
- asp.net response.ContentType 下载文件的四种方法
- Salesforce支持三种Deployment方式 之 ANT
- Windows-tree命令生成目录树
- 基础总结篇之四:Service完全解析 (转载liuhe688)
- POJ 3278 Catch That Cow
- Getting Started with Continuous Integration
- linux大内存页 HugePages on Linux
- 使用python显示被恶意隐藏的文件夹
- SDRAM与DRAM
- JAVA 多线程(Z)