[sword-cvs] swordtools/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS
WLC2OSIS.java, 1.1, 1.2
sword at www.crosswire.org
sword at www.crosswire.org
Fri Jun 4 05:49:18 MST 2004
Committed by: mgruner
Update of /cvs/core/swordtools/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS
In directory www:/tmp/cvs-serv18844/WLC2OSIS
Modified Files:
WLC2OSIS.java
Log Message:
mgruner: now processes into a single xml file. still buggy, no osis yet.
Index: WLC2OSIS.java
===================================================================
RCS file: /cvs/core/swordtools/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/WLC2OSIS.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- WLC2OSIS.java 4 Jun 2004 09:14:52 -0000 1.1
+++ WLC2OSIS.java 4 Jun 2004 12:49:16 -0000 1.2
@@ -24,11 +24,11 @@
// Definitions of input and output to be set by user.
public String ProgramDate = "30 May 2004" ;
-public String DefaultInputFilename = "" ;
-public String InputFilename ;
+public String DefaultInputFilename = "/home/Martin/dev/swordtools/modules/hebrew-wlc/" ;
+public String InputFilename;
public String DefaultInputDate = "5 March 2004" ;
public String Date ;
-public String DefaultOutputDirectory = "" ;
+public String DefaultOutputDirectory = "/home/Martin/KDesktop/" ;
public String OutputDirectory ;
// Define the title and descriptions.
public String Title = "The Westminster Leningrad Codex (WLC)" ;
@@ -109,7 +109,7 @@
F.bar("=", 80) ;
System.out.println("\nWLC2OSIS: " + Title + " " + ShortDescription ) ;
System.out.println("\nInput file: " + InputFilename ) ;
- System.out.println( "Input file date: " + Date ) ;
+// System.out.println( "Input file date: " + Date ) ;
System.out.println("\nOutput directory: " + OutputDirectory ) ;
FileRead FR = new FileRead(this) ;
@@ -120,10 +120,10 @@
//L5253W.L\"815253)5253]4
//YI&:RF)\"80L
- if(false){
- String TestString = "HA/$.FMA73YIM" ;
- Test.test(this, TestString) ;
- }
+// if(false){
+// String TestString = "HA/$.FMA73YIM" ;
+// Test.test(this, TestString) ;
+// }
//-----------------------------------------------------------------------------
// Read, parse, and write the book files.
@@ -133,8 +133,8 @@
// Write the Tanach.xml file
- Index.writeIndex(this) ;
- System.out.println("\nThe index file, Tanach.xml, has been written.\n") ;
+// Index.writeIndex(this) ;
+// System.out.println("\nThe index file, Tanach.xml, has been written.\n") ;
//-----------------------------------------------------------------------------
M.doneMessage() ;
@@ -142,13 +142,13 @@
// Launch the browser on Tanach.xml
- try{
- BrowserLauncher.openURL("file:\\" + OutputDirectory
- + File.separator + "Tanach.xml") ;
- }
- catch(IOException e){
- System.out.println("WLC2OSIS: Couldn't launch browser.") ;
- }
+// try{
+// BrowserLauncher.openURL("file:\\" + OutputDirectory
+// + File.separator + "Tanach.xml") ;
+// }
+// catch(IOException e){
+// System.out.println("WLC2OSIS: Couldn't launch browser.") ;
+// }
done() ;
}
More information about the sword-cvs
mailing list