Re: [OpenMap Users] Loading OpenMap with Java Web Start

From: Don Dietrick <dietrick_at_bbn.com>
Date: Tue, 15 Apr 2008 15:12:02 -0400

Hi Danny,

Danny Chen wrote:
> Has anyone been able to load openMap successfully using Java Web Start?
> I know it can be done since one of the demos for OpenMap uses Web Start,
> but I am having problems doing it in my application. The problem is
> that I'm trying to find my "a.toc" file by searching through directories
> in my jar, but I am having problems loading the resources as a File
> object in my code and seeing if it is a directory and listing the files
> underneath it. I know there's been some discussion regarding
> instantiating a File object from jar resources, and I hope i'm not
> rehashing old material. I really need help on this though. Thanks..
>
>
> --
> [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"]
>

I can see how you'd have trouble doing what you are trying to do. It
sounds like you might want to use the JarFile object to check out the
entries in the Jar. If you weave your way through the JarEntries, you
should be able to check to see if they are directories or not.

Hope this helps,

Don

--
[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 Tue Apr 15 2008 - 15:12:26 EDT

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