On Mon, 2008-10-20 at 15:32 -0700, Dan Goldberg wrote:
> Does anyone know if anything changed regarding this behavior in
> OpenMap 4.6.4? We haven’t actually tried creating an A.TOC in a while
> so I’m not sure when it stopped working (for us at least).
MakeToc isn't working in 4.6.4 or in CVS. I posted a patch last week.
See subject make toc.
Here's the patch it's been working fine for me.
Index: openmap/src/openmap/com/bbn/openmap/io/FileInputReader.java
--- openmap/src/openmap/com/bbn/openmap/io/FileInputReader.java Base
(1.5)
+++ openmap/src/openmap/com/bbn/openmap/io/FileInputReader.java Locally
Modified (Based On 1.5)
@@ -55,7 +55,7 @@
if (Debug.debugging("binaryfile")) {
Debug.output("FileInputReader created from " +
f.getAbsolutePath());
}
- name = f.getAbsolutePath();
+ name = f.getName();
inputFile = init(f);
}
@@ -73,8 +73,9 @@
if (Debug.debugging("binaryfile")) {
Debug.output("FileInputReader created from " + f);
}
- name = f;
- inputFile = init(new File(f));
+ File file = new File(f);
+ name = file.getName();
+ inputFile = init(file);
}
/**
-- Marc Benstein SAIC (505) 830-6763 -- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Mon Oct 20 18:50:08 2008
This archive was generated by hypermail 2.1.8 : Mon Oct 20 2008 - 18:50:08 EDT