I 've been talking to Christopher Deckers author of Native Swing and
SWTSwing, about combining efforts with MozSwing. In the process he
discovered a bug in sail-data-emf when trying to run a demo.
This is a pretty important bug:
If the SailUserData folder did not already exist in a users home folder,
then it wasn't being created. And a local copy of the user data was
not being saved. I believe this bug was introduced when we added
versioned subfolders inside of the SailUserData folder and used mkdir()
instead of mkdirs().
So for the past several months, new users of Sail would not be saving
any local back up user data.
I fixed the problem, I have not rebuilt the tels jnlps.
I'm surprised we didn't find out about this sooner. I think if you
force quit the application and restarted there would not have been any
user data uploaded.
You would have noticed it as an exception in the console something like:
java.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(Unknown Source)
at java.io.File.createTempFile(Unknown Source)
at
net.sf.sail.emf.launch.SessionBundleHelper.setupBackupFile(SessionBundleHelper.java:107)
at
net.sf.sail.emf.launch.PortfolioManagerService.getOffering(PortfolioManagerService.java:266)
at
net.sf.sail.emf.launch.EMFSailDataStoreService2.getAgentService(EMFSailDataStoreService2.java:30)
at
net.sf.sail.core.service.impl.SessionManagerImpl.start(SessionManagerImpl.java:154)
at
net.sf.sail.common.apps.preview.BundleLauncher.launch(BundleLauncher.java:157)
at
net.sf.sail.common.apps.preview.BundleLauncher.launch(BundleLauncher.java:103)
at net.sf.sail.emf.launch.EMFLauncher2.main(EMFLauncher2.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Scott
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---