Saturday, 15 August 2015

java - Doxygen Failing with another ant task -



java - Doxygen Failing with another ant task -

so doxygen running in maven project ant task. i'm trying add together codenarc (groovy style checker) project, using ant task.

once they're both there, start getting error when build. (this doesn't happen when doxygen task there).

it looks reason when add together codenarc ant task, stops beingness able find doxygen executable needs run.

here's error:

failed execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (doxygen-generate) on project myproject: ant buildexception has occured: execute failed: java.io.ioexception: cannot run programme "doxygen" (in directory "/users/user/developer/root/project/myproject"): error=2, no such file or directory [error] around ant part ...<exec dir="/users/user/developer/root/project/myproject" executable="doxygen">... @ 5:95 in /users/user/developer/root/project/myproject/target/antrun/build-main.xml

any ideas why happening? need them play nice together.

could due codenarc's explicit dependency on ant or other dependency:

<dependency> <groupid>org.apache.ant</groupid> <artifactid>ant</artifactid> <version>1.7.1</version> </dependency>

if so, perhaps exclude that, e.g. maven: how override dependency added library

java maven ant groovy doxygen

No comments:

Post a Comment