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 65414 - assign platform to module during removing from suite
Summary: assign platform to module during removing from suite
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-29 19:16 UTC by pzajac
Modified: 2005-11-01 14:01 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 pzajac 2005-09-29 19:16:10 UTC
Steps to reproduce:
1) Create module suite
2) Add a module to module suite
3) Remove the module from module suite
4) Perform build on module 

Error message was shown because  module has not set platform. It will be better
to set default platform to module project when is removed from module suite.
Comment 1 Martin Krauskopf 2005-09-29 23:09:00 UTC
I thought this is actually how it works. Maybe some problem with refreshing.
Comment 2 Tomas Danek 2005-09-30 17:21:37 UTC
IMHO the same case like if you remove platform on which you develop suite -
suite is beeing developed against default platform (no warning present, but
that's already filed)
Comment 3 Martin Krauskopf 2005-10-27 15:12:03 UTC
The culprit is that nbproject/private/platform-private.properties is not created
so then evaluating of user.properties.file failed so then
nbplatform.default.harness.dir cannot be found. I'll generate the file. Not sure
if this shouldn't be the task for project evaluator (should use
${netbeans.user}/user.properties as a fallback)
Comment 4 Martin Krauskopf 2005-10-27 15:24:55 UTC
Fixed.

Checking in ui/customizer/SuiteUtils.java; 1.12 --> 1.13
Checking in test/project/ui/customizer/SuiteUtilsTest.java; 1.3 --> 1.4
Comment 5 pzajac 2005-11-01 14:01:57 UTC
verified