This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | pssettings filename malformed for platform | ||
---|---|---|---|
Product: | platform | Reporter: | Wendy Blatt <wendyb> |
Component: | Explorer | Assignee: | _ tboudreau <tboudreau> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | jchalupa, mgarrison |
Priority: | P1 | ||
Version: | 3.x | ||
Hardware: | HP | ||
OS: | OpenVMS | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Diff against 3.6 sources to change the file name |
Description
Wendy Blatt
2004-04-12 20:52:14 UTC
I'm afraid it's too late to fix this for 3.6. The change that introduced the offending filename was made in January. If you only had reported it earlier... Passing to Tim. Hopefully he can figure out some quick fix or workaround. I don't know of any brilliant solution here, other than patching it to change the filename - that would be a one line fix. Wish we'd known sooner. Honza, what do you want to do here? Wendy, is there some special openvms installer that can be re-spun to include the patch? Created attachment 14369 [details]
Diff against 3.6 sources to change the file name
The preferred solution would be to have this patch bundled in the OpenVMS distribution (Wendy, Meg, please confirm it's an option for you). I'd like to avoid rebuilding the final 3.6 bits at this point. BTW, hardcoding a specific version of a product in the name of the file that is common to the whole platform doesn't seem to be the best idea. :-( Tim, use the 'os.name' system property property to detect correct version of OS. For example for linux it is: os.name=Linux Maybe better is to use the org.openide.util.Utilities class. The class support OS detection. We can create an OpenVMS version with the patch. Sorry we didn't look into this sooner, we were "frying other fish". Meg I made a patched VMS version (on VMS the filename used is pssettings3_6.txt. It works. Can we get this change committed in just in case there is a 3.6.1? Thanks, Meg Fixed in trunk. Given the utter triviality of what is saved (whether alphabetic vs categorical order, whether or not to show the description area), little point in bothering to import any pre-existing pssettings.3.6 file. Tim-Boudreaus-Computer:/space/nbsrc/core tim$ ~/bin/cvs commit src/org/netbeans/ core/PsSettingsImpl.java Checking in src/org/netbeans/core/PsSettingsImpl.java; /cvs/core/src/org/netbeans/core/PsSettingsImpl.java,v <-- PsSettingsImpl.java new revision: 1.2; previous revision: 1.1 done Processing log script arguments... Mailing the commit message to cvs@core.netbeans.org (from tboudreau@netbeans.org) OK, closing |