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 256157 - Custom remote mirror home
Summary: Custom remote mirror home
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-24 20:04 UTC by hsrky
Modified: 2015-11-16 16:47 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hsrky 2015-10-24 20:04:25 UTC
Default Netbeans CND's remote mirror is /home/<username>/.netbeans/. Will it be possible to modify the default path for different build host?
I hit an issue where error copying project due to my home path is nfs:

Copying project files to /net/nfs1/home/username/.netbeans/remote/solaris10.company.com/mypc-Windows-x86_64 at username@solaris10.company.com
Building project files list...
Checking directory structure...
Checking previously uploaded files...
Checking links...
Uploading changed files:
	Zipping 5 changed files...
Error copying project files to /net/nfs1/home/username/.netbeans/remote/solaris10.company.com/mypc-Windows-x86_64 at username@solaris10.company.com: 
/home/username/.netbeans/remote/solaris10.company.com/mypc-Windows-x86_64/C/Project/HelloCMakeWorld_1 should start with /net/nfs1/home/username/.netbeans/remote/solaris10.company.com/mypc-Windows-x86_64
BUILD FAILED
Comment 1 Vladimir Kvashin 2015-11-05 19:16:53 UTC
You can try either of the two command line parameters:

1) -J-Dcnd.remote.sync.root=<full-path-to-the-mirror>

2) -J-Dcnd.remote.sync.root.$HOST=<full-path-to-the-mirror>
where HOST is remote host name

Pleas try any of these and let me know whether it works for you.
Comment 2 hsrky 2015-11-06 02:48:37 UTC
The first command line work, but I can't configure successful for 2nd command.

If my build host name is dev@rhel70.company.com:22, what the command should be?

Any plan for making this configurable via GUI?

Thanks.
Comment 3 Vladimir Kvashin 2015-11-16 16:47:47 UTC
For the 2-nd it should be 
-J-Dcnd.remote.sync.root.rhel70.company.com=<path>

please note that "rhel70.company.com" should be exactly the same host name you entered when setting up the host in the IDE.

There are no specific plans for GUI for that.
I think it would be useful.
Implementation is easy, but we (C/C++ team) are still in bug fixing mode now.