-
Notifications
You must be signed in to change notification settings - Fork 2
5.6 p2create
Pascal Hürlimann edited this page Mar 9, 2020
·
2 revisions
This task deprecates the Jazz P2 Repository Converter. It is used to create a local P2 repository for an rtc sdk, which is necessary for enabling local maven builds for rtc plugins. Multiple p2 repositories can be created, but only one can be used at any given time. Use the p2use task for switching between p2 repositories. The Info lists p2 repositories that have already been created.
At least one RTC Server SDK must have been copied to the jde/sdks
folder.
p2create takes one parameter, --sdk
, for choosing which version of the RTC SDK should be used to create a p2 repository. If now arguments are passed, the latest version in the jde/sdks
directory will be used.
- To create a p2 repository for a given sdk, run
./gradlew p2create "--sdk=6.0.6.1"
Warning: This will take a consierable amount of time to run.
- (Optional) Once the task has finished running, you can check if the repository has been created by running the
./gradlew info
task. The p2 repository must show up in theAvailable P2 repository URLs
section:
Example output:
Available P2 Repository URLs:
file:/home/sbi/workspaces/jazz/jazz-development-environment/jde/p2repo/6.0.6.1
- To use local p2 repositories, refer to the p2use task.