source: trunk/dev/bin/script/DEBUG-EXPEDITEE.sh@ 787

Last change on this file since 787 was 787, checked in by davidb, 10 years ago

Tweaks to script after testing under Linux

  • Property svn:executable set to *
File size: 657 bytes
Line 
1#!/bin/bash
2
3if [ "x$expeditee_filespace_home" = "x" ] ; then
4 expeditee_filespace_home="/tmp/expeditee-filespace-home"
5fi
6
7expeditee_jar="releases/Expeditee.jar"
8
9echo "****"
10
11cygpath --help 2>/dev/null
12if [ $? == 0 ] ; then
13 echo "* Detected runing in Cygwin environment => Changing expeditee_filespace_home to Windows native format"
14 expeditee_filespace_home=`cygpath -w "$expeditee_filespace_home"`
15 expeditee_jar=`cygpath -w "$expeditee_jar"`
16fi
17
18echo "* Lauching Expeditee.jar with expeditee.home=$expeditee_filespace_home"
19echo "****"
20
21java -classpath "$expeditee_jar" \
22 "-Dexpeditee.home=$expeditee_filespace_home" org.expeditee.gui.Browser
Note: See TracBrowser for help on using the repository browser.