- 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>
. ./.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}' ..."
--- /dev/null
+#!/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
. ./.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
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}"
. ./.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
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
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
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}"
+++ /dev/null
-<?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>