User: ko5tik Date: 02/10/15 03:21:55 Added: bin run.sh Log: added splash screen, modified build sequence to produce installable directory hierarchy Revision Changes Path 1.1 xdocletgui/bin/run.sh Index: run.sh =================================================================== #!/bin/sh -xv # Copyright (c) 2002 XDoclet Team. All rights reserved. # OS specific support. $var _must_ be set to either true or false. cygwin=false; darwin=false; case "`uname`" in CYGWIN*) cygwin=true ;; Darwin*) darwin=true if [ -z "$JAVA_HOME" ] ; then JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home fi ;; esac # For Cygwin, ensure paths are in UNIX format before anything is touched if $cygwin ; then [ -n "$XDOCLET_HOME" ] && ANT_HOME=`cygpath --unix "$XDOCLET_HOME"` [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"` fi if [ -z "$JAVACMD" ] ; then if [ -n "$JAVA_HOME" ] ; then if [ -x "$JAVA_HOME/jre/sh/java" ] ; then # IBM's JDK on AIX uses strange locations for the executables JAVACMD="$JAVA_HOME/jre/sh/java" else JAVACMD="$JAVA_HOME/bin/java" fi else JAVACMD=java fi fi if [ ! -x "$JAVACMD" ] ; then echo "Error: JAVA_HOME is not defined correctly." echo " We cannot execute $JAVACMD" exit 1 fi if [ -n "$CLASSPATH" ] ; then LOCALCLASSPATH="$CLASSPATH" fi # determine our base directory basedir=`dirname $0` libdir="${basedir}/../lib" for i in "${libdir}"/*.jar do # if the directory is empty, then it will return the input string # this is stupid, so case for it if [ "$i" != "${libdir}/*.jar" ] ; then if [ -z "$LOCALCLASSPATH" ] ; then LOCALCLASSPATH=$i else LOCALCLASSPATH="$i":"$LOCALCLASSPATH" fi fi done if [ -z "$XDOCLET_CLASS_PATH" ] ; then if [ -z "$XDOCLET_MODULES" ]; then echo "XDOCLET_MODULES not set. Only classic tag editing is available" echo "Point it to directory containing xdoclet modules you wish to use" XDOCLET_CLASS_PATH="" else for i in "${XDOCLET_MODULES}"/xdoclet-*.jar do # if the directory is empty, then it will return the input string # this is stupid, so case for it if [ "$i" != "${XDOCLET_MODULES}/xdoclet-*.jar" ] ; then if [ -z "$XDOCLET_CLASS_PATH" ] ; then XDOCLET_CLASS_PATH=$i else XDOCLET_CLASS_PATH="$i":"$XDOCLET_CLASS_PATH" fi fi done fi fi "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dlog4j.configuration=log4j.properties -Dxdoclet.class.path="$XDOCLET_CLASS_PATH" xdocletgui.Run "$@"
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel