Changeset 216
- Timestamp:
- 12/28/07 21:04:35 (1 year ago)
- Files:
-
- lex/trunk (modified) (1 prop)
- lex/trunk/.classpath (modified) (1 diff)
- lex/trunk/.project (modified) (1 diff)
- lex/trunk/.settings/org.eclipse.core.resources.prefs (modified) (1 diff)
- lex/trunk/.settings/org.eclipse.jdt.core.prefs (modified) (1 diff)
- lex/trunk/.settings/org.eclipse.jdt.ui.prefs (added)
- lex/trunk/jsp/WEB-INF/lib/emdros-libs.tar.gz (deleted)
- lex/trunk/jsp/WEB-INF/lib/jemdros.jar (deleted)
- lex/trunk/jsp/WEB-INF/lib/libjemdros.so (deleted)
- lex/trunk/src/com/qwirx/lex/Lex.java (modified) (3 diffs)
- lex/trunk/src/com/qwirx/lex/Preloader.java (deleted)
- lex/trunk/test/com/qwirx/lex/CrashEmdros.java (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lex/trunk
- Property svn:ignore changed from
work
to
work
tmp
- Property svn:ignore changed from
lex/trunk/.classpath
r104 r216 3 3 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 4 4 <classpathentry kind="src" path="src"/> 5 <classpathentry kind="lib" path="jsp/WEB-INF/lib/jemdros.jar"/>6 5 <classpathentry kind="lib" path="jsp/WEB-INF/lib/junit.jar"/> 7 6 <classpathentry kind="lib" path="jsp/WEB-INF/lib/jwnl.jar"/> 8 7 <classpathentry kind="lib" path="jsp/WEB-INF/lib/httpunit.jar"/> 9 <classpathentry kind=" src" path="test"/>10 <classpathentry kind="lib" path="jsp/WEB-INF/lib/mysql-connector-java-3.1.11-bin.jar"/>8 <classpathentry kind="lib" path="jsp/WEB-INF/lib/mysql-connector-java-5.1.5-bin.jar"/> 9 <classpathentry excluding="testsuite/simple/" kind="src" path="test"/> 11 10 <classpathentry kind="lib" path="jsp/WEB-INF/lib/log4j-1.2.8.jar"/> 12 11 <classpathentry kind="src" path="properties"/> 13 12 <classpathentry kind="lib" path="jsp/WEB-INF/lib/Tidy.jar"/> 14 <classpathentry kind="var" path="TOMCAT_HOME/common/lib/servlet .jar"/>13 <classpathentry kind="var" path="TOMCAT_HOME/common/lib/servlet-api.jar"/> 15 14 <classpathentry kind="var" path="TOMCAT_HOME/common/lib/jasper-runtime.jar"/> 15 <classpathentry kind="var" path="TOMCAT_HOME/common/lib/jsp-api.jar"/> 16 <classpathentry kind="lib" path="jsp/WEB-INF/lib/jdom-1.0.jar"/> 17 <classpathentry kind="lib" path="jsp/WEB-INF/lib/jsword-1.0.8.jar"/> 18 <classpathentry kind="lib" path="jsp/WEB-INF/lib/jsword-common-1.0.8.jar"/> 19 <classpathentry combineaccessrules="false" kind="src" path="/jemdros"/> 16 20 <classpathentry kind="output" path="jsp/WEB-INF/classes"/> 17 21 </classpath> lex/trunk/.project
r99 r216 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <projectDescription> 3 <name>lex -new-emdros</name>3 <name>lex</name> 4 4 <comment></comment> 5 5 <projects> lex/trunk/.settings/org.eclipse.core.resources.prefs
r103 r216 1 #Tue Jun 26 20:15:43 GMT 2007 1 #Fri Dec 28 01:47:54 CET 2007 2 eclipse.preferences.version=1 3 encoding//jsp/auth.jsp=UTF-8 4 encoding//jsp/clause.jsp=UTF-8 5 encoding//jsp/cleanup.jsp=UTF-8 6 encoding//jsp/dump.jsp=UTF-8 7 encoding//jsp/error.jsp=UTF-8 8 encoding//jsp/gen-export.jsp=UTF-8 9 encoding//jsp/header.jsp=UTF-8 10 encoding//jsp/index.jsp=UTF-8 11 encoding//jsp/login.jsp=UTF-8 12 encoding//jsp/lsedit.jsp=UTF-8 13 encoding//jsp/navclause.jsp=UTF-8 14 encoding//jsp/parse.jsp=UTF-8 15 encoding//jsp/rules.jsp=UTF-8 2 16 encoding/<project>=UTF-8 3 eclipse.preferences.version=1lex/trunk/.settings/org.eclipse.jdt.core.prefs
r26 r216 1 # Fri Jul 28 20:46:57 BST 20061 #Wed Dec 26 21:43:59 CET 2007 2 2 eclipse.preferences.version=1 3 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode= disabled4 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1. 43 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 5 5 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 6 org.eclipse.jdt.core.compiler.compliance=1. 46 org.eclipse.jdt.core.compiler.compliance=1.5 7 7 org.eclipse.jdt.core.compiler.debug.lineNumber=generate 8 8 org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 9 org.eclipse.jdt.core.compiler.debug.sourceFile=generate 10 org.eclipse.jdt.core.compiler.problem.assertIdentifier= warning11 org.eclipse.jdt.core.compiler.problem.enumIdentifier= warning12 org.eclipse.jdt.core.compiler.source=1. 310 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 11 org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 org.eclipse.jdt.core.compiler.source=1.5 lex/trunk/src/com/qwirx/lex/Lex.java
r205 r216 28 28 import com.qwirx.db.sql.DbTable; 29 29 import com.qwirx.db.sql.SqlDatabase; 30 import com.qwirx.jemdros.Preloader; 30 31 import com.qwirx.lex.emdros.EmdrosDatabase; 31 32 import com.qwirx.lex.ontology.OntologyDb; … … 162 163 } 163 164 164 private static boolean isLibraryLoaded = false;165 private static boolean m_IsLibraryLoaded = false; 165 166 166 167 public static void loadLibrary() throws Exception 167 168 { 168 if ( isLibraryLoaded)169 if (m_IsLibraryLoaded) 169 170 return; 170 171 171 Class.forName("com.qwirx.lex.Preloader").newInstance();172 Preloader.load(); 172 173 173 // Get OS name174 // String osName = System.getProperty("os.name");175 // System.out.println(osName);176 177 // if (osName.matches(".*[Ww]in.*")) {178 // // Substitute your path179 // System.load("c:\\programmer\\emdros\\lib\\jemdros.dll");180 // } else {181 // // Substitute your path182 // System.load("/home/chris/project/emdros/root/lib/emdros/libjemdros.so");183 // }184 //185 174 Class.forName("com.mysql.jdbc.Driver").newInstance(); 186 175 … … 191 180 SwordBookPath.setAugmentPath(files); 192 181 193 isLibraryLoaded = true;182 m_IsLibraryLoaded = true; 194 183 } 195 184
