[jsword-svn] r1078 - in trunk/bibledesktop-web/src/web: . version100
dmsmith at crosswire.org
dmsmith at crosswire.org
Sun Apr 9 09:39:20 MST 2006
Author: dmsmith
Date: 2006-04-09 09:38:21 -0700 (Sun, 09 Apr 2006)
New Revision: 1078
Added:
trunk/bibledesktop-web/src/web/version100/
trunk/bibledesktop-web/src/web/version100/bibledesktop-1.0.jar
trunk/bibledesktop-web/src/web/version100/bibledesktop.exe
trunk/bibledesktop-web/src/web/version100/bibledesktop.jnlp
trunk/bibledesktop-web/src/web/version100/commons-codec-1.3.jar
trunk/bibledesktop-web/src/web/version100/commons-httpclient-3.0.jar
trunk/bibledesktop-web/src/web/version100/commons-logging.jar
trunk/bibledesktop-web/src/web/version100/commons-net-1.4.1.jar
trunk/bibledesktop-web/src/web/version100/icon32.png
trunk/bibledesktop-web/src/web/version100/icon64.png
trunk/bibledesktop-web/src/web/version100/jdom-1.0.jar
trunk/bibledesktop-web/src/web/version100/jlfgr-1_0.jar
trunk/bibledesktop-web/src/web/version100/jsword-1.0.jar
trunk/bibledesktop-web/src/web/version100/jsword-common-1.0.jar
trunk/bibledesktop-web/src/web/version100/jsword.bat
trunk/bibledesktop-web/src/web/version100/jsword.sh
trunk/bibledesktop-web/src/web/version100/lcp.bat
trunk/bibledesktop-web/src/web/version100/lucene-1.4.3.jar
Log:
Storing version100
Added: trunk/bibledesktop-web/src/web/version100/bibledesktop-1.0.jar
===================================================================
(Binary files differ)
Property changes on: trunk/bibledesktop-web/src/web/version100/bibledesktop-1.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/bibledesktop-web/src/web/version100/bibledesktop.exe
===================================================================
(Binary files differ)
Property changes on: trunk/bibledesktop-web/src/web/version100/bibledesktop.exe
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/bibledesktop-web/src/web/version100/bibledesktop.jnlp
===================================================================
--- trunk/bibledesktop-web/src/web/version100/bibledesktop.jnlp 2006-04-09 15:27:54 UTC (rev 1077)
+++ trunk/bibledesktop-web/src/web/version100/bibledesktop.jnlp 2006-04-09 16:38:21 UTC (rev 1078)
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc//DTD JNLP Descriptor 1.0//EN" "jnlp.dtd">
+
+<jnlp spec="1.0+" codebase="http://www.crosswire.org/bibledesktop/nightly" href="bibledesktop.jnlp">
+
+ <information>
+ <title>Bible Desktop</title>
+ <vendor>Crosswire Bible Society</vendor>
+ <homepage href="http://www.crosswire.org/bibledesktop"/>
+ <description>Bible Desktop - Bible Study Software based on the Sword project</description>
+ <description kind="short">Bible Desktop is a Bible study package available over the internet</description>
+ <description kind="tooltip">Bible Desktop Application</description>
+ <icon href="icon32.png"/>
+ <icon kind="splash" href="icon64.png"/>
+ <offline-allowed/>
+ </information>
+
+ <security>
+ <!--
+ We need disk io to read installed Sword Bibles,
+ network access to install new ones, and the ability to read system vars
+ I'm not sure there is much point in asking for less that everything
+ -->
+ <all-permissions/>
+ </security>
+
+ <resources>
+ <j2se version="1.4+" max-heap-size="512m"/>
+ <jar href="bibledesktop-1.0.jar"/>
+ <jar href="jsword-1.0.jar"/>
+ <jar href="jsword-common-1.0.jar"/>
+ <jar href="jdom-1.0.jar"/>
+ <jar href="commons-codec-1.3.jar"/>
+ <jar href="commons-httpclient-3.0.jar"/>
+ <jar href="commons-logging.jar"/>
+ <jar href="commons-net-1.4.1.jar"/>
+ <jar href="lucene-1.4.3.jar"/>
+ <jar href="jlfgr-1_0.jar"/>
+ <property name="apple.laf.useScreenMenuBar" value="true"/>
+ <property name="com.apple.mrj.application.apple.menu.about.name" value="BibleDesktop"/>
+ </resources>
+
+ <application-desc main-class="org.crosswire.bibledesktop.desktop.Desktop"/>
+
+</jnlp>
Added: trunk/bibledesktop-web/src/web/version100/commons-codec-1.3.jar
===================================================================
(Binary files differ)
Property changes on: trunk/bibledesktop-web/src/web/version100/commons-codec-1.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/bibledesktop-web/src/web/version100/commons-httpclient-3.0.jar
===================================================================
(Binary files differ)
Property changes on: trunk/bibledesktop-web/src/web/version100/commons-httpclient-3.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/bibledesktop-web/src/web/version100/commons-logging.jar
===================================================================
(Binary files differ)
Property changes on: trunk/bibledesktop-web/src/web/version100/commons-logging.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/bibledesktop-web/src/web/version100/commons-net-1.4.1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/bibledesktop-web/src/web/version100/commons-net-1.4.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/bibledesktop-web/src/web/version100/icon32.png
===================================================================
(Binary files differ)
Property changes on: trunk/bibledesktop-web/src/web/version100/icon32.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/bibledesktop-web/src/web/version100/icon64.png
===================================================================
(Binary files differ)
Property changes on: trunk/bibledesktop-web/src/web/version100/icon64.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/bibledesktop-web/src/web/version100/jdom-1.0.jar
===================================================================
(Binary files differ)
Property changes on: trunk/bibledesktop-web/src/web/version100/jdom-1.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/bibledesktop-web/src/web/version100/jlfgr-1_0.jar
===================================================================
(Binary files differ)
Property changes on: trunk/bibledesktop-web/src/web/version100/jlfgr-1_0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/bibledesktop-web/src/web/version100/jsword-1.0.jar
===================================================================
(Binary files differ)
Property changes on: trunk/bibledesktop-web/src/web/version100/jsword-1.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/bibledesktop-web/src/web/version100/jsword-common-1.0.jar
===================================================================
(Binary files differ)
Property changes on: trunk/bibledesktop-web/src/web/version100/jsword-common-1.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/bibledesktop-web/src/web/version100/jsword.bat
===================================================================
--- trunk/bibledesktop-web/src/web/version100/jsword.bat 2006-04-09 15:27:54 UTC (rev 1077)
+++ trunk/bibledesktop-web/src/web/version100/jsword.bat 2006-04-09 16:38:21 UTC (rev 1078)
@@ -0,0 +1,34 @@
+
+REM STEP 1 - Initial setup
+REM @echo off
+if "%OS%"=="Windows_NT" @setlocal
+
+REM STEP 2 - Check we know where we are installed
+set DEFAULT_JSWORD=%~dp0
+if "%JSWORD%"=="" set JSWORD=%DEFAULT_JSWORD%
+set DEFAULT_JSWORD=
+if exist "%JSWORD%" goto DoneFindJSword
+REM have a blind guess ...
+if not exist "C:\Progra~1\JSword" goto FailedFindJSword
+set JSWORD=C:\Progra~1\JSword
+:DoneFindJSword
+echo "Using JSWORD=%JSWORD%"
+
+REM STEP 3 - Setup the classpath
+set LOCALCLASSPATH=%CLASSPATH%
+for %%i in ("%JSWORD%\*.jar") do call "%JSWORD%\lcp.bat" %%i
+
+REM STEP 4 - Run JSword
+REM -Xmx256M
+REM "-Djava.endorsed.dirs=%JSWORD%\lib"
+REM -classpath "%JSWORD%\resource"
+"%JAVA_HOME%\bin\java.exe" -classpath "%LOCALCLASSPATH%" org.crosswire.bibledesktop.desktop.Desktop
+goto End
+
+:FailedFindJSword
+echo "Can't find install directory. Please use C:\Progra~1\JSword or set the JSWORD variable"
+
+:End
+set LOCALCLASSPATH=
+set _JAVACMD=
+if "%OS%"=="Windows_NT" @endlocal
Added: trunk/bibledesktop-web/src/web/version100/jsword.sh
===================================================================
--- trunk/bibledesktop-web/src/web/version100/jsword.sh 2006-04-09 15:27:54 UTC (rev 1077)
+++ trunk/bibledesktop-web/src/web/version100/jsword.sh 2006-04-09 16:38:21 UTC (rev 1078)
@@ -0,0 +1,107 @@
+#!/bin/sh
+
+# Parts of this file were derived from the ant startup script for unix.
+# Copyright (c) 2001-2003 The Apache Software Foundation.
+
+# 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
+
+if [ -z "$JSWORD" ] ; then
+ ## resolve links - $0 may be a link to jsword's home
+ PRG="$0"
+ progname=`basename "$0"`
+ saveddir=`pwd`
+
+ # need this for relative symlinks
+ dirname_prg=`dirname "$PRG"`
+ cd "$dirname_prg"
+
+ 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
+
+ JSWORD=`dirname "$PRG"`
+
+ cd "$saveddir"
+
+ # make it fully qualified
+ JSWORD=`cd "$JSWORD" && pwd`
+fi
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin ; then
+ [ -n "$JSWORD" ] &&
+ JSWORD=`cygpath --unix "$JSWORD"`
+ [ -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=`which java 2> /dev/null `
+ if [ -z "$JAVACMD" ] ; then
+ JAVACMD=java
+ fi
+ 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
+
+# This is redundant if we are using the endorsed.dirs method
+for i in "${JSWORD}/"*.jar
+do
+ # if the directory is empty, then it will return the input string
+ # this is stupid, so case for it
+ if [ -f "$i" ] ; then
+ if [ -z "$LOCALCLASSPATH" ] ; then
+ LOCALCLASSPATH="$i"
+ else
+ LOCALCLASSPATH="$i":"$LOCALCLASSPATH"
+ fi
+ fi
+done
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+ JSWORD=`cygpath --windows "$JSWORD"`
+ JAVA_HOME=`cygpath --windows "$JAVA_HOME"`
+ CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
+ LOCALCLASSPATH=`cygpath --path --windows "$LOCALCLASSPATH"`
+ CYGHOME=`cygpath --windows "$HOME"`
+fi
+
+# "-Djava.endorsed.dirs=${JSWORD}/lib"
+# -classpath "${JSWORD}/resource"
+"$JAVACMD" -classpath "${LOCALCLASSPATH}" org.crosswire.bibledesktop.desktop.Desktop
Added: trunk/bibledesktop-web/src/web/version100/lcp.bat
===================================================================
--- trunk/bibledesktop-web/src/web/version100/lcp.bat 2006-04-09 15:27:54 UTC (rev 1077)
+++ trunk/bibledesktop-web/src/web/version100/lcp.bat 2006-04-09 16:38:21 UTC (rev 1078)
@@ -0,0 +1,16 @@
+REM Copyright (c) 2001-2002 The Apache Software Foundation. All rights
+REM reserved.
+
+set _CLASSPATHCOMPONENT=%1
+if ""%1""=="""" goto gotAllArgs
+shift
+
+:argCheck
+if ""%1""=="""" goto gotAllArgs
+set _CLASSPATHCOMPONENT=%_CLASSPATHCOMPONENT% %1
+shift
+goto argCheck
+
+:gotAllArgs
+set LOCALCLASSPATH=%_CLASSPATHCOMPONENT%;%LOCALCLASSPATH%
+
Added: trunk/bibledesktop-web/src/web/version100/lucene-1.4.3.jar
===================================================================
(Binary files differ)
Property changes on: trunk/bibledesktop-web/src/web/version100/lucene-1.4.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
More information about the jsword-svn
mailing list