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

Open
#67 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java, ruby
Domain
build-system

Research direction

Reproduce maven clean install -Pqulice on Windows and inspect target/antrun/build-main.xml around the maven-antrun-plugin execution of xcop. Check how the build expects the xcop executable to be installed and discover what change would make the build complete without the reported CreateProcess error.

Written by the indexing model from the issue text.

Description

bug

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.

Dominant language
Java
Stars
22
Forks
14
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from zold-io/java-api

All issues in zold-io/java-api

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.