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 243419 - Javafx on ios example project doesn't work
Summary: Javafx on ios example project doesn't work
Status: RESOLVED INVALID
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-31 19:56 UTC by jorgenj
Modified: 2014-05-23 08:00 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
IDE log (61.16 KB, text/plain)
2014-03-31 19:56 UTC, jorgenj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jorgenj 2014-03-31 19:56:19 UTC
Product Version = NetBeans IDE 7.4 (Build 201310111528)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_51
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.51-b03

Hi,

I've downloaded netbeans 7.4 and also the javafx on ios plugin.

When I build any of the example projects, they work fine, but when I executed them ('Custom -> run iphone simulator') then they fail with this error:
Failed to execute goal org.robovm:robovm-maven-plugin:0.0.7.2:create-ipa (default-cli) on project jov: Execution default-cli of goal org.robovm:robovm-maven-plugin:0.0.7.2:create-ipa failed: java.io.IOException: Cannot run program "security": CreateProcess error=2, Det går inte att hitta filen -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException





Here is the complete output:
cd C:\Users\Lucas\Documents\NetBeansProjects\HelloWorld; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.7.0_51" cmd /c "\"\"C:\\Program Files\\NetBeans 7.4\\java\\maven\\bin\\mvn.bat\" -Dmaven.ext.class.path=\"C:\\Program Files\\NetBeans 7.4\\java\\maven-nblib\\netbeans-eventspy.jar\" robovm:create-ipa\""
Scanning for projects...
                                                                        
------------------------------------------------------------------------
Building HelloWorld 1.0-SNAPSHOT
------------------------------------------------------------------------

>>> robovm-maven-plugin:0.0.7.2:create-ipa (default-cli) @ jov >>>

--- maven-resources-plugin:2.5:resources (default-resources) @ jov ---
[debug] execute contextualize
Using 'UTF-8' encoding to copy filtered resources.
skip non existing resourceDirectory C:\Users\Lucas\Documents\NetBeansProjects\HelloWorld\src\main\resources

--- maven-compiler-plugin:2.3.2:compile (default-compile) @ jov ---
Nothing to compile - all classes are up to date

--- maven-resources-plugin:2.5:testResources (default-testResources) @ jov ---
[debug] execute contextualize
Using 'UTF-8' encoding to copy filtered resources.
skip non existing resourceDirectory C:\Users\Lucas\Documents\NetBeansProjects\HelloWorld\src\test\resources

--- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ jov ---
No sources to compile

--- maven-surefire-plugin:2.10:test (default-test) @ jov ---
No tests to run.
Surefire report directory: C:\Users\Lucas\Documents\NetBeansProjects\HelloWorld\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0


--- maven-jar-plugin:2.4:jar (default-jar) @ jov ---

--- maven-assembly-plugin:2.4:single (distro-assembly) @ jov ---
Reading assembly descriptor: src/main/assembly/html.java.net.xml
Building zip: C:\Users\Lucas\Documents\NetBeansProjects\HelloWorld\target\jov-1.0-SNAPSHOT-html.java.net.zip

<<< robovm-maven-plugin:0.0.7.2:create-ipa (default-cli) @ jov <<<

--- robovm-maven-plugin:0.0.7.2:create-ipa (default-cli) @ jov ---
Building RoboVM app for: ios (thumbv7)
Including JavaFX Runtime in build
Compiling RoboVM app, this could take a while, especially the first time round
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 4.574s
Finished at: Mon Mar 31 21:51:52 CEST 2014
Final Memory: 12M/177M
------------------------------------------------------------------------
Failed to execute goal org.robovm:robovm-maven-plugin:0.0.7.2:create-ipa (default-cli) on project jov: Execution default-cli of goal org.robovm:robovm-maven-plugin:0.0.7.2:create-ipa failed: java.io.IOException: Cannot run program "security": CreateProcess error=2, Det går inte att hitta filen -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
Comment 1 jorgenj 2014-03-31 19:56:24 UTC
Created attachment 146446 [details]
IDE log
Comment 2 Tomas Zezula 2014-05-22 09:24:19 UTC
The JFX on iOS is 3rd party (jarda's) plugin.
Comment 3 Jaroslav Tulach 2014-05-23 08:00:31 UTC
The execution requires Mac. I thought that
http://plugins.netbeans.org/plugin/52156/?show=true
states that clearly enough. Probably the note is not visible enough.

You can suggest me a better place to show the note. Otherwise, there is nothing to be done with your inquiry.