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.
When you attempt to add a JAXB Binding to a JavaFX project (any type), the system fails with 'Target "jaxb-code-generation" does not exist in the project "{project}" error. At present, it appears that the only way to get JAXB processing into a JavaFX application is via a project dependency. Steps to reproduce: 1) Create a JavaFX project 2) Create an XML Schema Document within the project 3) Add the required libraries, including JAXB library to the project. 4) Create a new JAXB Binding for the project, set the schema to the schema you created in step 2. 5) Click "Finish" on the JAXB Wizard.
Supporting jaxb in the JavaFX Projects should be implemented on jaxb side. At least including "org-netbeans-modules-javafx-project" filesystem node into the Projects folder (in the layer.xml).
I think this is a general issue of NetBeans that many features are unnecessary restricted to only one project type. For example JavaFX projects support pack200 compression for webstart, SE projects not - despite that fact that its actually an old SE feature. Same for JAXB which is only available for SE projects not for NB modules etc... maybe it would be possible to move as many features to the SE project and implement some kind of hierarchy (e.g JavaFX inherits pack200 from SE...)
JAXB needs project type to have implemented Node Factory API[1] and ANT extension API[2] to plug-ins to particular type of projects. I might be forgetting something, may be LookupProvider and merger. [1] http://bits.netbeans.org/dev/javadoc/org-netbeans-modules-projectuiapi/org/netbeans/spi/project/ui/support/NodeFactory.html [2] http://www.netbeans.org/issues/show_bug.cgi?id=101716