Skip to content

5.0 Tasks

Pascal Hürlimann edited this page Jun 28, 2020 · 6 revisions

More detailed explanation on tasks and why they're there. This includes some examples on covered use cases, especially the optional task arguments. All task descriptions refer to the command line interface. However, gradle plugins will generally support the same features. See Using IntelliJ for examples, such as how to pass arguments to tasks.

Task Summary

Task Name Example Usage Description Options
bootstrap ./gradlew bootstrap Creates the folder structure required for using the jazz development environment none
upgrade ./gradlew upgrade Upgrade your local installation to the newest version of the jazz development environment. Always run this after doing a git clone or otherwise updating your environment. none
setup ./gradlew setup Creates a runtime for an sdk. Defaults to using the newest available version. --sdk, for choosing which sdk version to run. eg: ./gradlew setup --sdk=6.0.3
info ./gradlew info Prints information about the current JDE setup, such as available sdk versions, setup runtimes and configured plugins. none
run ./gradlew run Runs a development instance of jazz on a jetty server. Debugging port is opened on 9999, web interface is available on https://localhost:7443/jazz -Pruntime, for choosing which runtime to start, eg: -Pruntime=6.0.3
backup ./gradlew backup Creates a zipped backup of user files in the jde directory. --mode, for choosing which files are backed up. eg: ./gradlew backup --mode=user.
p2create ./gradlew p2create Create a P2 repository from a zipped RTC SDK. --sdk, for choosing which sdk version to use for creating the P2 repository. eg: ./gradlew p2create --sdk=6.0.6.
p2use ./gradlew p2use Change or print maven settings.xml file for activating a P2 repository for java builds. --sdk, for choosing which version of the p2 repository is to be used. eg: ./gradlew p2use --sdk=6.0.6.
initialize ./gradlew initialize Initialize an Eclipse Plugin Development Environment with the newest available sdk. none
ide ./gradlew ide Run the previously initialized Eclipse Instance using the latest SDK as the target environment. none
release ./gradlew release Creates and publishes new distributable files for the initialized sdk. Used to make new SDK versions available for developers none
download ./gradlew download Downloads artifacts requried for plugin development --sdk, for choosing which sdk version to download artifacts for, --dropins for optionally downloading eclipse dropins required for creating a new release
jts ./gradlew jts Create an integration test environment provisioned with a minimal Jazz Team Server configuration. --server=VERSION, default=latest, for choosing which JTS version to use as a starting point for integration testing.
deploy ./gradlew deploy Deploy packaged plugins to available JTS integration environments none
Clone this wiki locally