The SWORD Project
<% String spsection="software"; %>
<%@ include file="/include/sword_header.jsp" %>
<%
String baseDir = "/home/ftp/pub/sword/source/";
// get latest version information
String majorDirs[] = new File(baseDir).list();
java.util.Arrays.sort(majorDirs);
String latestMajor = majorDirs[majorDirs.length-1];
File minorFiles[] = new File(baseDir + latestMajor).listFiles(new java.io.FileFilter() {
public boolean accept(File f) {
return f.getName().endsWith(".tar.gz");
}
});
java.util.Arrays.sort(minorFiles, new java.util.Comparator() {
public int compare(File f1, File f2) {
long diff = f2.lastModified() - f1.lastModified();
return (diff < 0) ? -1 : ((diff > 0) ? 1 : 0);
}
});
File latest = minorFiles[0];
String version = latest.getName().substring(latest.getName().lastIndexOf("-") + 1, latest.getName().lastIndexOf(".tar"));
Date lastModified = new Date(latest.lastModified());
%>
The SWORD Engine
The SWORD Engine is a software framework that allows research manipulation of Biblical texts. There are a number of projects that use The SWORD Engine, including Bibletime, GnomeSword, and The SWORD Project for Windows. Many of these projects already include The SWORD Engine in their distribution, so only download if you were instructed to do so, or are a software developer wishing to develop Bible software.