Skip to content

Latest commit

 

History

History
48 lines (42 loc) · 2.24 KB

repository.adoc

File metadata and controls

48 lines (42 loc) · 2.24 KB
Table of Contents

Repository

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
Table 1. Variables of repository import
Variable Value Meaning

path

e.g. myproject, will clone into ${WORKSPACE_PATH}/myproject

(required) Path into which the projects is cloned. This path is relative to the workspace.

working sets

e.g. ws1,ws2

(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

main

Workspace to use for checkout and import. Default is main.

git_url

e.g. http://github.com/someorg/someproject

(required) Git URL to use for cloning the project.

git_branch

e.g. develop

(optional) Git branch to checkout. Git default branch is default.

build_path

e.g. . (default)

(optional) The directory inside path where to trigger an initial build after clone or pull (if build_cmd is set). For a regular project use . to build top-level project.

build_cmd

e.g. mvn -D skip Tests=true -Darchetype.test.skip=true clean install

(optional) The IDEasy command to build the project after clone or pull. If omitted no build is triggered.

import

e.g. eclipse

(optional) Comma separated list of IDEs to import the repository into.

active

true

(optional) If set to false the repository is skipped during the setup.