[jsword-svn] bibledesktop/etc/eclipse s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Wed Sep 29 15:15:48 MST 2004


Update of /cvs/jsword/bibledesktop/etc/eclipse
In directory www.crosswire.org:/tmp/cvs-serv8307/etc/eclipse

Modified Files:
	bibledesktop-app-desktop15.launch 
Added Files:
	localexec.bat 
Log Message:
launch debugs

--- NEW FILE: localexec.bat ---

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

Index: bibledesktop-app-desktop15.launch
===================================================================
RCS file: /cvs/jsword/bibledesktop/etc/eclipse/bibledesktop-app-desktop15.launch,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** bibledesktop-app-desktop15.launch	28 Apr 2004 23:34:38 -0000	1.3
--- bibledesktop-app-desktop15.launch	29 Sep 2004 22:15:46 -0000	1.4
***************
*** 3,7 ****
  <stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.crosswire.bibledesktop.desktop.Desktop"/>
  <stringAttribute key="org.eclipse.jdt.launching.VM_INSTALL_TYPE_ID" value="org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType"/>
! <stringAttribute key="org.eclipse.jdt.launching.VM_INSTALL_NAME" value="sun-jdk-1.5_beta1"/>
  <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="bibledesktop"/>
  <stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx512m -ea"/>
--- 3,7 ----
  <stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.crosswire.bibledesktop.desktop.Desktop"/>
  <stringAttribute key="org.eclipse.jdt.launching.VM_INSTALL_TYPE_ID" value="org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType"/>
! <stringAttribute key="org.eclipse.jdt.launching.VM_INSTALL_NAME" value="j2sdk-1.5.0b1"/>
  <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="bibledesktop"/>
  <stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx512m -ea"/>
***************
*** 13,16 ****
  <booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
  <stringAttribute key="org.eclipse.debug.ui.target_run_perspective" value="perspective_default"/>
- <stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.jdt.debug.ui.javaSourceLocator"/>
  </launchConfiguration>
--- 13,15 ----



More information about the jsword-svn mailing list