Fix: remove unused plugin and avoid fault positive
This commit is contained in:
parent
44c0ede508
commit
bd43f80e40
28
build.xml
28
build.xml
@ -5,7 +5,6 @@
|
|||||||
<delete dir="${basedir}/hudson"/>
|
<delete dir="${basedir}/hudson"/>
|
||||||
|
|
||||||
<!-- Create build directories -->
|
<!-- Create build directories -->
|
||||||
<mkdir dir="${basedir}/hudson/api"/>
|
|
||||||
<mkdir dir="${basedir}/hudson/doxygen"/>
|
<mkdir dir="${basedir}/hudson/doxygen"/>
|
||||||
<mkdir dir="${basedir}/hudson/code-browser"/>
|
<mkdir dir="${basedir}/hudson/code-browser"/>
|
||||||
<mkdir dir="${basedir}/hudson/coverage"/>
|
<mkdir dir="${basedir}/hudson/coverage"/>
|
||||||
@ -23,7 +22,6 @@
|
|||||||
<!-- Run pdepend, phpmd, phpcpd, phpcs, phpdoc and phploc in parallel -->
|
<!-- Run pdepend, phpmd, phpcpd, phpcs, phpdoc and phploc in parallel -->
|
||||||
<target name="parallelTasks">
|
<target name="parallelTasks">
|
||||||
<parallel>
|
<parallel>
|
||||||
<antcall target="pdepend"/>
|
|
||||||
<antcall target="phpmd"/>
|
<antcall target="phpmd"/>
|
||||||
<antcall target="phpcpd"/>
|
<antcall target="phpcpd"/>
|
||||||
<antcall target="phpcs"/>
|
<antcall target="phpcs"/>
|
||||||
@ -32,19 +30,6 @@
|
|||||||
</parallel>
|
</parallel>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- Generate jdepend.xml and software metrics charts -->
|
|
||||||
<target name="pdepend">
|
|
||||||
<exec executable="pdepend">
|
|
||||||
<arg line="--jdepend-xml='${basedir}/hudson/logs/jdepend.xml'
|
|
||||||
--jdepend-chart='${basedir}/hudson/pdepend/dependencies.svg'
|
|
||||||
--summary-xml='${basedir}/hudson/logs/jdepend-summary.xml'
|
|
||||||
--overview-pyramid='${basedir}/hudson/pdepend/overview-pyramid.svg'
|
|
||||||
--ignore='${basedir}/htdocs/includes'
|
|
||||||
htdocs
|
|
||||||
" />
|
|
||||||
</exec>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<!-- Generate pmd.xml -->
|
<!-- Generate pmd.xml -->
|
||||||
<target name="phpmd">
|
<target name="phpmd">
|
||||||
<exec executable="phpmd">
|
<exec executable="phpmd">
|
||||||
@ -76,7 +61,6 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- Generate checkstyle.xml -->
|
<!-- Generate checkstyle.xml -->
|
||||||
|
|
||||||
<target name="phpcs">
|
<target name="phpcs">
|
||||||
<exec executable="phpcs" dir="${basedir}" output="${basedir}/hudson/logs/checkstyle.xml">
|
<exec executable="phpcs" dir="${basedir}" output="${basedir}/hudson/logs/checkstyle.xml">
|
||||||
<arg line=" --standard=${basedir}/dev/codesniffer/ruleset.xml
|
<arg line=" --standard=${basedir}/dev/codesniffer/ruleset.xml
|
||||||
@ -87,22 +71,12 @@
|
|||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- Generate API documentation -->
|
<!-- Generate Doxygen documentation -->
|
||||||
<target name="doxygen" description="Dolibarr documentation" >
|
<target name="doxygen" description="Dolibarr documentation" >
|
||||||
<exec executable="doxygen" dir="${basedir}" failonerror="false">
|
<exec executable="doxygen" dir="${basedir}" failonerror="false">
|
||||||
<arg value="${basedir}/build/doxygen/hudson-doxygen.doxyfile"/>
|
<arg value="${basedir}/build/doxygen/hudson-doxygen.doxyfile"/>
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="phpcb">
|
|
||||||
<exec executable="phpcb">
|
|
||||||
<arg line="--log '${basedir}/hudson/logs'
|
|
||||||
--source '${basedir}/htdocs'
|
|
||||||
--output '${basedir}/hudson/code-browser'
|
|
||||||
--ignore '${basedir}/htdocs/includes'
|
|
||||||
" />
|
|
||||||
</exec>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="hudson" depends="clean,parallelTasks,phpunit,phpcb"/>
|
<target name="hudson" depends="clean,parallelTasks,phpunit,phpcb"/>
|
||||||
</project>
|
</project>
|
||||||
Loading…
Reference in New Issue
Block a user