Skip to content

Commit 55dfb57

Browse files
authored
Merge pull request #50 from maxkratz/feature/extended-plugin-installation
Adds additional plug-in installation
2 parents dd2dc97 + b61931f commit 55dfb57

File tree

3 files changed

+33
-15
lines changed

3 files changed

+33
-15
lines changed

README.md

+21-13
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,31 @@
44

55
This repository is used to automatically build an Eclipse [eMoflon](https://github.com/eMoflon/emoflon-ibex) environment.
66

7-
| Name | OS | eMoflon installed | Dark theme installed | Splash image | Pattern matcher |
8-
|--------------------------|---------|--------------------|----------------------|--------------------|-----------------|
9-
| Eclipse eMoflon user | Linux | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | HiPE |
10-
| Eclipse eMoflon dev | Linux | | :heavy_check_mark: | :heavy_check_mark: | HiPE, *) |
11-
| Eclipse eMoflon user CI | Linux | :heavy_check_mark: | | | HiPE |
12-
| Eclipse eMoflon dev CI | Linux | | | | HiPE, *) |
13-
| Eclipse eMoflon dev HiPE | Linux | | :heavy_check_mark: | :heavy_check_mark: | *) |
14-
| Eclipse eMoflon user | Windows | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | HiPE |
15-
| Eclipse eMoflon dev | Windows | | :heavy_check_mark: | :heavy_check_mark: | HiPE, *) |
16-
| Eclipse eMoflon dev HiPE | Windows | | :heavy_check_mark: | :heavy_check_mark: | *) |
17-
| Eclipse eMoflon user | macOS | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | HiPE |
18-
| Eclipse eMoflon dev | macOS | | :heavy_check_mark: | :heavy_check_mark: | HiPE, *) |
19-
| Eclipse eMoflon dev HiPE | macOS | | :heavy_check_mark: | :heavy_check_mark: | *) |
7+
| Name | OS | eMoflon installed | Dark theme installed | Splash image | Pattern matcher | Additional packages |
8+
|--------------------------|---------|--------------------|----------------------|--------------------|-----------------|---------------------|
9+
| Eclipse eMoflon user | Linux | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | HiPE | :heavy_check_mark: |
10+
| Eclipse eMoflon dev | Linux | | :heavy_check_mark: | :heavy_check_mark: | HiPE, *) | :heavy_check_mark: |
11+
| Eclipse eMoflon user CI | Linux | :heavy_check_mark: | | | HiPE | |
12+
| Eclipse eMoflon dev CI | Linux | | | | HiPE, *) | |
13+
| Eclipse eMoflon dev HiPE | Linux | | :heavy_check_mark: | :heavy_check_mark: | *) | :heavy_check_mark: |
14+
| Eclipse eMoflon user | Windows | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | HiPE | :heavy_check_mark: |
15+
| Eclipse eMoflon dev | Windows | | :heavy_check_mark: | :heavy_check_mark: | HiPE, *) | :heavy_check_mark: |
16+
| Eclipse eMoflon dev HiPE | Windows | | :heavy_check_mark: | :heavy_check_mark: | *) | :heavy_check_mark: |
17+
| Eclipse eMoflon user | macOS | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | HiPE | :heavy_check_mark: |
18+
| Eclipse eMoflon dev | macOS | | :heavy_check_mark: | :heavy_check_mark: | HiPE, *) | :heavy_check_mark: |
19+
| Eclipse eMoflon dev HiPE | macOS | | :heavy_check_mark: | :heavy_check_mark: | *) | :heavy_check_mark: |
2020

2121
*) Democles will be installed manually via the [emoflon-dev-workspace](https://github.com/eMoflon/emoflon-ibex#how-to-develop).
2222
Furthermore, all pattern matcher integrations for eMoflon (HiPE and Democles) will be installed manually via the [emoflon-dev-workspace](https://github.com/eMoflon/emoflon-ibex#how-to-develop).
2323

24+
**Additional packages** are installed for every non-CI build.
25+
Currently, the list of additional packages includes:
26+
- [EclEmma](https://www.eclemma.org/)
27+
- [PMD](https://pmd.github.io/latest/index.html)
28+
- [Checkstyle](https://checkstyle.org/eclipse-cs/#!/)
29+
- [SpotBugs](https://spotbugs.github.io/https://spotbugs.github.io/)
30+
31+
Feel free to request others, e.g., via Github issues.
2432

2533
## Usage/Installation
2634

build.sh

+8-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ OUTPUT_FILE_PREFIX_LINUX="eclipse-emoflon-linux"
3333
OUTPUT_FILE_PREFIX_WINDOWS="eclipse-emoflon-windows"
3434
OUTOUT_FILE_PREFIX_MACOS="eclipse-emoflon-macos"
3535
MIRROR="https://ftp.fau.de"
36-
UPDATESITES="https://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/,https://hallvard.github.io/plantuml/,https://hipe-devops.github.io/HiPE-Updatesite/hipe.updatesite/,https://www.kermeta.org/k2/update,https://emoflon.org/emoflon-ibex-updatesite/snapshot/updatesite/,https://www.genuitec.com/updates/devstyle/ci/,https://download.eclipse.org/releases/$VERSION,https://www.codetogether.com/updates/ci/"
36+
UPDATESITES="https://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/,https://hallvard.github.io/plantuml/,https://hipe-devops.github.io/HiPE-Updatesite/hipe.updatesite/,https://www.kermeta.org/k2/update,https://emoflon.org/emoflon-ibex-updatesite/snapshot/updatesite/,https://www.genuitec.com/updates/devstyle/ci/,https://download.eclipse.org/releases/$VERSION,https://www.codetogether.com/updates/ci/,http://update.eclemma.org/,https://pmd.github.io/pmd-eclipse-plugin-p2-site/,https://checkstyle.org/eclipse-cs-update-site/,https://spotbugs.github.io/eclipse/"
3737
EMOFLON_HEADLESS_SRC="https://api.github.com/repos/eMoflon/emoflon-headless/releases/latest"
3838

3939
# Import plug-in:
@@ -42,7 +42,7 @@ IMPORT_PLUGIN_FILENAME="com.seeq.eclipse.importprojects_$IMPORT_PLUGIN_VERSION.j
4242
IMPORT_PLUGIN_SRC="https://api.github.com/repos/maxkratz/eclipse-import-projects-plugin/releases/tags/v$IMPORT_PLUGIN_VERSION"
4343

4444
# Array with the order to install the plugins with.
45-
ORDER_LINUX=("xtext" "plantuml" "hipe" "kermeta" "misc" "emoflon-headless" "emoflon" "theme")
45+
ORDER_LINUX=("xtext" "plantuml" "hipe" "kermeta" "misc" "emoflon-headless" "emoflon" "theme" "additional")
4646

4747
#
4848
# Configure OS specific details
@@ -228,6 +228,12 @@ for p in ${ORDER[@]}; do
228228
continue
229229
fi
230230

231+
# Check if additional packages must be skipped (for CI builds).
232+
if [[ "$p" = "additional" ]] && [[ $SKIP_THEME -eq 1 ]]; then
233+
log "Skipping additional plug-ins."
234+
continue
235+
fi
236+
231237
# Check if HiPE must be skipped (for hipe-dev builds).
232238
if [[ "$p" = "hipe" ]] && [[ $SKIP_HIPE -eq 1 ]]; then
233239
log "Skipping plug-in: $p."

packages/additional-packages.list

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
org.eclipse.eclemma.feature.feature.group
2+
net.sourceforge.pmd.eclipse.feature.group
3+
net.sf.eclipsecs.feature.group
4+
com.github.spotbugs.plugin.eclipse.feature.group

0 commit comments

Comments
 (0)