script for easy locally wiring taxeditor with cdmlib projects - half complete
authorAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Fri, 7 May 2021 13:33:19 +0000 (15:33 +0200)
committerAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Fri, 7 May 2021 13:33:19 +0000 (15:33 +0200)
project-setup-wire-locally.sh [new file with mode: 0755]

diff --git a/project-setup-wire-locally.sh b/project-setup-wire-locally.sh
new file mode 100755 (executable)
index 0000000..11fd1a8
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+CDMLIB_ROOT=~/workspaces/cdm/cdmlib
+
+CDM_PROJETCS=("cdmlib-cache" "cdmlib-commons" "cdmlib-model" "cdmlib-ext" "cdmlib-io" "cdmlib-persistence" "cdmlib-services")
+
+rm -fr eu.etaxonomy.taxeditor.cdmlib/dev-linked-projects/*
+for prj in "${CDM_PROJETCS[@]}"; do
+       ln -sf $CDMLIB_ROOT/$prj/target/classes eu.etaxonomy.taxeditor.cdmlib/dev-linked-projects/$prj-classes
+done