From: jprocter Date: Wed, 23 Feb 2005 15:51:59 +0000 (+0000) Subject: rearranged project structure X-Git-Tag: Release_2_0~635 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=fe5bd0959da500caeea81d2c8c625d9458532cc8;p=jalview.git rearranged project structure --- diff --git a/utils/axis-ant.jar b/utils/axis-ant.jar new file mode 100755 index 0000000..9cb30a9 Binary files /dev/null and b/utils/axis-ant.jar differ diff --git a/utils/jhindexer b/utils/jhindexer new file mode 100755 index 0000000..e84a1b2 --- /dev/null +++ b/utils/jhindexer @@ -0,0 +1,49 @@ +#! /bin/sh +# This builds a search database + +# Cygwin support. $cygwin _must_ be set to either true or false. +case "`uname`" in + CYGWIN*) cygwin=true ;; + *) cygwin=false ;; +esac + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin; then + [ -n "$JAVAHELP_HOME" ] && + JAVAHELP_HOME=`cygpath --unix "$JAVAHELP_HOME"` +fi + +if [ "$JAVAHELP_HOME" = "" ] ; then + # try to find jhindexer + if [ -d /opt/javahelp ] ; then + JAVAHELP_HOME=/opt/javahelp + fi + + if [ -d ${HOME}/opt/jhindexer ] ; then + JAVAHELP_HOME=${HOME}/opt/javahelp + fi + + ## resolve links - $0 may be a link to javahelp's home + PRG=$0 + progname=`basename $0` + + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '.*/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname $PRG`/$link" + fi + done + + JAVAHELP_HOME=`dirname "$PRG"`/../.. + +fi + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + JAVAHELP_HOME=`cygpath --path --windows "$JAVAHELP_HOME"` +fi + +java -jar $JAVAHELP_HOME/javahelp/bin/jhindexer.jar "$@" diff --git a/utils/jhindexer.jar b/utils/jhindexer.jar new file mode 100755 index 0000000..5e54263 Binary files /dev/null and b/utils/jhindexer.jar differ