Skip to main content

** Wonderland apps flag day! **

3 replies [Last post]
nsimpson
Offline
Joined: 2004-06-03

I've committed changes to the PDF viewer and whiteboard applications to support window geometry and position synchronization. Until today, if you moved, rotated or scaled one of these apps, other users would not see the changes. Now they will.

This is a flag day because this feature requires a change to the WFS property files for these apps. You need to specify a new property "clientClassname" in the "cellSetup" section of the WFS properties file.

Here's the one for the whiteboard:

org.jdesktop.lg3d.wonderland.whiteboard.client.cell.WhiteboardApp

I've updated the sample WFS files for both apps. You can find them here:

Whiteboard:

lg3d-wonderland/modules/whiteboard/Whiteboard-wlc.xml

PDF viewer:

wonderland-modules/src/modules/apps/2d/pdfviewer/PDFViewer-wlc.xml

If you do an update of your source without changing the WFS property files, you will get exceptions loading these cells. So make sure you update your WFS files for the whiteboard and PDF viewer apps. Note that thae WFS file for the whiteboard in the default MPK20 world has already been updated, so this issue only applies to apps that you've added to the world.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jsalonen
Offline
Joined: 2003-06-13

> This is a flag day because this feature requires a
> change to the WFS property files for these apps. You
> need to specify a new property "clientClassname" in
> the "cellSetup" section of the WFS properties file.

This appears to be the case also for the video application. You need to add


org.jdesktop.lg3d.wonderland.videomodule.client.cell.VideoApp

to your cellSetup or you get an NPE when the client starts up.

The sample WFS properties files currently in SVN have not been updated to reflect the change.

nsimpson
Offline
Joined: 2004-06-03

Thanks for catching the missing update for the video app. I've updated the two sample WFS files.

nsimpson
Offline
Joined: 2004-06-03

FYI: if you're [i]not using the video application[/i], the latest wonderland-modules code supports legacy WFS files and you don't need to make any changes.

If you are using the video application, you must update any WFS files you have for the video app.

Thanks to Jon for spotting this simplification!