GithubHelp home page GithubHelp logo

thelady / dataloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from forcedotcom/dataloader

0.0 1.0 0.0 109.43 MB

apex data loader

License: BSD 3-Clause "New" or "Revised" License

Shell 0.85% Java 97.78% PLSQL 0.18% Batchfile 0.68% Python 0.52%

dataloader's Introduction

Notes for Data Loader v45.0.0 and later

Data Loader v45 and later is built with JDK 11 and requires a 64-bit operating system. Install JRE 11 or later before installing Data Loader. See instructions further down to install via scripts.

Data Loader v44 is the last version built with Oracle Java 8. Developers can check out code from the branch “DataloaderV44Release”. End users can download v44 or older from this project’s “releases” tab.

Java Requirement

Developers need to use JDK 11 or later such as Zulu OpenJDK before building Data Loader.

Build Data Loader

git clone [email protected]:forcedotcom/dataloader.git
cd dataloader
git submodule init
git submodule update
mvn clean package -DskipTests -DtargetOS=<windows_x86_64 | macos_x86_64 | macos_arm_64 | linux_x86_64>

NOTE: Specify one and only one of the targetOS values listed above.

The build will include the appropriate eclipse swt jar by detecting your operating system type. If you would like to manually specify the eclipse swt jar, take a look at the pom.xml file to see a full list of available profiles.

Note: Salesforce officially supports Data Loader for 64-bit Windows and macOS. Any other platforms that Data Loader can be compiled for are unofficial.

For macOS and Windows, the build will generate needed JARs in the target directory.

Execute Data Loader

To run the Data Loader GUI, run the command

java -jar target/dataloader-x.y.z-uber.jar

Use the command below to run the Data Loader GUI on Mac

java -XstartOnFirstThread -jar target/dataloader-x.y.z-uber.jar

To run data loader for debug

java -XstartOnFirstThread -jar -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005  target/dataloader-x.y.z-uber.jar

To run Data Loader in Batch mode on Windows, see Batch mode for Windows platform. Batch mode is supported only on Windows platform.

Data Loader can be executed in Batch mode on other unsupported platforms using the following command:

java -jar target/dataloader-x.y.z-uber.jar run.mode=batch process.name=<process name> salesforce.config.dir=<path to config dir containing process-conf.xml and config.properties files>

Commands to encrypt password:

java -cp target/dataloader-x.y.z-uber.jar com.salesforce.dataloader.security.EncryptionUtil -k <path to keyfile>
java -cp target/dataloader-x.y.z-uber.jar com.salesforce.dataloader.security.EncryptionUtil -e <password in plain text> <path to keyfile>

In case you experience "Invalid Api version specified on URL" on login, you need to change the Api version in pom.xml to specify the WSC version of your server. Simply change the following line and rebuild the project:

...
    <force.wsc.version>53.0.0</force.wsc.version>
...

Execute Data Loader With Scripts for v45 and Later

Launch scripts are provided to help end users launch Data Loader for Windows and macOS. Zip files are provided for macOS and Windows environments in the project's "releases" tab. There are specific installation instructions for macOS and Windows.

A new directory called "release" was added to the project’s root directory. Developers can build Data Loader and place the dataloader-x.y.z-uber.jar inside "release/mac" or "release\win" directory to launch a customized build.

Test Data Loader

See the testing wiki

Resources

For more information, see the wiki, or the Data Loader Developer's Guide.

Questions can be directed to the open source forum.

Dependencies and plugins

Update SWT by running python3 <root of the git clone>/updateSWT.py <root of the git clone>. Requires python 3.9 or later.

All other dependencies and plugins are downloaded by maven from the central maven repo. Run mvn versions:display-dependency-updates to see which dependencies need an update. It will list all dependencies whose specified version in pom.xml needs an update. Run mvn versions:use-latest-releases to update these dependencies. Run mvn versions:display-plugin-updates to check which plugins need an update and update their versions manually.

dataloader's People

Contributors

ashitsalesforce avatar xbiansf avatar rjmazzeo avatar federecio avatar diracz avatar superfell avatar jjang-sfdc avatar apoorvashenoy avatar tggagne avatar dsiebold avatar ahalevy avatar jjangsfdc avatar dpham avatar jjinsfdc avatar gnguyen-sfdc avatar jthurst01 avatar jefflai avatar john-brock avatar brytonpilling avatar vividboarder avatar colin-jarvissfdc avatar ccotofanasf avatar dmtroyer avatar oakninja avatar 0ff avatar kthompso avatar kenichi-ando avatar kinstella avatar matinlotfali avatar reubencornel avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.