#!/bin/bash
cd $(dirname $0)
rm version_compliance_result.txt
export javaws_full_path="javaws"

$javaws_full_path -wait -offline OfflineIncrementalServerJWS.jnlp

export chk_result=$( cat version_compliance_result.txt | grep "status=true" )
#echo "output of command=$chk_result"

if test "$chk_result" = "status=true"
then
     $javaws_full_path  -offline Offline_Application.jnlp
fi
