Show
Ignore:
Timestamp:
03/08/12 19:25:02 (9 years ago)
Author:
noliveira
Message:

Developments on Online Application

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • middleware-online/trunk/non_maven_deps/mvn_install.sh

    r72 r81  
    33MAC_JAR_MD5=$3 
    44 
    5 echo "###### Installing maven files quietly" 
     5echo "###### Installing maven files" 
    66 
    7 mvn --quiet install:install-file -Dfile=jai_imageio-fixed.jar -DgroupId=com.sun.media -DartifactId=jai_imageio -Dversion=1.1 -Dpackaging=jar -Dclassifier=fixed 
    8 mvn --quiet install:install-file -Dfile=pteid-lib-java-windows.jar -DgroupId=pt.gov.cartaodecidadao -DartifactId=pteid-lib-java-windows -Dversion=1.0-SNAPSHOT -Dpackaging=jar 
    9 mvn --quiet install:install-file -Dfile=pteid-lib-java-linux.jar -DgroupId=pt.gov.cartaodecidadao -DartifactId=pteid-lib-java-linux -Dversion=1.0-SNAPSHOT -Dpackaging=jar 
    10 mvn --quiet install:install-file -Dfile=pteid-lib-java-mac.jar -DgroupId=pt.gov.cartaodecidadao -DartifactId=pteid-lib-java-mac -Dversion=1.0-SNAPSHOT -Dpackaging=jar 
    11 mvn --quiet install:install-file -Dfile=jnlp-servlet.jar -DgroupId=javax.jnlp -DartifactId=jnlp-servlet -Dversion=6.29 -Dpackaging=jar 
     7mvn install:install-file -Dfile=jai_imageio-fixed.jar -DgroupId=com.sun.media -DartifactId=jai_imageio -Dversion=1.1 -Dpackaging=jar -Dclassifier=fixed 
     8mvn install:install-file -Dfile=pteid-lib-java-windows.jar -DgroupId=pt.gov.cartaodecidadao -DartifactId=pteid-lib-java-windows -Dversion=1.0-SNAPSHOT -Dpackaging=jar 
     9mvn install:install-file -Dfile=pteid-lib-java-linux.jar -DgroupId=pt.gov.cartaodecidadao -DartifactId=pteid-lib-java-linux -Dversion=1.0-SNAPSHOT -Dpackaging=jar 
     10mvn install:install-file -Dfile=pteid-lib-java-mac.jar -DgroupId=pt.gov.cartaodecidadao -DartifactId=pteid-lib-java-mac -Dversion=1.0-SNAPSHOT -Dpackaging=jar 
     11mvn install:install-file -Dfile=jnlp-api-1.5.0.jar -DgroupId=javax.jnlp -DartifactId=jnlp-api -Dversion=1.5.0 -Dpackaging=jar 
    1212 
    1313 
     
    1616LINUX_INSTALLED_JAR_MD5=`md5sum pteid-lib-java-linux.jar | awk '{ print $1 }'` 
    1717MAC_INSTALLED_JAR_MD5=`md5sum pteid-lib-java-mac.jar | awk '{ print $1 }'` 
    18 echo " Windows MD5[$WINDOWS_INSTALLED_JAR_MD5]" 
    19 echo " Linux MD5[$LINUX_INSTALLED_JAR_MD5]" 
    20 echo " Mac MD5[$MAC_INSTALLED_JAR_MD5]" 
     18echo "  Windows MD5[$WINDOWS_INSTALLED_JAR_MD5]" 
     19echo "  Linux MD5[$LINUX_INSTALLED_JAR_MD5]" 
     20echo "  Mac MD5[$MAC_INSTALLED_JAR_MD5]" 
    2121 
    2222echo " Received MD5s:" 
    23 echo " Windows MD5[$WINDOWS_JAR_MD5]" 
    24 echo " Linux MD5[$LINUX_JAR_MD5]" 
    25 echo " Mac MD5[$MAC_JAR_MD5]" 
     23echo "  Windows MD5[$WINDOWS_JAR_MD5]" 
     24echo "  Linux MD5[$LINUX_JAR_MD5]" 
     25echo "  Mac MD5[$MAC_JAR_MD5]" 
    2626 
    2727if [ "$WINDOWS_INSTALLED_JAR_MD5" != "$WINDOWS_JAR_MD5" ] ; then 
    28   echo "Windows jars NOT OK" 
     28  echo -e "\033[31m Windows jars NOT OK" 
    2929fi 
    3030if [ "$LINUX_INSTALLED_JAR_MD5" != "$LINUX_JAR_MD5" ] ; then 
    31   echo "Linux jars NOT OK" 
     31  echo -e "\033[31m Linux jars NOT OK" 
    3232fi 
    3333if [ "$MAC_INSTALLED_JAR_MD5" != "$MAC_JAR_MD5" ] ; then 
    34   echo "Mac jars NOT OK" 
     34  echo -e "\033[31m Mac jars NOT OK" 
    3535fi