Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "xcop" #67

Open
alex-semenyuk opened this issue Aug 8, 2018 · 7 comments

Comments

@alex-semenyuk
Copy link

On running maven clean install -Pqulice throw the following error on Windows:

Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (default) on project java-api: An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "xcop": CreateProcess error=2,
[ERROR] around Ant part ...... @ 18:50 in C:\zold\java-api\target\antrun\build-main.xml

For com.jcabi required to install xcop by gem and add to PATH variable.

@0crat
Copy link
Collaborator

0crat commented Aug 8, 2018

@llorllale/z please, pay attention to this issue

@0crat
Copy link
Collaborator

0crat commented Aug 8, 2018

@alex-semenyuk/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!

@0crat
Copy link
Collaborator

0crat commented Aug 8, 2018

@llorllale/z please, pay attention to this issue

@0crat
Copy link
Collaborator

0crat commented Aug 8, 2018

@alex-semenyuk/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!

@alex-semenyuk alex-semenyuk changed the title Cannot run program xcop An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "xcop" Aug 8, 2018
@llorllale
Copy link
Collaborator

@alex-semenyuk

For com.jcabi required to install xcop by gem and add to PATH variable.

Is this the solution?

PD: I never got this working on Windows either

@alex-semenyuk
Copy link
Author

@llorllale no, a new a little bit different throw Execute failed: java.io.IOException: Cannot run program "
xcop": CreateProcess error=216. There is an issue in xcop jcabi/jcabi-parent#76

@fabriciofx
Copy link

fabriciofx commented Jan 13, 2019

@llorllale @alex-semenyuk I've submitted a PR that fix this issue, but I've tested only on Windows 10 and Ubuntu 18.10. Can anyone test on macOS and others Windows and Linux versions too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants