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 180303 - changing devel host and toolchain of related projects too hard
Summary: changing devel host and toolchain of related projects too hard
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-04 16:52 UTC by ivan
Modified: 2012-03-26 07:31 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 ivan 2010-02-04 16:52:15 UTC
This arose while I was looking at bug #180300.
Create SubProjects, build them on the host/platform they
are created with. Now try to build them on some other
host platform. AFAIK one has to tediously go and change the 
development platform for each project.

In general I suppose it is recommended that users setup
configurations for each platform, but changing configurations 
on all the projects is also tedious and error prone.

IMO this restricts multiplatform and remote development only to
small "projects" which fit in one Project.
Comment 1 Thomas Preisler 2010-04-20 22:36:10 UTC
Changing to an enhancement. We may want to support what you suggest one day but it require a serious redesign of projects and generated makefiles.
Comment 2 Chihin Ko 2010-10-28 20:58:50 UTC
I configured 6 configurations for 6 platforms for dbx project :

  Configuration        Development Host
  --------------------------------------
  intel-S2         localhost [Solaris x86]
  amd64-S2         localhost [Solaris x86]
  intel-Linux         jeanko@parra [Linux x86]
  amd64-Linux         jeanko@parra [Linux x86]
  sparc-S2         jeanko@marquez [Solaris sparc]
  sparcv9-S2         jeanko@marquez [Solaris sparc]

When I switched local host to parra [Linux x86] and bring up IDE with same project dbx
I got this :

  Configuration        Development Host
  --------------------------------------
  intel-S2         localhost [Solaris x86]
  amd64-S2         localhost [Solaris x86]
  intel-Linux         jeanko@parra [Not Configured]
  amd64-Linux         jeanko@parra [Not Configured]
  sparc-S2         jeanko@marquez [Not Configured]
  sparcv9-S2         jeanko@marquez [Not Configured]

Does this mean I need to reconfigure all 6 configurations for 6 platforms again ?
If it is, then this is a usability issue, remember, when I first configure remote
hosts, I choose "File System Sharing", I think under NFS, IDE should figure
out the host info and do the right thing when I switch local host.
Comment 3 Leonid Lenyashin 2010-10-29 08:37:31 UTC
Isn't it a solution idea again? Can anyone look at MSVS. As far as I remember this issue is solved there on solution level.
Comment 4 ivan 2010-10-29 22:36:28 UTC
(In reply to comment #3)
> Isn't it a solution idea again? Can anyone look at MSVS. As far as I remember
> this issue is solved there on solution level.

Nothing to do with solutions.

There's two parts that I see in Jeans example.
First is that localhost can be different machines depending 
on what machine you start the ide on.

Suppose i start on machine 'here' and create a configuration for 'there'. 
I'll end up with two configurations:


Then I rlogin to 'there' and start IDE and open the same project.
I expect to see a configuration 'localhost' for 'there'
and a configuration for 'here' (which previously was 'localhost').


The second part is as this.
I start on machine 'here' create a locahost configuration and
a 'there' configuration, like above. Then I create a configuration
for machine 'third' 
Then I start the ide on machine 'there'. It is understandable
that 'here', 'there' and localhost can be confused as described
above, but there should be no confusion about 'third'.
In Jeans example it shows up as NotConfigured.
Comment 5 ivan 2010-10-29 22:40:15 UTC
[ A Tab + Return commits a bug ]

The part I was trying to edit:

Suppose i start on machine 'here' and create a configuration for 'there'. 
I'll end up with two configurations:
    localhost (aka here)
    there    

Then I rlogin to 'there' and start IDE and open the same project.
I expect to see 
    here
    localhost (aka there)