summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c22815d)
- line-feed is now LF which prevents converting
- updated dist.sh for better personal-domain support
- updated jar(s)
-# Auto detect text files and perform LF normalization
-* text=auto
+# Use Linux/Uni* line-feed for new lines (prevents converting)
+* text=lf
# Remote SSH server (password-less access)
GLASSFISH_SSH_SERVER="www.mxchange.org"
# Remote SSH server (password-less access)
GLASSFISH_SSH_SERVER="www.mxchange.org"
+# Windows personal domain
+PERSONAL_DOMAIN_PATH="${HOME}/personal_domain/lib"
+
# Generate list
LIST=`find ../*/lib/${NAME}.jar`
LIST="${LIST} `find ../*/*-ejb/lib/${NAME}.jar`"
# Generate list
LIST=`find ../*/lib/${NAME}.jar`
LIST="${LIST} `find ../*/*-ejb/lib/${NAME}.jar`"
LIST="${LIST} ${GLASSFISH_BASE_PATH}"
fi
LIST="${LIST} ${GLASSFISH_BASE_PATH}"
fi
+if [ -d "${PERSONAL_DOMAIN_PATH}" ]
+then
+ echo "$0: Personal domain found, adding to LIST ..."
+ LIST="${LIST} ${PERSONAL_DOMAIN_PATH}"
+fi
+
if [ ! -f "${DIST}" ]
then
echo "$0: '${DIST}' not found."
if [ ! -f "${DIST}" ]
then
echo "$0: '${DIST}' not found."
mkdir -vp "${WILDFLY_MODULE_PATH}"
fi
mkdir -vp "${WILDFLY_MODULE_PATH}"
fi
- cp -v "${DIST}" "${target}"
- elif [ -f "${target}" ]
+ cp -v "${DIST}" "${project}"
+ elif [ -f "${project}" ]
- cp -v "${DIST}" "${target}"
+ cp -v "${DIST}" "${project}"
- echo "$0: Target '${target}' not found."
+ echo "$0: Project '${project}' not found."
-# Testing on project name
-SKIP_TEST="${NAME:0:9}"
-
-if [ -n "${GLASSFISH_SSH_PATH}" -a -n "${GLASSFISH_SSH_SERVER}" -a "${SKIP_TEST}" != "jratecalc" ]
+if [ -n "${GLASSFISH_SSH_PATH}" -a -n "${GLASSFISH_SSH_SERVER}" ]
then
echo "$0: Copying to remote '${GLASSFISH_SSH_SERVER}' ..."
scp "${DIST}" "${GLASSFISH_SSH_SERVER}:${GLASSFISH_SSH_PATH}"
then
echo "$0: Copying to remote '${GLASSFISH_SSH_SERVER}' ..."
scp "${DIST}" "${GLASSFISH_SSH_SERVER}:${GLASSFISH_SSH_PATH}"