You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2018/03/08 21:07:15 UTC

[myfaces-tobago] 02/03: enhance performance: parallel processing

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit 4d1af27f4277cca01e66e1a782337ee6ecad5732
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Thu Mar 8 15:16:59 2018 +0100

    enhance performance: parallel processing
---
 tobago-theme/rebuild-theme.sh | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/tobago-theme/rebuild-theme.sh b/tobago-theme/rebuild-theme.sh
index 814d97c..0fa27d1 100755
--- a/tobago-theme/rebuild-theme.sh
+++ b/tobago-theme/rebuild-theme.sh
@@ -35,10 +35,11 @@ function rebuild_theme() {
 
   date "+Build date: %Y-%m-%d %H:%M:%S" >${DIR}/target/temp.log
 
-  mvn -Prebuild-theme -f ${DIR}/pom.xml --batch-mode | tee -a ${DIR}/target/temp.log
+  mvn clean install -Prebuild-theme -f ${DIR}/pom.xml --batch-mode | tee -a ${DIR}/temp.log
 
   # removing system dependent directories from the log file
-  cat ${DIR}/target/temp.log | sed s/${CURRENT_REGEX}/__CURRENT__/g | sed s/${REPO_REGEX}/__REPO__/g | sed s/${HOME_REGEX}/__HOME__/g >${DIR}/rebuild-theme.txt
+  cat ${DIR}/temp.log | sed s/${CURRENT_REGEX}/__CURRENT__/g | sed s/${REPO_REGEX}/__REPO__/g | sed s/${HOME_REGEX}/__HOME__/g >${DIR}/rebuild-theme.txt
+  rm ${DIR}/temp.log
 }
 
 # The rebuild-theme.txt files are created, to protocol changes in the build.
@@ -46,15 +47,13 @@ function rebuild_theme() {
 # the build process is not time invariant.
 # This can later be removed.
 
-mvn clean
+rebuild_theme charlotteville &
+rebuild_theme roxborough &
+rebuild_theme scarborough &
+rebuild_theme speyside &
+rebuild_theme standard &
 
-rebuild_theme charlotteville
-rebuild_theme roxborough
-rebuild_theme scarborough
-rebuild_theme speyside
-rebuild_theme standard
-
-mvn install
+wait
 
 echo "DONE"
 echo "Now you will find the bootstrap stuff inside the src trees. This might be committed."

-- 
To stop receiving notification emails like this one, please contact
lofwyr@apache.org.