Re: [OpenMap Users] Using a OMGraphicHandlerPlugIn subclass in com.bbn.openmap.examples.hello.HelloWorld?

From: Carsten . Madsen <com_at_navicon.dk>
Date: Thu, 28 Dec 2006 21:01:27 +0100

Hi Bas

Check your classpath, is is identical when launching the OM viewer and
when launching the example app?

Try adding

openmap.Debug= componentfactory componentfactorydetail...

to the openmap.properties file

that should give you the full stack trace. Perhaps you could post it.

regards
/carsten


Bas Schulte wrote:
> Hi,
>
> I'm trying to use the example JAIPlugIn that was posted in this list a
> while ago. In the OpenMap Viewer, this works fine if I specify this in
> a properties file:
>
> jailayer.prettyName=NiceName
> jailjailayerayer.class=JAIPlugIn
> jailayer.imageFile=/some/image.jpg
>
> openmap.layers=date jailayer dtlayer distlayer graticule shapePolitical
>
> In the example app, I have this:
>
>
> jailayer.prettyName=NiceName
> jailjailayerayer.class=JAIPlugIn
> jailayer.imageFile=/some/image.jpg
>
> hello.layers=date jailayer dtlayer distlayer graticule shapePolitical
>
> My JAI layer won't show up in the example :(
>
> I've narrowed it down to getLayers; it instantiates all layers and
> fails because the created object (java.beans.Beans.instantiate(null,
> className);) doesn't return an instance of Layer.
>
> Why does this work in the OpenMap Viewer but not in this example? How
> do I create a Layer that shows what the plugin wants to render?
>
> Cheers,
>
> Bas.
>
> --
> [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"]

--
[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 Thu Dec 28 2006 - 15:04:39 EST

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