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 239762 - Executable disappears from run dialog when the host is changed
Summary: Executable disappears from run dialog when the host is changed
Status: RESOLVED INVALID
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2013-12-24 11:26 UTC by Alexander Pepin
Modified: 2013-12-24 13:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2013-12-24 11:26:58 UTC
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.
Comment 1 Vladimir Kvashin 2013-12-24 11:40:10 UTC
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)
Comment 2 Vladimir Kvashin 2013-12-24 11:43:31 UTC
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.
Comment 3 Vladimir Kvashin 2013-12-24 12:35:58 UTC
(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.
Comment 4 Alexander Pepin 2013-12-24 12:40:10 UTC
Sorry for mistyping. It was a local project built on local and remote hosts.
Comment 5 Vladimir Kvashin 2013-12-24 13:05:54 UTC
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?
Comment 6 Vladimir Kvashin 2013-12-24 13:54:32 UTC
As I understand, this takes place only in Studio, so this isn't a NetBeans bug: NetBeans even don't contain such UI.