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.
JavaFX_NB_Plugin_NB65_daily: #309 2008-10-16_02-01-26.zip Product Version = NetBeans IDE Dev (Build 200810150101) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11; Sun Microsystems Inc. Steps to reproduce: - Create a JavaFX Script file: ------------------------------------------------------------- import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.text.Text; Stage{ title: "Application title" width: 250 height: 80 scene: Scene{ content: Text { x: 10, y: 30 content: "Application content" } } } ------------------------------------------------------------- - Go to the project properties and select Run-> Run in Browser - Run the project Application error pops up in browser: com.sun.deploy.net.FailedDownloadException: Unable to load resource: (http://jfx.sfbay.sun.com/hudson/job/javafx1.0/label=macosx-universal/743/artifact/build/macosx-universal/release/javaws/javafx-rt.jnlp?version-id=hudson-javafx1.0%2Flabel%3Dwindows-i586-743&arch=x86&os=Windows&locale=en_US&known-platforms=1.6+1.6+1.6+1.6+1.6+1.6+1.5+1.5+, hudson-javafx1.0/label=windows-i586-743) at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source) at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source) at com.sun.deploy.net.DownloadEngine.getCachedFile(Unknown Source) at com.sun.javaws.LaunchDownload.downloadExtensionsHelper(Unknown Source) at com.sun.javaws.LaunchDownload.downloadExtensions(Unknown Source) at sun.plugin2.applet.JNLP2Manager.downloadResources(Unknown Source) at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source) at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source) at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Created attachment 71951 [details] Browser screen-shot
----------------------------------------------- JavaFXApplication9.html --------------------------------------- <html> <head> <title>JavaFXApplication9</title> </head> <body> <h1>JavaFXApplication9</h1> <script src="http://jfx.sfbay.sun.com/hudson/job/javafx1.0/label=macosx-universal/743/artifact/build/macosx-universal/release/javaws/dtfx.js"></script> <script> javafx( { archive: "JavaFXApplication9.jar", draggable: true, width: 200, height: 200, code: "javafxapplication9.Main", name: "JavaFXApplication9" } ); </script> </body> </html>
Web deployment is an important feature.
See http://openjfx.java.sun.com/jira/browse/RT-1415
No longer reproducible using: Tested using Promoted SDK #42/Plugin build #41 Oct 20, 2008 6:57:29 PM Product: javafx-1.0dev, Platform: windows-i586, Build-Number: 749, Build-ID: 2008-10-17_19-02-42 on: Product Version: NetBeans IDE 6.5 RC1 (Build 200810171318) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
verified