1
0
Fork 0

Fixed build script for VM.

Please do not remove "dir" attribute from "exec" tag for targets "phpmd" and "pdepend".
This attribute is required for pdepend to find its pdepend.xml!
If you want to change this, ask me!!!
Dieser Commit ist enthalten in:
D4rk4ng3l 2011-06-14 22:32:01 +00:00
Ursprung 211ba95392
Commit 834095834d

Datei anzeigen

@ -37,13 +37,13 @@
<!-- Generate jdepend.xml and software metrics charts --> <!-- Generate jdepend.xml and software metrics charts -->
<target name="pdepend"> <target name="pdepend">
<touch file="${logdir}/jdepend.xml" mkdirs="true" /> <touch file="${logdir}/jdepend.xml" mkdirs="true" />
<exec executable="pdepend"> <exec dir="${repodir}" executable="pdepend">
<arg line="--jdepend-xml=${logdir}/jdepend.xml <arg line="--jdepend-xml=${logdir}/jdepend.xml
--ignore=language,Zend,ZendX,work,tests --ignore=language,Zend,ZendX,work,tests
--suffix=php --suffix=php
--jdepend-chart=${builddir}/pdepend/dependencies.svg --jdepend-chart=${builddir}/pdepend/dependencies.svg
--overview-pyramid=${builddir}/pdepend/overview-pyramid.svg --overview-pyramid=${builddir}/pdepend/overview-pyramid.svg
${repodir}" /> ${repodir}" />
</exec> </exec>
</target> </target>
@ -51,7 +51,7 @@
<!-- Generate pmd.xml - exclude */Zend/*,*/language/* --> <!-- Generate pmd.xml - exclude */Zend/*,*/language/* -->
<target name="phpmd"> <target name="phpmd">
<touch file="${logdir}/pmd.xml" mkdirs="true" /> <touch file="${logdir}/pmd.xml" mkdirs="true" />
<exec executable="phpmd"> <exec dir="${repodir}" executable="phpmd">
<arg line="${repodir}/ xml codesize,unusedcode,design,naming <arg line="${repodir}/ xml codesize,unusedcode,design,naming
--reportfile ${builddir}/logs/pmd.xml --reportfile ${builddir}/logs/pmd.xml
--suffixes php --suffixes php