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.

Bug 177016 - Can't build a project with localized path with smart secure copy
Summary: Can't build a project with localized path with smart secure copy
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-17 12:24 UTC by Vladimir Kvashin
Modified: 2015-05-21 09:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Netbeans log (-J-Dcnd.remote.logger.level=0) (55.49 KB, text/plain)
2009-11-17 12:27 UTC, Vladimir Kvashin
Details
Proposed fix (1.58 KB, application/octet-stream)
2009-11-18 11:41 UTC, Vladimir Kvashin
Details
proposed patch. Using UTF-8 for communication (13.17 KB, patch)
2009-11-19 10:45 UTC, Vladimir Voskresensky
Details | Diff
Cannot open file (124.70 KB, image/png)
2009-11-21 07:07 UTC, Alexander Simon
Details
see also log (2.83 KB, text/plain)
2009-11-21 08:48 UTC, Alexander Simon
Details
additional fix for opening files from profiler results (1.53 KB, text/plain)
2009-11-23 01:44 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2009-11-17 12:24:58 UTC
If a path to a project contains Russian characters (I guess the same will take place with other locales as well), and smart secure copy is set for the host, build fails.
Comment 1 Vladimir Kvashin 2009-11-17 12:27:07 UTC
Created attachment 91196 [details]
Netbeans log (-J-Dcnd.remote.logger.level=0)
Comment 2 Vladimir Kvashin 2009-11-18 11:41:25 UTC
Created attachment 91282 [details]
Proposed fix
Comment 3 Vladimir Kvashin 2009-11-18 15:09:42 UTC
Please disregard the fix - it concerns issue 176967, not this one
Comment 4 Vladimir Voskresensky 2009-11-19 08:23:53 UTC
we use non symmetric encodings in the rfs protocol + setWorking directory of native execution does not work for remote processes
Comment 5 Vladimir Voskresensky 2009-11-19 10:45:11 UTC
Created attachment 91373 [details]
proposed patch. Using UTF-8 for communication
Comment 6 Vladimir Voskresensky 2009-11-19 10:46:38 UTC
Andrew, Vladimir, please, review the proposed patch. Thanks.
Comment 7 Vladimir Kvashin 2009-11-19 15:42:28 UTC
I believe the fix is correct and safe.
Comment 8 Vladimir Voskresensky 2009-11-20 02:40:03 UTC
Let QA decide about showstopper status
Comment 9 Alexander Pepin 2009-11-20 04:44:02 UTC
Default NB project directory on Windows XP is placed inside 'My Documents' which is a localized directory. So default remote project scenario will not work. Need to be fixed to avoid lots of complains from users.
Comment 10 Vladimir Voskresensky 2009-11-20 08:38:02 UTC
pushed:
http://hg.netbeans.org/cnd-main?cmd=changeset;node=3b9a2e982457
Comment 11 Alexander Simon 2009-11-21 07:04:57 UTC
It seem a bug not fixed fully.
Still I cannot open file in profile results.
So fixed:
- pass files to remote
- build on remote
Do not fixed:
- map remote file to local host.
Please evaluate this misbehavior for showstopper also.
IMHO bug should be fixed fully or is not fixed at all (inform user that only English letters can be applied for folder/file names).
Comment 12 Alexander Simon 2009-11-21 07:07:56 UTC
Created attachment 91468 [details]
Cannot open file
Comment 13 Alexander Simon 2009-11-21 08:48:26 UTC
Created attachment 91470 [details]
see also log
Comment 14 Vladimir Voskresensky 2009-11-21 15:13:19 UTC
for empty /usr/local/include/ RemoteFileSupport does the following:
~$ sh -c 'test -d /usr/local/include/ && cd /usr/local/include/ && for D in *; do if [ -d $D ]; then echo D $D; else echo F $D; fi; done'
F *
=> that's why trying to create invalid '*' folder
Comment 15 Quality Engineering 2009-11-21 15:45:07 UTC
Integrated into 'main-golden', will be available in build *200911211401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3b9a2e982457
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed IZ#177016: Can't build a project with localized path with smart secure copy
Comment 16 Alexander Simon 2009-11-23 01:44:19 UTC
Created attachment 91500 [details]
additional fix for opening files from profiler results
Comment 17 Vladimir Voskresensky 2009-11-23 03:10:24 UTC
I'm fine with the proposed additional fix
Comment 18 Alexander Pepin 2009-11-23 03:15:20 UTC
Please provide dev_build with the fix so QA could test it before integration into RC clone.
Comment 19 Alexander Pepin 2009-11-23 07:42:31 UTC
verified in dev-build 2269.
Please integrate into release68 clone.
Comment 20 Vladimir Kvashin 2009-11-23 13:09:53 UTC
Fixed in cnd-main and release68.
Comment 21 Quality Engineering 2009-11-23 18:10:19 UTC
Integrated into 'main-golden', will be available in build *200911231619* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/8a69df0e3301
User: Alexander Simon <alexvsimon@netbeans.org>
Log: BZ#177016 Can't build a project with localized path with smart secure copy:
- additional fix for opening files from profiler results
Comment 22 Alexander Pepin 2009-11-26 10:18:13 UTC
verified in RC1 candidate
Comment 23 wesbyrne7792 2015-05-21 09:37:56 UTC
Cnd-main and release68? so it is good to know :)