#/bin/bash -e

  usage() {
    echo "ERROR: Incorrect number of parameters"
    echo "Usage: $0 <svnUser>"
    echo " "
  }

  # Get parameters
  if [ $# -ne 1 ]; then
    usage
  fi
  svnUser=$1

  # Define script variables
  SHAREDDISK=/sharedDisk/

  # Check Out svns
  cd $HOME
  svn co http://compss.bsc.es/svn/compss/framework/trunk trunk --username $svnUser
  svn co http://compss.bsc.es/svn/bar/tutorial-apps/ tutorial-apps --username $svnUser
  svn co http://compss.bsc.es/svn/bar/traces traces --username $svnUser

  cd $SHAREDDISK
  svn co http://compss.bsc.es/svn/bar/datasets . --username $svnUser

  # Retrieve status
  echo "DONE!"
  exit 0


#/bin/bash -e

  usage() {
    echo "ERROR: Incorrect number of parameters"
    echo "Usage: $0 <svnUser>"
    echo " "
  }

  # Get parameters
  if [ $# -ne 1 ]; then
    usage
  fi
  svnUser=$1

  # Define script variables
  SHAREDDISK=/sharedDisk/

  # Check Out svns
  cd $HOME
  rm -rf trunk tutorial-apps traces
  svn co http://compss.bsc.es/svn/compss/framework/trunk trunk --username $svnUser
  svn co http://compss.bsc.es/svn/bar/tutorial-apps/ tutorial-apps --username $svnUser
  svn co http://compss.bsc.es/svn/bar/traces traces --username $svnUser

  cd $SHAREDDISK
  rm -rf $SHAREDDISK*
  svn co http://compss.bsc.es/svn/bar/datasets . --username $svnUser

  # Retrieve status
  echo "DONE!"
  exit 0


Add force delete on sync ova script
Add force delete on sync ova script

git-svn-id: 6cb0c57df7a4a7d32342646683f5f1b5f4d88845@2582 9ab3861e-6c05-4e1b-b5ef-99af60850597
