« Return to Thread: 6.1 PERSISTENCE_NEVER not respected ?

Re: 6.1 PERSISTENCE_NEVER not respected ?

by bruehlicke :: Rate this Message:

Reply to Author | View in Thread

http://qa.netbeans.org/issues/show_bug.cgi?id=134744


On Thu, May 8, 2008 at 12:13 PM, Dr.-Ing. Martin Göttlicher <Martin.Goettlicher@...> wrote:
Yes, I have the same problem. Please post your bug id. I will vote for it.

Best regards,
Martin Goettlicher

> 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---tp16990068p17
> >125535.html Sent from the Netbeans - Open API mailing list archive at
> > Nabble.com.

 « Return to Thread: 6.1 PERSISTENCE_NEVER not respected ?