Continued:
authorRoland Haeder <roland@mxchange.org>
Wed, 27 Jul 2016 19:31:02 +0000 (21:31 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 27 Jul 2016 19:31:02 +0000 (21:31 +0200)
- added new bundle-jprojects.sh which will bundle all Java projects in parent directory
- added check for project existence and that it is not *this* project
- deleted wildfly stuff

Signed-off-by: Roland Haeder <roland@mxchange.org>
build-dist-all.sh
bundle-jprojects.sh [new file with mode: 0755]
check-untracked.sh
checkout-jprojects.sh
commit-jprojects.sh
create-jproject-branch.sh
fix-project-remotes.sh
merge-jprojects.sh
wildfly/module.xml [deleted file]

index aeb747e..c5ae10f 100755 (executable)
@@ -3,10 +3,14 @@
 . ./.jprojects.sh || exit 255
 
 for project in ${LIST}; do
-       if [ ! -d "${JPROJECTS_HOME}/${project}" ]
+       if [ "${project}" = "jprojects-scripts" ]
+       then
+               echo "$0: Skipping jprojects-scripts ..."
+               continue
+       elif [ ! -d "${JPROJECTS_HOME}/${project}" ]
        then
                echo "$0: Project '${project}' does not exist."
-               continue;
+               continue
        fi
 
        echo "$0: Executing '${project}' ..."
diff --git a/bundle-jprojects.sh b/bundle-jprojects.sh
new file mode 100755 (executable)
index 0000000..2435d50
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+. ./.jprojects.sh || exit 255
+
+for project in ${LIST}; do
+       if [ "${project}" = "jprojects-scripts" ]
+       then
+               echo "$0: Skipping jprojects-scripts ..."
+               continue
+       elif [ ! -d "${JPROJECTS_HOME}/${project}" ]
+       then
+               echo "$0: Project '${project}' does not exist."
+               continue
+       fi
+
+       BUNDLE_FILE="${JPROJECTS_HOME}/${project}.bundle"
+
+       echo "$0: Bundling '${project}' ..."
+       cd "${JPROJECTS_HOME}/${project}"
+       git bundle create "${BUNDLE_FILE}" HEAD
+done
+
+echo "$0: All done."
+exit 0
index 7216a7e..1bd186c 100755 (executable)
@@ -3,13 +3,25 @@
 . ./.jprojects.sh
 
 for project in ${LIST}; do
+       if [ "${project}" = "jprojects-scripts" ]
+       then
+               echo "$0: Skipping jprojects-scripts ..."
+               continue
+       elif [ ! -d "${JPROJECTS_HOME}/${project}" ]
+       then
+               echo "$0: Project '${project}' does not exist."
+               continue
+       fi
+
        echo "$0: Checking '${project}' ..."
-       cd "${project}"
+       cd "${JPROJECTS_HOME}/${project}"
        STATUS=`git status`
        UNTRACKED=`echo "${STATUS}" | grep "Untracked files:"`
        if [ -n "${UNTRACKED}" ]
        then
                echo "${STATUS}"
        fi
-       cd -
 done
+
+echo "$0: All done."
+exit 0
index a577daa..4fb0da4 100755 (executable)
@@ -5,6 +5,16 @@
 TARGET_BRANCH="master"
 
 for project in ${LIST}; do
+       if [ "${project}" = "jprojects-scripts" ]
+       then
+               echo "$0: Skipping jprojects-scripts ..."
+               continue
+       elif [ ! -d "${JPROJECTS_HOME}/${project}" ]
+       then
+               echo "$0: Project '${project}' does not exist."
+               continue
+       fi
+
        echo "$0: Processing '${project}' ..."
        cd "${JPROJECTS_HOME}/${project}"
 
index 8681064..802ea6a 100755 (executable)
@@ -3,8 +3,13 @@
 . ./.jprojects.sh || exit 255
 
 for project in ${LIST}; do
-       if [ ! -d "${JPROJECTS_HOME}/${project}" ]
+       if [ "${project}" = "jprojects-scripts" ]
        then
+               echo "$0: Skipping jprojects-scripts ..."
+               continue
+       elif [ ! -d "${JPROJECTS_HOME}/${project}" ]
+       then
+               echo "$0: Project '${project}' does not exist."
                continue
        fi
 
index 873da98..3d14093 100755 (executable)
@@ -12,8 +12,13 @@ COMMIT_ADD=""
 AFTER_COMMIT_BRANCH="master"
 
 for project in ${LIST}; do
-       if [ ! -d "${JPROJECTS_HOME}/${project}" ]
+       if [ "${project}" = "jprojects-scripts" ]
        then
+               echo "$0: Skipping jprojects-scripts ..."
+               continue
+       elif [ ! -d "${JPROJECTS_HOME}/${project}" ]
+       then
+               echo "$0: Project '${project}' does not exist."
                continue
        fi
 
index f4bd38b..5ebb413 100755 (executable)
@@ -19,8 +19,13 @@ MEDIA_NAME2="Transport"
 MEDIA_PATH="Java Project"
 
 for project in ${LIST}; do
-       if [ ! -d "${JPROJECTS_HOME}/${project}" ]
+       if [ "${project}" = "jprojects-scripts" ]
        then
+               echo "$0: Skipping jprojects-scripts ..."
+               continue
+       elif [ ! -d "${JPROJECTS_HOME}/${project}" ]
+       then
+               echo "$0: Project '${project}' does not exist."
                continue
        fi
 
index 7257499..4fc5525 100755 (executable)
@@ -7,6 +7,16 @@ TARGET_BRANCH="rewrites/jpa"
 SWITCH_TO_SOURCE="Y"
 
 for project in ${LIST}; do
+       if [ "${project}" = "jprojects-scripts" ]
+       then
+               echo "$0: Skipping jprojects-scripts ..."
+               continue
+       elif [ ! -d "${JPROJECTS_HOME}/${project}" ]
+       then
+               echo "$0: Project '${project}' does not exist."
+               continue
+       fi
+
        echo "$0: Processing '${project}' ..."
        cd "${JPROJECTS_HOME}/${project}"
 
diff --git a/wildfly/module.xml b/wildfly/module.xml
deleted file mode 100644 (file)
index 5bb8b82..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module xmlns="urn:jboss:module:1.1" name="org.mxchange.NAME">
-       <resources>
-               <resource-root path="NAME.jar"/>
-       </resources>
-
-       <dependencies>
-               <module name="javax.api"/>
-       </dependencies>
-</module>