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 253320 - Cannot change platform for platform
Summary: Cannot change platform for platform
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: PC Windows 8 x64
: P3 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-06 13:02 UTC by cezariusz
Modified: 2015-08-28 11:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Platform change disabled in the module properties (41.00 KB, image/png)
2015-07-06 13:02 UTC, cezariusz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cezariusz 2015-07-06 13:02:06 UTC
Created attachment 154491 [details]
Platform change disabled in the module properties

Product Version: NetBeans IDE Dev (Build nbms-and-javadoc-151-on-20150702)
Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b15
System: Windows 8 version 6.2 running on amd64; UTF-8; pl_PL (nb)

I've opened sources for Platform 8.0.1 and I'm trying to change a platform to build the platform module, but the option is disabled (see the screenshot). With the default dev platform it doesn't build (see bug 253319).
Comment 1 Ondrej Vrabec 2015-08-28 06:37:55 UTC
Obviously you cannot change the NB platform for a NB module - the platform is the one the module belongs to. You say you downloaded NetBeans 8.0.1 sources, where did you exactly download it from?
Comment 2 cezariusz 2015-08-28 07:05:11 UTC
(In reply to Ondrej Vrabec from comment #1)
> You say you downloaded NetBeans 8.0.1
> sources, where did you exactly download it from?

AFAIR
http://bits.netbeans.org/8.0.1/community/zip/netbeans-8.0.1-201409082112-platform-src.zip
Comment 3 cezariusz 2015-08-28 08:02:10 UTC
(In reply to Ondrej Vrabec from comment #1)
> Obviously you cannot change the NB platform for a NB module

Shouldn't I build 8.0.1 platform modules using 8.0.1? How am I supposed to do it - only downloading NB IDE 8.0.1?

> the platform is the one the module belongs to.

I don't see any module suite there.
Comment 4 Ondrej Vrabec 2015-08-28 11:44:38 UTC
> Shouldn't I build 8.0.1 platform modules using 8.0.1? How am I supposed to do it - only downloading NB IDE 8.0.1?
You build NB platform using JDK+Ant, it does not matter what NB you have installed on your system, you can build in CLI without NB at all if you want.
See http://wiki.netbeans.org/WorkingWithNetBeansSources for more details. In short you download NB 8.0.1 sources, and run ant -Dcluster.config=platform

> I don't see any module suite there.
I am saying it belongs to NB platform it is part of, not to a module suite.

This is not a bug, closing.