jailerGUI.sh improvements

2009-04-30
2012-12-07
  • Martin Muenstermann

    Hi,

    I've made some minor improvements to the Unix start script (jailerGui.sh):
    - specify the shell to be used
    - change the working directory to the installation directory, so we can get called from anywhere
    - removed outdated CP entries

    Updated file:
    -----------------------------
    #!/bin/sh

    instdir=`dirname $0`
    cd $instdir

    LIB=lib

    # JDBC-driver
    # CP=$CP:<driver-jar>

    # configuration files in the config directory
    CP=$CP:config

    # the libraries
    CP=$CP:$LIB/junit.jar
    CP=$CP:$LIB/commons-logging.jar
    CP=$CP:$LIB/log4j.jar
    CP=$CP:$LIB/args4j.jar
    CP=$CP:$LIB/spring.jar
    CP=$CP:$LIB/prefuse.jar
    CP=$CP:$LIB/sdoc-0.5.0-beta.jar
    CP=$CP:jailer.jar

    # echo $CP

    java -cp $CP net.sf.jailer.ui.ExtractionModelFrame $@
    -----------------------------

    Unified Patch:
    -----------------------------
    --- jailerGUI.sh.orig    2009-04-20 08:47:19.000000000 +0200
    +++ jailerGUI.sh    2009-04-30 11:29:11.000000000 +0200
    @@ -1,5 +1,9 @@
    +#!/bin/sh
    +
    +instdir=`dirname $0`
    +cd $instdir
    +
    LIB=lib
    -CP=.:out:out/classes:out/jailer.jar

    # JDBC-driver
    # CP=$CP:<driver-jar>
    @@ -17,4 +21,6 @@
    CP=$CP:$LIB/sdoc-0.5.0-beta.jar
    CP=$CP:jailer.jar

    +# echo $CP
    +
    java -cp $CP net.sf.jailer.ui.ExtractionModelFrame $@
    -----------------------------

    Thanks for jailer,
    Martin

     
    • Ralf Wisser

      Ralf Wisser - 2009-04-30

      Hi Martin,

      thank you very much for the improvements. I committed it to the trunk; it will be included in the next release.

      Best regards,
      Ralf

       

Anonymous
Anonymous

Cancel  Add attachments