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: | upgrade.properties and backslash characters | ||
---|---|---|---|
Product: | installer | Reporter: | David Kaspar <dkaspar> |
Component: | Code | Assignee: | issues@installer <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | ttran |
Priority: | P1 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
diff of changes
my upgr properties generated by today installater |
Description
David Kaspar
2003-04-11 11:07:01 UTC
Created attachment 9893 [details]
diff of changes
Fixed in main trunk. Checking in src/org/netbeans/installer/actions/WriteAction.java; /cvs/installer/src/org/netbeans/installer/actions/WriteAction.java,v <-- WriteAction.java new revision: 1.13; previous revision: 1.12 done please ask someone from QA to verify the fix. I'll approve shortly once I see QA confirmation Diff reviewed without objections, using Properties object will solve this problem. Fix verified on dev build installer, approved. approved for 3.5 by release coordinator Fixed in release35. Checking in src/org/netbeans/installer/actions/WriteAction.java; /cvs/installer/src/org/netbeans/installer/actions/WriteAction.java,v <-- WriteAction.java new revision: 1.11.2.2; previous revision: 1.11.2.1 done IMHO, not sure if the fix is 100% reliable:-/ I took todays 3.5Beta installer NetBeansIDE-release35-200304142350-win32.exe and I've got this raw in the upgrade.properties file: BACKUP_FOLDER=C\:\\Documents and Settings\\dm103276\\.netbeans\\3.4 but should be double slashed also the drive C: ? What's your openion? Shell we reopen it? Created attachment 9941 [details]
my upgr properties generated by today installater
Daniel, Backslash character preceding colon character in your path is correct. See javadoc for "store" method of "java.util.Properties" class: http://java.sun.com/j2se/1.4.1/docs/api/java/util/Properties.html#store(java.io.OutputStream, java.lang.String) I think the fix works correctly. Thanks David. I wasn't sure about it. (and sorry my comment was unclear as I'm reading it again) so, I think we could mark it as verified |