Re: [OpenMap Users] MakeToc problem?

From: Don Dietrick <dietrick_at_bbn.com>
Date: Fri, 24 Oct 2008 17:31:17 -0400

Thanks for the heads-up, I've updated the repository with the fix.

- Don

On Oct 20, 2008, at 6:41 PM, Marc D. Benstein wrote:

> 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)
> _at_@ -55,7 +55,7 @@
> if (Debug.debugging("binaryfile")) {
> Debug.output("FileInputReader created from " +
> f.getAbsolutePath());
> }
> - name = f.getAbsolutePath();
> + name = f.getName();
> inputFile = init(f);
> }
>
> _at_@ -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_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Oct 24 2008 - 17:31:29 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT