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.
Summary: | Create JavaFX Class Library project sub-type | ||
---|---|---|---|
Product: | javafx | Reporter: | Petr Somol <psomol> |
Component: | Project | Assignee: | Petr Somol <psomol> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gcoines, mrkam |
Priority: | P2 | ||
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | TASK | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 199283, 213205, 217206 |
Description
Petr Somol
2012-05-30 08:18:07 UTC
This type of project is really needed as there are cases when you want to create parts of application that doesn't have any run method but depend on jfrt.jar. Adding it manually doesn't seem to be a nice solution as it goes into project's lib folder and require additional work to maintain correct link. I'm not sure why issue 166531 was closed and would like to investigate the problem in more detail. From NetBeans 7.4 onwards this is no longer an issue, because standard Java Class Library now takes over the role of the originally intended "JavaFX Class Library". This is made possible by changes described in Issue #229705. To use standard Java Class Library for JavaFX development, go to Project Properties, Deployment panel, and check "Keep JavaFX Runtime on Classpath". The underlying update mechanism will keep the correct jfxrt.jar and possibly other FX RT artifacts on classpath, even after changes of current Java Platform. |