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 166689 - Cannot reuse JavaFX libraries for the Mobile profile
Summary: Cannot reuse JavaFX libraries for the Mobile profile
Status: VERIFIED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Adam Sotona
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-07 14:21 UTC by fabriziogiudici
Modified: 2009-07-14 09:52 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 fabriziogiudici 2009-06-07 14:21:40 UTC
At the moment, NetBeans doesn't explicitly support JavaFX libraries (see
http://www.netbeans.org/issues/show_bug.cgi?id=166531). This is not a big deal, as it's possible to include a JavaFX
project as a library of another JavaFX project (specifying a dummy main for the former) and usually things work; things
don't work for the Mobile profile, for a reason described here:

http://javafx-jira.kenai.com/browse/JFXC-2770

and here:

http://weblogs.java.net/blog/fabriziogiudici/archive/2009/06/javafx_12_still.html

Apart reproducing it, I'm not able to say whether it's a JavaFX or a NetBeans bug; JFXC-2770 says it's a NetBeans
problem. I think it's a serious issue, since it makes really hard to develop JavaFX Mobile applications of medium
complexity.
Comment 1 Adam Sotona 2009-07-07 15:56:40 UTC
Current JavaFX must be always compiled from sources. There is no specification of anything that could be called "JavaFX
Library".
As soon as this situation consolidates - NetBeans will provide appropriate support.
Comment 2 Alexandr Scherbatiy 2009-07-14 09:52:50 UTC
I see from the description that it is possible to add a JavaFX project project as a library to an another project
 Select Project Name->Libraries, right-click and select Add Project

It works if both projects have the standard execution model. 
I also tried the case when an A project had  standard execution model and a B project which included the A project as a
library had a mobile emulator model execution. It worked for me.

The situation where the A project is a mobile and the B project is non-mobile does not work.
Probably all libraries in this case should have standard execution model.