Reputation: 31739
I'm just new to Jenkins and I'm trying to follow this:
but when I try to execute (just using "$ phing") the file "build.xml" it says:
name-of-project > lint:
Execution of target "lint" failed for the following reason: /home/me/ code/myfirm/build.xml:42:32: Could not create task/type: 'apply'. Make sure that this class has been declared using taskdef / typedef.
Any idea?
Javi
Upvotes: 2
Views: 1240
Reputation: 31739
The build.xml provided on http://jenkins-php.org/ is meant to be executed as an ant job. ant and phing has a compatible xml structure(at least for the main parts, like project, task, etc.), but they not 100% compatible with each other. it seems that there is no apply task in phing, so I will use ant.
Upvotes: 1