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.
Steps to reproduce: - create a full remote project in the home directory using File Sharing options so that it will be visible from both local and remote hosts - build the project on the remote host - open Files tab expand the project directory - select an appropriate binary and call Run from the context menu - in Run dialog choose the remote host the binary was built for Result: The path to the binary disappears from the Executable field.
Just a note: for now "File Sharing" or other file access options do not affect full remote functionality: full remote always work via sftp (file uploads/downloads) and fs_server (stat, lstat and ls). (There is an issue 235669 that is related to this comment. It requests that if a directory is shared, full remote should use this share instead of sftp/fs_server)
As to the effect described in this issue: if user opens a full remote project, it can only be run (and also built and debugged) on the host it was opened at. So the fix will be: for full remote, do not allow choosing host in Run dialog.
(In reply to Vladimir Kvashin from comment #1 and #2) Please disregard my previous comments: after discussing the issue in person, we realized that it wasn't a *full* remote project, but just sharing mode remote project. Hope to fix this soon.
Sorry for mistyping. It was a local project built on local and remote hosts.
That's OK. But I don't see where can I select remote host when running a binary. I see the following fields: - Executable - Working dir - Arguments --- - Project - Configuration - Dependencies - Project Name - Project Location - Project Folder How can I select host?
As I understand, this takes place only in Studio, so this isn't a NetBeans bug: NetBeans even don't contain such UI.