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.
Generating standalone module into HomeDir containing spaces in name like C:\Documents and Settings\.. causes problems after Install/Reload in Target Platform because IDE is started with wrong UserDir. See attachments.
Created attachment 23368 [details] snippers of ide.log
*** Issue 63578 has been marked as a duplicate of this issue. ***
It causes even much more worse problems, it makes platform unusable, when not noticing this.. see duplicate issue 63578
The default folder in new project wizard is in "C:\Documents and Settings" because there are user acounts. So we can expect that user will create his first netbeans module in this location. Jesse, can you fix it for beta?
I'm considering to rise this to P1 - scenariO: 1) user creates a sample module project - feedreeder 2) since user's "so called" home on Win is C:\Documents and Settings\.., it's highly probable that (s)he installs it right here 3) user tries to run this sample : bare platform is launched, after closing it, user's buried under pile of exceptions.. question follows - will you take a look at this soon??
Have fix.
Hopefully will work now - tested on Linux. committed * Up-To-Date 1.6 apisupport/harness/release/build.xml committed * Up-To-Date 1.16 apisupport/harness/release/jnlp.xml committed * Up-To-Date 1.7 apisupport/harness/release/run.xml committed * Up-To-Date 1.4 apisupport/harness/release/etc/app.conf committed * Up-To-Date 1.3 apisupport/harness/release/launchers/app.sh committed * Up-To-Date 1.17 nbbuild/templates/common.xml
*** Issue 64788 has been marked as a duplicate of this issue. ***
Possible beta candidate?
I am for to add it to beta.
Petr are you sure? If so, please increase the priority, test it in the trunk and ask Radek to merge the fix to beta branch.
To me seems to be the fix ok! Petre?
Yes, it works fine in trunk.
Ok, let's make it Beta stopper. Jesse, please merge the fix to beta branch, thanks in advance.
Created attachment 25122 [details] Minimal patch for the beta branch
The existing patch was actually not complete, as I find in testing it more. I will put the full patch into the beta branch now, and the trunk soon.
Most significantly, I find that the Unix launcher did not handle spaces in the userdir at all. No idea how long this has been broken.
Ghod save me from Bourne shell quoting semantics... still trying to make it actually work...
Created attachment 25126 [details] Trying again
Fixing in beta: Checking in apisupport/harness/release/build.xml; /cvs/apisupport/harness/release/build.xml,v <-- build.xml new revision: 1.5.4.1; previous revision: 1.5 done Checking in apisupport/harness/release/jnlp.xml; /cvs/apisupport/harness/release/jnlp.xml,v <-- jnlp.xml new revision: 1.15.2.2; previous revision: 1.15.2.1 done Checking in apisupport/harness/release/run.xml; /cvs/apisupport/harness/release/run.xml,v <-- run.xml new revision: 1.6.4.1; previous revision: 1.6 done Checking in apisupport/harness/release/etc/app.conf; /cvs/apisupport/harness/release/etc/app.conf,v <-- app.conf new revision: 1.3.2.1; previous revision: 1.3 done Checking in apisupport/harness/release/launchers/app.sh; /cvs/apisupport/harness/release/launchers/app.sh,v <-- app.sh new revision: 1.2.2.1; previous revision: 1.2 done Checking in core/launcher/unix/nbexec; /cvs/core/launcher/unix/nbexec,v <-- nbexec new revision: 1.24.26.1; previous revision: 1.24 done Checking in ide/launcher/unix/netbeans; /cvs/ide/launcher/unix/netbeans,v <-- netbeans new revision: 1.24.4.1; previous revision: 1.24 done Please review & test as I had to patch the IDE's and platform's behavior, not just apisupport.
Remaining trunk fixes: Checking in apisupport/harness/release/run.xml; /cvs/apisupport/harness/release/run.xml,v <-- run.xml new revision: 1.8; previous revision: 1.7 done Checking in apisupport/harness/release/launchers/app.sh; /cvs/apisupport/harness/release/launchers/app.sh,v <-- app.sh new revision: 1.4; previous revision: 1.3 done Checking in core/launcher/unix/nbexec; /cvs/core/launcher/unix/nbexec,v <-- nbexec new revision: 1.25; previous revision: 1.24 done Checking in ide/launcher/unix/netbeans; /cvs/ide/launcher/unix/netbeans,v <-- netbeans new revision: 1.25; previous revision: 1.24 done Please test carefully.
See issue 64807. Your fix of this might have broken it?
Sorry for false accusation, your fix did not affect #64807 :-)
works fine now, closing.