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: | SceneBuilder: Set classpath from Maven Dependencies | ||
---|---|---|---|
Product: | javafx | Reporter: | puce <puce> |
Component: | Visual Tool Integration | Assignee: | Petr Somol <psomol> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | puce |
Priority: | P1 | ||
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
puce
2012-11-30 18:01:50 UTC
*** This bug has been marked as a duplicate of bug 222295 *** (In reply to comment #0) > When opening an FXML file from a Maven project in SceneBuilder then the Maven > Dependencies should be used to set the classpath in the SceneBuilder. > > Currently I sometimes get NullPointerExceptions and sometimes error messages > that there are classpath issues. > Maven JavaFX projects are not currently supported in NB, however once they are, this would be a useful functionally for custom FXML controls. Petr, consider keeping this as a separate enhancement, as issue 222295 is more of a platform/activation problem. > Currently the integration is not useable if custom controls are used -> P1 > > Sample FXML file: > > <?xml version="1.0" encoding="UTF-8"?> > > <?import java.lang.*?> > <?import javafx.scene.*?> > <?import javafx.scene.control.*?> > <?import javafx.scene.layout.*?> > <?import somepackage.*?> > > <fx:root type="SomeControl" xmlns:fx="http://javafx.com/fxml"> > <Label text="%BottomTestPane.Label.text"/> > </fx:root> > > Note that the runtime loads the FXML file correctly. SceneBuilder functionality is still limited in this way. See http://docs.oracle.com/javafx/scenebuilder/1/release_notes_1-0/jsbpub-release_notes_1-0.htm Some progress is being made for the upcoming SB 1.1 release. I suggest you to join the JIRA project, so you'll be able to see all the open issues and report newly discovered problems. |