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 180300

Summary: do not create projects with devel host other than localhost
Product: cnd Reporter: ivan <ivan>
Component: ProjectAssignee: Vladimir Voskresensky <vv159170>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description ivan 2010-02-04 15:44:32 UTC
I created a the SubProjects sample and tried to build it
only to find that IDE wanted to build on some other machine,
a Linux machine.
This was very unexpected. 
It obviously picked the "current" development host as reflected
in the C++ options. But this is extremely deep and invisible.
Choice of host should be in the NewProjectWizard shouldn't it?

Add to that that changing the development host for 5 projects is 
a very tedious task. (And even after I changed them building 'main')
for some reason wanted to build linux components instead of solaris:

/shared/dp/branches/ceres/FCS/inst/sparc-S2/bin/dmake  -f nbproject/Makefile-Debug.mk dist/Debug/SunStudio-Solaris-Sparc/libhello4lib.so
`dist/Debug/SunStudio-Solaris-Sparc/libhello4lib.so' is up to date.
`build' is up to date.
/shared/dp/branches/ceres/FCS/inst/sparc-S2/bin/dmake  -f nbproject/Makefile-Debug.mk dist/Debug/SunStudio-Solaris-Sparc/main
dmake: Fatal error: Don't know how to make target `../hello1lib/dist/Debug/GNU-Linux-x86/libhello1lib.a'
Current working directory /var/tmp/SubProjects_1/main
Comment 1 Thomas Preisler 2010-03-23 00:23:17 UTC
The solution the team has chosen is to show current Development Host and Tool Collection in the New Project  wizard where you also pick project folder and name. Now it is obvious which host and tool chain are being used. You can also change the host and compiler set here.