]> git.mxchange.org Git - jprojects-scripts.git/commitdiff
Continued a bit:
authorRoland Häder <roland@mxchange.org>
Sat, 22 Apr 2017 21:10:44 +0000 (23:10 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 22 Apr 2017 21:10:44 +0000 (23:10 +0200)
- jletter-ejb is not a good idea, better to have the EJB(s) in application's EJB
  project
- backticks is shell scripts are discouraged (?), better use $(foo --bar)

Signed-off-by: Roland Häder <roland@mxchange.org>
.jprojects.sh
dist.sh

index 989b339b68c13daf000fc32ad3b337dacc4e1bf1..ea6acd75ee36df583efea9b9bc1e5a1672d5226a 100644 (file)
@@ -11,7 +11,7 @@ LIBRARIES="jcore jcoreee \
        jcontacts-core jcontacts-business-core jcontacts-lib \
        juser-core juser-lib \
        juser-activity-core juser-activity-lib \
-       jletter-core jletter-lib jletter-ejb \
+       jletter-core jletter-lib \
        jaddressbook-core jaddressbook-lib \
        jmailer-ee \
        jcore-swing \
diff --git a/dist.sh b/dist.sh
index 58d917f92024ee2326b909ed17a6c2232f4bc602..5ea9f343efdd50bc5239730932bbae1d5cafbdf8 100755 (executable)
--- a/dist.sh
+++ b/dist.sh
@@ -28,7 +28,7 @@ GLASSFISH_SSH_SERVER="www.mxchange.org"
 PERSONAL_DOMAIN_PATH="${HOME}/personal_domain/lib"
 
 # Generate list
-LIST=`find ../*/lib/${NAME}.jar`
+LIST=$(find ../*/lib/${NAME}.jar)
 LIST="${LIST} ${WILDFLY_MODULE_PATH}"
 
 if [ -d "${GLASSFISH_BASE_PATH}" ]
@@ -79,7 +79,7 @@ fi
 if [ -f "${WILDFLY_MODULE_XML_FILE}" ]
 then
        echo "$0: Generating module.xml ..."
-       XML_CONTENT=`cat "${WILDFLY_MODULE_XML_FILE}"`
+       XML_CONTENT=$(cat "${WILDFLY_MODULE_XML_FILE}")
        XML_CONTENT="${XML_CONTENT//NAME/$NAME}"
        echo "${XML_CONTENT}" > "${WILDFLY_MODULE_PATH}/module.xml"
 fi