[sword-svn] r79 - trunk/app/src/org/crosswire/flashcards
Apache
apache at crosswire.org
Mon Nov 8 23:36:36 MST 2004
Author:
Date: 2004-11-08 23:36:35 -0700 (Mon, 08 Nov 2004)
New Revision: 79
Modified:
trunk/app/src/org/crosswire/flashcards/LessonManager.java
Log:
Fixed windows path problems
Modified: trunk/app/src/org/crosswire/flashcards/LessonManager.java
===================================================================
--- trunk/app/src/org/crosswire/flashcards/LessonManager.java 2004-11-01 21:45:23 UTC (rev 78)
+++ trunk/app/src/org/crosswire/flashcards/LessonManager.java 2004-11-09 06:36:35 UTC (rev 79)
@@ -120,7 +120,10 @@
}
if (connection instanceof JarURLConnection) {
JarURLConnection jarConnection = (JarURLConnection) connection;
- loadJarLessonSets(new File(jarConnection.getJarFileURL().getFile()));
+ try {
+ loadJarLessonSets(new File(new java.net.URI(jarConnection.getJarFileURL().toString())));
+ }
+ catch (Exception e) { e.printStackTrace(); }
}
}
More information about the sword-cvs
mailing list