I am trying to set the client and server coder registry providers using the DevelopmentRunner, but not having any success.

Following the descriptions in the Extensions guide, I have made the classes for the client and the server. But when I run my code, I get an exception saying there is no Coder set.

I set the classes like this:

      DevelopmentRunner.setApplicationClass(CircleApp.class);
       DevelopmentRunner.setUseGui(true);

       Properties serverProps = new Properties();
serverProps.setProperty("server-coder-registry-provider", "test.extensions.server.MyServerCoderRegistryProvider");
       DevelopmentRunner.setInitParameters(serverProps);

       Properties clientProps = new Properties();
clientProps.setProperty("client-coder-registry-provider", "test.extensions.client.MyClientCoderRegistryProvider");
       DevelopmentRunner.setUserParameters(clientProps);

       DevelopmentRunner.run();

I suspect that I am setting these registries incorrectly, as it appears that the classes don't actually get called. Can you see something obviously wrong?

Thanks.
-Stuart Booth (Abacus Research)
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to