/[svn]/jsampler/trunk/scripts/fantasia
ViewVC logotype

Diff of /jsampler/trunk/scripts/fantasia

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1142 by iliev, Mon Aug 7 18:34:40 2006 UTC revision 1143 by iliev, Mon Apr 2 21:18:31 2007 UTC
# Line 2  Line 2 
2  #  #
3  #   JSampler - a java front-end for LinuxSampler  #   JSampler - a java front-end for LinuxSampler
4  #  #
5  #   Copyright (C) 2005, 2006 Grigor Kirilov Iliev  #   Copyright (C) 2005-2007 Grigor Iliev <grigor@grigoriliev.com>
6  #  #
7  #   This file is part of JSampler.  #   This file is part of JSampler.
8  #  #
# Line 24  Line 24 
24  # Set the JAVA_HOME variable to specify the java distribution to be used.  # Set the JAVA_HOME variable to specify the java distribution to be used.
25  #JAVA_HOME=  #JAVA_HOME=
26    
27    FANTASIA=fantasia.jar
28    
29  # If you want to run fantasia.jar from a different directory  # If you want to run fantasia.jar from a different directory
30  # you must define FANTASIA_PATH to point to fantasia.jar location.  # you must define FANTASIA_PATH to point to fantasia.jar location.
31  #FANTASIA_PATH=  #FANTASIA_PATH=
# Line 42  fi Line 44  fi
44    
45  if [ -n "$JAVA" ] ; then  if [ -n "$JAVA" ] ; then
46      if [ -n "$FANTASIA" ] ; then      if [ -n "$FANTASIA" ] ; then
47          $JAVA -jar $FANTASIA/fantasia.jar          $JAVA -jar $FANTASIA_PATH/$FANTASIA
48      else      else
49          $JAVA -jar fantasia.jar          $JAVA -jar $FANTASIA
50      fi      fi
51  else  else
52      echo "Unable to find java! Please set JAVA_HOME to point to your JRE/JDK directory."      echo "Unable to find java! Please set JAVA_HOME to point to your JRE/JDK directory."
53      echo "Example:"      echo "Example:"
54      echo "export JAVA_HOME=/opt/jdk1.5.0_04"      echo "export JAVA_HOME=/opt/jdk1.6.0"
55  fi  fi

Legend:
Removed from v.1142  
changed lines
  Added in v.1143

  ViewVC Help
Powered by ViewVC