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 192082

Summary: Path mapper problems with remote build for a project with multiple source roots
Product: cnd Reporter: Chihin Ko <chihinko>
Component: RemoteAssignee: Vladimir Kvashin <vkvashin>
Status: RESOLVED FIXED    
Severity: normal CC: b.pwned, ivan
Priority: P3    
Version: 7.0   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:
Attachments: screen shot of "Edit Path's Map..."

Description Chihin Ko 2010-11-18 01:52:01 UTC
dbx project

When doing remote build, "Edit Path's Map" pop-up and asking mappings for tons of source files, I don't know what to do with it. See attach.

This is a NFS env, remote host can access source server, I don't think I need to do mapping here. This popup should not show at all.

Vladimir, please use dbx workspace to try to do a remote build first, solve all the problems on the way, before you close this IZ. I gave you the instruction to create a dbx ws before.

I don't want to file IZs one by one, too many of them....
Comment 1 Chihin Ko 2010-11-18 01:54:08 UTC
Created attachment 103054 [details]
screen shot of "Edit Path's Map..."
Comment 2 Vladimir Kvashin 2011-04-07 07:49:41 UTC
I was finally able to reproduce this.

If a project has multiple source roots, path mapper dialog endlessly says that it can not find correspondence between local and remote paths and build is impossible.

Steps to reproduce:
- set up a remote host, set sharing sync mode
- create a simple C/C++ project 
- add a source file from a directory that is outside of the project directory to the project
- try building it

I believe it's at least a P2.
Comment 3 Vladimir Kvashin 2011-04-07 10:24:40 UTC
fixed in cnd-main:
http://hg.netbeans.org/cnd-main/rev/2654e5d4ab72
Comment 4 Quality Engineering 2011-04-08 08:50:25 UTC
Integrated into 'main-golden', will be available in build *201104080400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2654e5d4ab72
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #192082 - Path mapper problems with remote build for a project with multiple source roots