All Projects → financialforcedev → Df12 Deployment Tools

financialforcedev / Df12 Deployment Tools

Licence: bsd-3-clause

Labels

Projects that are alternatives of or similar to Df12 Deployment Tools

Sfdc Convert Attachments To Chatter Files
📎 Easily migrate your Attachments to Salesforce Files.
Stars: ✭ 72 (-35.71%)
Mutual labels:  apex
Sirono Common
Common Apex utility classes and frameworks used by Sirono products
Stars: ✭ 87 (-22.32%)
Mutual labels:  apex
Apex Unified Logging
Platform-Event-based Apex logger for unified logging over transaction boundaries
Stars: ✭ 101 (-9.82%)
Mutual labels:  apex
Visualforce Typeahead
A flexible typeahead component for use on Visualforce pages. Uses the typeahead.js library from Twitter.
Stars: ✭ 73 (-34.82%)
Mutual labels:  apex
Batch Entry For Salesforce.com
jQuery-based quick entry screen that works with any object. Highly configurable and flexible.
Stars: ✭ 82 (-26.79%)
Mutual labels:  apex
Awesome Low Code
Awesome Low-Code Application Platforms | 全球低代码平台开发资源大全
Stars: ✭ 90 (-19.64%)
Mutual labels:  apex
Cinnamon
Cinnamon is a Force.com app that enables you to build and run Selenium tests to validate custom UI pages with Visualforce/Javascript in your Salesforce org.
Stars: ✭ 70 (-37.5%)
Mutual labels:  apex
Testdatafactory
The ultimate Apex Test Data Factory 🏭
Stars: ✭ 108 (-3.57%)
Mutual labels:  apex
Dialogue Generation
Generating responses with pretrained XLNet and GPT-2 in PyTorch.
Stars: ✭ 86 (-23.21%)
Mutual labels:  apex
Vim Force.com
Vim plugin for force.com
Stars: ✭ 98 (-12.5%)
Mutual labels:  apex
Processbuilderblocks
apex invocable methods for use in Process Builder
Stars: ✭ 77 (-31.25%)
Mutual labels:  apex
Apextestkit
A way to simplify your Salesforce data creation.
Stars: ✭ 80 (-28.57%)
Mutual labels:  apex
Sfdx Travisci
Stars: ✭ 95 (-15.18%)
Mutual labels:  apex
Connectapihelper
Helper class that makes it easier to post Chatter @-mentions, rich text, and inline images with Apex code.
Stars: ✭ 72 (-35.71%)
Mutual labels:  apex
Easy Spaces Lwc
Sample application for Lightning Web Components on Salesforce Platform. Part of the sample gallery. Event management use case. Get inspired and learn best practices.
Stars: ✭ 104 (-7.14%)
Mutual labels:  apex
Apex Dml Manager
Enforces CRUD/FLS in the least disruptive way possible
Stars: ✭ 70 (-37.5%)
Mutual labels:  apex
Automated Testing For Force.com
Salesforce testing automation runs all tests and emails your team. Native Force.com Apex code delivers lightweight Salesforce continuous integration.
Stars: ✭ 88 (-21.43%)
Mutual labels:  apex
Sfdx Dreamhouse
Stars: ✭ 110 (-1.79%)
Mutual labels:  apex
Zippex
Native Apex Zip library for Salesforce.com
Stars: ✭ 106 (-5.36%)
Mutual labels:  apex
Force Dot Com Esapi
Enterprise Security API for the Apex language on the Force.com platform.
Stars: ✭ 98 (-12.5%)
Mutual labels:  apex

Deployment Tools

Overview

  • src, build.xml
    • A reference force.com application showing how the tools can be utilized
  • lib
    • Contains the various jar files and Ant XML files that make up the tool
    • Also includes ant-salesforce.jar (v30.0), no need to copy this to your local Ant install!

Update March 2015

  • Added target for running a list of comma separated tests

Update January 2015

  • Added automatic package.xml generator

Update August 2014

  • Added support in undeploy for Custom Actions
  • Refactored the sample app and tools to avoid using relative paths and use ${basedir}

Update June 2014

  • Removes Case Escalations and Assignments components
  • Does not attempt to remove Standard Applications
  • Supports both standard DE orgs (from developer.salesforce.com) and Partner DE orgs
  • 100% Ant native, removed requirement for custom Java class, ExecAnon now implemented natively in Ant script
  • Removed need for modified ant-salesforce.jar (PurgeOnDelete now supported!)
  • Resolved issue with deployment of some layouts (during undeploy phase) such as the Social layout
  • Updated to use API v30.0

Update July 2013

  • Undeploy script update. New component types, deals with fieldsets and related list filters

The reference example

The src and datasets directories and build.xml contains an example force.com application.

  • /src
    • this directory holds the sample app used in to demonstrate the tools
  • /datasets
    • this directory holds some samples of apex scripts used by the "Execute Anonymous" process.
  • /build.properties
    • this file is where you will enter your salesforce user name and password
    • include your security token with the password, if your security settings require this
  • /build.xml
    • this is a reference example of an ant build file that utilizes the tools, including cleaning an org!
    • If you already have a build script for your project, you can simply include the various xml files to add functionality to your build.
    • Note the four include file statements, these include the four basic ant targets covered in the session

To call the sample build.xml provided, run the following command.

ant RunEverything -Dsf.username=yourusername -Dsf.password=yourpasswordyourtoken

Or update the build.properties file with your user name, password and token and just run...

ant RunEverything

NOTE: This sample build script eventualy ends with test failures, this is intentional to demonstrate the RunTests target

Using the build file (targets)

If you've included all for of the .xml files from the lib folder (as shown in the example build.xml) then you will have access to the following ant targets:

  • undeploy
    • used to remove all metadata from the org.
    • usage: ant undeploy
  • deploy
    • used to deploy the application found in the "src" folder along side of the build.xml
    • usage: ant deploy
  • ExecAnon
    • can be used to execute anonymous apex from the command line
    • usage: ant "-Dwhat=Account a = new Account();a.Name='test';insert a;" ExecAnon
    • usage: ant "-Dwhat=delete [SELECT Id FROM Object1__c];" ExecAnon
  • ExecAnonScript
    • can be used to execute a anonymous apex script from the command line
    • usage: ant "-Dwhat=datasets\basic.txt" ExecAnonScript
    • Or create an ant target that maps to your dataset and excute that ant target (see the build.xml for 4 examples)
  • RunTests
    • used to execute all unit tests and outputs the results to a file.
    • usage: ant RunTests
  • RunSpecifiedTests
    • used to execute specified unit tests and outputs the results to a file.
    • usage: ant "-Dtests=FIRSTTEST,SECONDTEST" RunSpecifiedTests
  • generatePackage
    • used to automatically generate the package.xml file based on all files in the stage folder (src).
    • usage: ant generatePackage

lib

The lib folder contains all of the items required to use the deploy tools, including:

  • Five Ant xml scripts to be included in your build file
  • Various jar files needed to support some custom Ant tasks used by the scripts
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].