Force Connector For GAE /

Filename Size Date modified Message
build-tools
codegen
connector
doc
javasdk-test
jpa
oauth
springsecurity
src
120 B
1.5 KB
179 B
32.8 KB

Database.com SDK for Java

For more information on how to use the Java SDK, please read our documentation at http://forcedotcom.github.com/java-sdk/force-sdk-overview

How to build

The Database.com SDK is built using Maven version 2.2.1. Make sure you have the correct version of Maven installed on your system before attempting to build.

Run the following maven command to build from source without running any tests

mvn clean install -DskipTests

Run the following maven command to build from source and run only unit tests

mvn clean install

In addition to unit tests, there are functional and integration tests located in the javasdk-test submodule. Before running the functional and integration tests, you'll need to supply test org credentials in the properties file javasdk-test/qa-utils/src/main/resources/force-sdk-test.properties

Run the following maven commands to compile and run all tests (unit, functional and integration)

mvn clean install -DskipTests -DincludeTestModules
mvn clean verify -DincludeTestModules

You can run specific test suites by changing your working directory to a test submodule directory, such as javasdk-test/force-jpa-test/ , and then running the following maven command

mvn verify

Keep in mind that you still must run <code>mvn clean install -DskipTests -DincludeTestModules</code> from the root directory of the project before running any tests in the javasdk-test submodules, otherwise tests may fail.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.