IDEasy
supports to automatically check out and import required git repositories (with your source-code) into your IDE during project creation.
Note
|
Please do not mix this feature with the settings repository that contains the configuration for your IDE. Here we are talking about git repositories for development in your project that typically contain code. |
To configure this you put a .properties
file for each desired project into the repository
sub-folder in your settings.
Each .properties
file describes one "project" which you would like to check out and (potentially) import:
path=myproject
workingsets=Set1,Set2
workspace=example
git_url=http://github.com/someorg/someproject
git_branch=develop
build_path=.
build_cmd=mvn -DskipTests=true -Darchetype.test.skip=true clean install
import=eclipse
active=true
Variable | Value | Meaning |
---|---|---|
|
e.g. |
(required) Path into which the projects is cloned. This path is relative to the workspace. |
|
e.g. |
(optional) This will create working sets (in eclipse). Each module (eclipse project) of this project will be part of all these working sets. Working sets will be automatically created if necessary. |
|
|
Workspace to use for checkout and import.
Default is |
|
(required) Git URL to use for cloning the project. |
|
|
e.g. |
(optional) Git branch to checkout. Git default branch is default. |
|
e.g. |
(optional) The directory inside |
|
e.g. |
(optional) The IDEasy command to build the project after clone or pull. If omitted no build is triggered. |
|
e.g. |
(optional) Comma separated list of IDEs to import the repository into. |
|
|
(optional) If set to |