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 271634 - Failed to create a new project with existing source at a remote host
Summary: Failed to create a new project with existing source at a remote host
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.2
Hardware: PC Linux
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-13 06:22 UTC by peakmountain
Modified: 2017-10-15 13:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (214.36 KB, text/plain)
2017-10-13 06:22 UTC, peakmountain
Details

Note You need to log in before you can comment on or make changes to this bug.
Description peakmountain 2017-10-13 06:22:29 UTC
Product Version = NetBeans IDE 8.2 (Build 201609300101)
Operating System = Linux version 4.4.87-18.29-default running on amd64
Java; VM; Vendor = 1.8.0_144
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.144-b01

Reproducibility: Happens every time

STEPS:
  * Configure and start a docker container.
  * Get the IP Address of the container, and configure it as a remote host.
  * Successfully connect to the remote host. And I can open the Terminal, and log on the remote host at Home folder.
  * Right click the remote host, select "New C/C++ Project", then "C/C++ Project with Existing Sources" 
  * Set the sources folder to the directory on the remote host.
  * When click "Finish", it prompts error "sh: unzip: command not found when unzipping and removing /home/dev/xxx/host/.rfs_tmp_1507875459781.zip in dev@172.17.0.2:/home/dev/xxx/host [valid]"
  * Click "Finish" again, it prompts error "Cannot lock read-only file dev@172.17.0.2:/home/dev/xxx/host/nbproject/project.xml". This error can be by passed by mkdir nbproject
  * Cliek "Finish" again, it prompts error "java.lang.IllegalArgumentException: No Ant-based project factory for type org.netbeans.modules.cnd.makeproject"

ACTUAL:
  Failed to create the new project

EXPECTED:
  Create a new project
Comment 1 peakmountain 2017-10-13 06:22:34 UTC
Created attachment 165280 [details]
IDE log