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 203609 - Failing to compile module on Custom NetBeans Platform on it's own
Summary: Failing to compile module on Custom NetBeans Platform on it's own
Status: RESOLVED INCOMPLETE
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-12 18:20 UTC by javydreamercsw
Modified: 2011-10-19 23:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Settings imported (66.96 KB, application/x-java-archive)
2011-10-12 18:21 UTC, javydreamercsw
Details
Screen showing the platform defined and the IDE compile error (45.27 KB, image/png)
2011-10-12 18:21 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2011-10-12 18:20:14 UTC
Product Version = NetBeans IDE Dev (Build 201110110600)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0
Runtime = Java HotSpot(TM) Client VM 21.0-b17

I imported a 7.0.1 settings to include a platform definition I have. I was surprised to see that it was imported (not a surprise) but when I try to compile the IDE says it is not found.
Comment 1 javydreamercsw 2011-10-12 18:21:19 UTC
Created attachment 111946 [details]
Settings imported
Comment 2 javydreamercsw 2011-10-12 18:21:29 UTC
Created attachment 111947 [details]
Screen showing the platform defined and the IDE compile error
Comment 3 javydreamercsw 2011-10-12 18:24:52 UTC
I thought I would be able to recreate the platform definition and everything would be fine but it doesn't. I guess something got broken on this build.
Comment 4 javydreamercsw 2011-10-12 18:46:52 UTC
Actually it turned to be a weird issue. The error was when trying to compile the module on its own. But if I compiled its suite and then tried the module it worked.

I'll see if I can get a repeatable test case.
Comment 5 javydreamercsw 2011-10-12 18:48:32 UTC
I'm unable to reproduce. Any hints for me to get a test case?
Comment 6 mienamoo 2011-10-13 05:54:48 UTC
I have seen issues like this spontaneously being fixed when the IDE is restarted.
Comment 7 Jesse Glick 2011-10-19 23:02:49 UTC
(In reply to comment #5)
> I'm unable to reproduce. Any hints for me to get a test case?

Afraid not. If it happens again you can debug the Ant scripts (see context menu of build.xml), or simply check $userdir/build.properties to make sure the requested platform is really defined.