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 149207 - JavaFX Projects do not run
Summary: JavaFX Projects do not run
Status: VERIFIED FIXED
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: 2008-10-06 11:18 UTC by Alexandr Scherbatiy
Modified: 2011-10-19 12:04 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 Alexandr Scherbatiy 2008-10-06 11:18:27 UTC
JavaFX_trunk_NB_Plugin_NB65_cont: #302 	2008-10-06_13-19-10.zip

  Product Version         = NetBeans IDE Dev (Build 200809151401)
  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 project
- Copy the code to the editor:
------------------------------------
import javafx.stage.Stage;
import javafx.scene.Scene;

Stage {
    title : "MyApp"
    width: 200
    height: 200
    scene: Scene {
        content: [  ]
    }
}

------------------------------------

- Run the project:

init:
deps-jar:
Unknown argument: and

JavaFX Packager arguments:
---------------------------
-src | -sourcepath <source root1>[;<source root2>...]          at least 1 source root is required
-cp | -classpath | -librarypath <library1>[;<library2>...]     optional
-res | -resourcepath <resource root1>[;<resource root2>...]    optional
-d | -destination <target directory>                           default target directory is ./dist
-workDir <working directory>                                   optional
-v | -verbose                                                  enables verbose output
-p | -profile [DESKTOP | MOBILE | EMBEDDED]                    default profile is DESKTOP
-appName <application name>                                    default application name is application class name
-appVendor <application vendor>                                default application vendor is "user.name" Java system
property
-appVersion <application version>                              default application version is 1.0
-appClass <application class>                                  mandatory argument
-appWidth <applet width>                                       default applet width is 200
-appHeight <applet height>                                     default applet height is 200
-appCodebase <application code base URL>                       default code base is empty
-keystore <keystore for signing>                               temporary self-signature is created when keystore is not
specified
-keystorePassword <password>                                   mandatory when signing with specific keystore
-keyalias <alias>                                              mandatory when signing with specific keystore
-keyaliasPassword <password>                                   keystorePassword is used instead when not specified

-help                                                          prints this help screen
-version                                                       prints JavaFX Toolchain version number

sample usages:
--------------
javafxpackager -src ./mysources -appClass mypackage.MyApplication
  builds all JavaFX and Java sources according to default DESKTOP profile specification into ./dist/MyApplication.html,
./dist/MyApplication.jnlp, ./dist/MyApplication.jar and ./dist/MyApplication.jar.pack.gz

javafxpackager -src ./mysources -appClass mypackage.MyApplication -p mobile
  builds all JavaFX and Java sources according to MOBILE profile specification into ./dist/MyApplication.jad and
./dist/MyApplication.jar

compile:
jar:
BUILD SUCCESSFUL (total time: 0 seconds)


The project do not run.
Comment 1 Andrey Yamkovoy 2008-10-06 13:40:25 UTC
Changing priority to P2 because reproducible only if there are spaces in the project path.
Reassign to Adam because this in my opinion should be fixed in the JavaFX Packager.
Comment 2 Adam Sotona 2008-10-07 15:19:47 UTC
this should be already fixed in javafxpackager.exe
Comment 3 Alexandr Scherbatiy 2008-10-10 13:44:32 UTC
verified in 2008-10-10_14-59-38.zip
Comment 4 David Strupl 2011-10-19 12:04:49 UTC
Cleaning bugzilla categories ....