Does anybody else have a similar problem ? I will later today file this as an issue for NB 6.1
B-)
On Thu, May 8, 2008 at 8:54 AM, KM <
kevin@...> wrote:
Having encountered the same problem I implemented a temporary fix that might
work for others as well. I added an installer file to the module
responsible for the problem topcomponents, and in the restored method
explicitly deleted any saved settings files for these components, e.g.
public class Installer extends ModuleInstall {
@Override
public void restored() {
String nbu = System.getProperties().getProperty("netbeans.user");
if (nbu == null) return;
String fs = System.getProperties().getProperty("file.separator");
File settingsFile = new File(nbu + fs + "config" + fs + "Windows2Local"
+ fs + "Components" + fs
+ "<problem top component>.settings");
if (settingsFile.exists()) settingsFile.delete();
}
}
--
View this message in context: http://www.nabble.com/6.1-PERSISTENCE_NEVER-not-respected---tp16990068p17125535.html
Sent from the Netbeans - Open API mailing list archive at Nabble.com.