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 209864 - "Mismatched Platforms Warning" window appears if Projects tab contains project from other platform
Summary: "Mismatched Platforms Warning" window appears if Projects tab contains projec...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2
Hardware: PC Solaris
: P2 normal (vote)
Assignee: igor_nikiforov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-21 14:38 UTC by soldatov
Modified: 2012-03-26 13:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2012-03-21 14:38:52 UTC
Scenario:
- Launch NetBeans on Windows
- Create Welcome
- Build project
- Close IDE
- Zip project
- Unzip project on Solaris
- Launch NetBeans on Solaris
- Open project
- Create new Welcome project
- Build new project
==>
"Mismatched Platforms Warning" window appears.
Makefiles for the following configuration(s) were not generated due to a mismatch between the current build host platform "Solaris x86" and the build platform(s) in the configuration(s):

Debug  [build platform: Windows]
Release  [build platform: Windows]

The makefiles will automatically get generated next time the project is opened on those platforms.
Comment 1 igor_nikiforov 2012-03-26 13:43:40 UTC
Now project with incorrect platform is marked as broken and can be repaired by choosing "Resolve project platform problem..." item from the context menu. The problem is resolved by removing private part of project configuration, as it is not transferable from system to system.

The fix is here:
  http://hg.netbeans.org/cnd-main/rev/7581de079e5a