/[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 912 by iliev, Mon Aug 7 18:34:40 2006 UTC revision 1975 by iliev, Mon Aug 3 14:54:18 2009 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-2009 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  # If you want to run fantasia.jar from a different directory  FANTASIA=Fantasia-0.9.jar
28  # you must define FANTASIA_PATH to point to fantasia.jar location.  
29    # If you want to run Fantasia-0.8a.jar from a different directory
30    # you must define FANTASIA_PATH to point to Fantasia-0.8a.jar location.
31  #FANTASIA_PATH=  #FANTASIA_PATH=
32    
33  if [ -n "$JAVA_HOME" ]  ; then  if [ -n "$JAVA_HOME" ]  ; then
# Line 41  if [ -z "$JAVA" ]  ; then Line 43  if [ -z "$JAVA" ]  ; then
43  fi  fi
44    
45  if [ -n "$JAVA" ] ; then  if [ -n "$JAVA" ] ; then
46      if [ -n "$FANTASIA" ] ; then      if [ -n "$FANTASIA_PATH" ] ; 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.912  
changed lines
  Added in v.1975

  ViewVC Help
Powered by ViewVC