Execute failed: java.io.IOException: Cannot run program "cucumber": java.io.IOException: error=2, No such file or directory
584 views
Skip to first unread message
Aswin S L
unread,
May 2, 2012, 6:35:04 AM5/2/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to calabash-android
Hi,
I am setting-up calabash in another system. I did not face any issue
in my system.
When I try to run "ant test", I am getting the following error even
after installing cucumber. Any idea ??
======================================================
BUILD FAILED
/home/m1009651/calabash-android-8/build.xml:49: Execute failed:
java.io.IOException: Cannot run program "cucumber":
java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
at java.lang.Runtime.exec(Runtime.java:610)
at org.apache.tools.ant.taskdefs.Execute
$Java13CommandLauncher.exec(Execute.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(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
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(DefaultExecutor.java:
41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
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: java.io.IOException: error=2, No such
file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
at java.lang.ProcessImpl.start(ProcessImpl.java:81)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
... 23 more
======================================================
Thanks!
Aswin SL
Jonas Maturana Larsen
unread,
May 2, 2012, 6:40:52 AM5/2/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to calabash...@googlegroups.com
Hi Aswin,
Did you install the Cucumber gem on the new system?
Please take a look at the new way of installing calabash-android:
> Hi Aswin,
>
> Did you install the Cucumber gem on the new system?
>
> Please take a look at the new way of installing calabash-android:https://github.com/calabash/calabash-android/tree/gemify >
> It will become the default way of doing it later this week.
> It is so much more sexy than the old way ;)
>
> - Jonas
>
> -- Jonas Maturana Larsen