Search code examples
phpubuntutestingantpdepend

Build failed ANT because pdepend is missing


I have been trying to set up an ubuntu server where ant tests my code. When I start ANT to test my code it starts with phploc-ci that goes fine. But the next check is pdepend I get the error Cannot run program "pdepend": error=2, No such file or directory.

As you can see it can't find the path or something. I would say the path is correct because it finds all other folders.

I have been searching this site and google for 2 hours I can't seem to find a solution. Do you guys have any suggestions.


Solution

  • I finally found the solution thanks to a suggestion of Mark Baker. I located every package with sudo find / -xdev 2>/dev/null -name "phpdox" for example after that I copied the patj into value in the build.xml. I did this for every of the needed plugins... now it works