Run Project in Blacbberry sim error

66 views
Skip to first unread message

Stendelis

unread,
Mar 1, 2013, 1:12:51 PM3/1/13
to phon...@googlegroups.com
I can`t run my proyect in sim


C:\Users\Admin\_Apps_Mobil\WeatherCyclopedia\WCY-Ver.0\Blackberry\WeatherCyclope
dia>ant qnx load-simulator
Buildfile: C:\Users\Admin\_Apps_Mobil\WeatherCyclopedia\WCY-Ver.0\Blackberry\Wea
therCyclopedia\build.xml

qnx:

load-simulator:

generate-cod-name:
     [echo] Generated name: WeatherCyclopedia.bar

clean:
   [delete] Deleting directory C:\Users\Admin\_Apps_Mobil\WeatherCyclopedia\WCY-
Ver.0\Blackberry\WeatherCyclopedia\build

package-app:
    [mkdir] Created dir: C:\Users\Admin\_Apps_Mobil\WeatherCyclopedia\WCY-Ver.0\
Blackberry\WeatherCyclopedia\build\widget
     [copy] Copying 8 files to C:\Users\Admin\_Apps_Mobil\WeatherCyclopedia\WCY-
Ver.0\Blackberry\WeatherCyclopedia\build\widget
     [copy] Unable to create directory C:\Users\Admin\_Apps_Mobil\WeatherCyclope
dia\WCY-Ver.0\Blackberry\WeatherCyclopedia\qnx.bbwp.dir=C:\Program Files\Researc
h In Motion\BlackBerry 10 WebWorks SDK 1.0.4.11\Framework\ext
      [zip] Building zip: C:\Users\Admin\_Apps_Mobil\WeatherCyclopedia\WCY-Ver.0
\Blackberry\WeatherCyclopedia\build\WeatherCyclopedia.zip

build:

BUILD FAILED
C:\Users\Admin\_Apps_Mobil\WeatherCyclopedia\WCY-Ver.0\Blackberry\WeatherCyclope
dia\build.xml:55: The following error occurred while executing this line:
C:\Users\Admin\_Apps_Mobil\WeatherCyclopedia\WCY-Ver.0\Blackberry\WeatherCyclope
dia\qnx.xml:160: The following error occurred while executing this line:
C:\Users\Admin\_Apps_Mobil\WeatherCyclopedia\WCY-Ver.0\Blackberry\WeatherCyclope
dia\qnx.xml:194: Execute failed: java.io.IOException: Cannot run program "qnx.bb
wp.dir=C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.4.11\b
bwp.bat": CreateProcess error=2, The system cannot find the file specified
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
        at java.lang.Runtime.exec(Runtime.java:615)
        at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Exec
ute.java:862)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
        at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631)
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
        at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
        at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
        at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.jav
a:398)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:392)
        at org.apache.tools.ant.Target.performTasks(Target.java:413)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
        at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
CheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
        at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:303)
        at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:221)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:392)
        at org.apache.tools.ant.Target.performTasks(Target.java:413)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
        at org.apache.tools.ant.Main.runBuild(Main.java:811)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(ProcessImpl.java:189)
        at java.lang.ProcessImpl.start(ProcessImpl.java:133)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
        ... 66 more

Total time: 0 seconds

C:\Users\Admin\_Apps_Mobil\WeatherCyclopedia\WCY-Ver.0\Blackberry\WeatherCyclope
dia>

Tim

unread,
Mar 5, 2013, 2:41:06 PM3/5/13
to phon...@googlegroups.com
Hi,

The following error occurred while executing this line:
...
Cannot run program "qnx.bbwp.dir=C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.4.11\bbwp.bat": CreateProcess error=2, The system cannot find the file specified

Have you made sure that in your project.properties file that the property "qnx.bbwp.dir" points to the correct place?  
Reply all
Reply to author
Forward
0 new messages