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 202677 - Platform in generated project is not recognizable
Summary: Platform in generated project is not recognizable
Status: RESOLVED DUPLICATE of bug 202455
Alias: None
Product: javafx
Classification: Unclassified
Component: Platform (show other bugs)
Version: 7.1
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Anton Chechel
URL:
Keywords:
Depends on: 202455
Blocks:
  Show dependency tree
 
Reported: 2011-09-26 14:14 UTC by askirov
Modified: 2011-11-07 09:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of situation when known platform in newly created project is not recognized (4.14 MB, image/bmp)
2011-09-26 14:16 UTC, askirov
Details
Sample newly generated project. Which has "defaul_javafx_platform" set, but not recognized. (17.94 KB, application/x-zip-compressed)
2011-09-26 14:18 UTC, askirov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description askirov 2011-09-26 14:14:31 UTC
As you know, we have to prepare JFX for coming release. Now there is a problem with platform setting.

I create a new netbeans project from Ensemble application (You can open any item in the menu and click sources -> Save Netbeans Project.) It opens a new generated projects in Netbeans 7.1beta

As platform "Default_javafx_platform" is set.

NetBeans "knows" about this platform. 

BUT no javafx.* package is recognized by IDE.

After it we try to do the next trick:
we set JDK6 as platform. After, we set "default_javafx_platform" again. Now we get working and compiling project.

Summary: initially platform is not applied.

You can see sample project and screenshot in attachements.
Comment 1 askirov 2011-09-26 14:16:56 UTC
Created attachment 111192 [details]
Screenshot of situation when known platform in newly created project is not recognized
Comment 2 askirov 2011-09-26 14:18:06 UTC
Created attachment 111193 [details]
Sample newly generated project. Which has "defaul_javafx_platform" set, but not recognized.
Comment 3 Stepan Zebra 2011-09-26 14:26:16 UTC
(In reply to comment #2)
> Created an attachment (id=111193) [details]
> Sample newly generated project. Which has "defaul_javafx_platform" set, but not
> recognized.

Your sample project actually works fine for me on the latest beta build (201109252201). Can you give it a try with this build?
Comment 4 Stepan Zebra 2011-09-26 15:01:49 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Created an attachment (id=111193) [details] [details]
> > Sample newly generated project. Which has "defaul_javafx_platform" set, but not
> > recognized.
> 
> Your sample project actually works fine for me on the latest beta build
> (201109252201). Can you give it a try with this build?

Ahh, sorry for confusion. It works for me only because I have an instance of FX2 SDK installed on the default path which is set project.properties of your generated Sample.

This problem is a result of
https://netbeans.org/bugzilla/show_bug.cgi?id=202455

To workaround, invoking Properties on your project and just pressing OK, is enough. The project.properties are corrected after this action. You don't need to switch to another Platform.
Comment 5 Anton Chechel 2011-11-07 09:37:47 UTC

*** This bug has been marked as a duplicate of bug 202455 ***