Skip to content
Browse files

Remove Clover.NET build tasks

Clover.NET is not used, and is not longer available.
  • Loading branch information...
1 parent 8c85585 commit adbe4f4bbd39132b353cc25dda299b3cc4de7ea7 @julian-maughan julian-maughan committed
Showing with 5 additions and 72 deletions.
  1. +4 −27 build-common/common-project.xml
  2. +0 −18 build-common/common.xml
  3. +1 −27 default.build
View
31 build-common/common-project.xml
@@ -30,8 +30,7 @@
if it exists.
- common.compile-dll
- compile a DLL, generating the documentation file (.xml) and using Clover
- if enabled.
+ compile a DLL, generating the documentation file (.xml)
- common.generate-assemblyinfo
generate an AssemblyInfo.cs file from assembly.* NAnt properties.
@@ -49,17 +48,7 @@
<include buildfile="common.xml" />
- <target name="common.clover-setup" if="${clover.enabled}">
- <clover-setup
- initstring="${root.dir}/${clover.db}"
- builddir="${root.dir}/${clover.src}/${project::get-name()}"
- enabled="${clover.instrument}"
- flushinterval="1000"
- />
- </target>
-
<target name="common.compile-tests"
- depends="common.clover-setup"
description="Compile NUnit tests and copy App.config file to the output directory, if it exists.">
<csc
@@ -96,9 +85,7 @@
</target>
- <target name="common.compile-tests-vb"
- depends="common.clover-setup"
- description="Compile NUnit tests and copy App.config file to the output directory, if it exists.">
+ <target name="common.compile-tests-vb" description="Compile NUnit tests and copy App.config file to the output directory, if it exists.">
<vbc
target="library"
@@ -137,9 +124,7 @@
</target>
- <target name="common.compile-dll"
- depends="common.clover-setup"
- description="Compile sources into a DLL, using Clover if enabled">
+ <target name="common.compile-dll" description="Compile sources into a DLL">
<property name="project.output" value="${bin.dir}/${project::get-name()}.dll" unless="${property::exists('project.output')}"/>
@@ -180,9 +165,7 @@
</target>
- <target name="common.compile-exe"
- depends="common.clover-setup"
- description="Compile sources into a console executable">
+ <target name="common.compile-exe" description="Compile sources into a console executable">
<csc
target="exe"
@@ -230,12 +213,6 @@
<property overwrite="false" name="assembly.version.file" value="${project.version.numeric}" />
<property overwrite="false" name="assembly.copyright" value="Licensed under LGPL." />
<property overwrite="false" name="assembly.sign" value="${sign}" />
-
- <!--
- Disable CLSCompliantAttribute for non-instrumented assemblies during Clover
- build. The attribute causes build problems.
- -->
- <property name="assembly.is-cls-compliant" value="false" if="${clover.enabled and not clover.instrument}" />
</target>
<target name="common.generate-assemblyinfo"
View
18 build-common/common.xml
@@ -30,24 +30,6 @@
-->
<property name="nunit2report.installed" value="false" overwrite="false" />
- <!--
- Cenqua provided a license of Clover.NET for the NHibernate project to use.
- -->
- <property name="clover.enabled" value="false" overwrite="false" />
- <property name="clover.src" value="src/CloverSrc" />
- <property name="clover.db" value="${clover.src}/clover.cdb" />
-
- <!-- NET 3.5 is using 2.0 runtime, should still work in 2.0 -->
- <property name="clover.framework" value=".NET 2.0" if="${nant.settings.currentframework == 'net-3.5'}" />
-
- <property name="clover.framework" value=".NET 2.0" if="${nant.settings.currentframework == 'net-2.0'}" />
-
- <property name="clover.home" value="${environment::get-folder-path('ProgramFiles')}/Cenqua/Clover.NET 2.0 for ${clover.framework}" if="${property::exists('clover.framework')}"/>
- <property name="clover.assembly" value="CloverNAnt-0.85.dll" />
-
- <if test="${clover.enabled}">
- <loadtasks assembly="${clover.home}/${clover.assembly}" />
- </if>
<property name="nant-version.current" value="${assemblyname::get-version(assembly::get-name(nant::get-assembly()))}" />
<property name="nant-version.required" value="0.85.2478.0" /> <!-- Nant 0.85 release version -->
<property name="nant-version.beta1_086" value="0.86.2898.0" /> <!-- Nant 0.86 Beta 1 -->
View
28 default.build
@@ -37,8 +37,7 @@
<include name="NHibernate.Test.VisualBasic/NHibernate.Test.VisualBasic.build" />
</fileset>
- <target name="init" depends="common.init"
- description="Initializes build properties" />
+ <target name="init" depends="common.init" description="Initializes build properties" />
<target name="prepare-build-directory" depends="init">
<mkdir dir="${bin.dir}" />
@@ -119,23 +118,6 @@
</nant>
</target>
- <target name="coverage-report" description="Builds the test coverage reports"
- if="${clover.enabled}">
-
- <mkdir dir="${build.dir}/clover" />
- <clover-setup
- initstring="${clover.db}"
- flushinterval="1000"
- />
-
- <clover-report>
- <current title="NHibernate Clover Report" output="${build.dir}/clover" >
- <format type="html" orderby="Alpha" />
- </current>
- </clover-report>
-
- </target>
-
<target name="doc" depends="init binaries"
description="Builds the Help Documentation and the API documentation">
<nant buildfile="doc/documentation.build" target="api manual" />
@@ -173,8 +155,6 @@
</target>
<target name="binaries" depends="init">
- <property name="clover.enabled" value="false" />
-
<call target="build" />
</target>
@@ -193,7 +173,6 @@
</target>
<target name="reports" depends="init">
- <property name="clover.enabled" value="false" />
<call target="test-all-frameworks" />
<call target="test-report" />
<call target="coverage-report" />
@@ -219,9 +198,6 @@
<include name="releasenotes.txt" />
<include name="readme.html" />
- <!-- exclude the Clover modified source files. -->
- <exclude name="${clover.src}/**" />
-
<!-- exclude ReSharper stuff -->
<exclude name="**/_ReSharper*/**" />
<exclude name="**/*.resharperoptions" />
@@ -331,12 +307,10 @@
<target name="cleanall" description="Deletes every build configuration">
<echo message="Deleting all builds from all configurations" />
<delete dir="build" failonerror="false" />
- <delete dir="${clover.src}" failonerror="false" />
</target>
<target name="clean" depends="init" description="Deletes current build">
<delete dir="${build.dir}" failonerror="false" />
- <delete dir="${clover.src}" failonerror="false" />
</target>
<target name="gen-schema-classes" descripton="Generates schema classes from nhibernate-mapping.xsd">

0 comments on commit adbe4f4

Please sign in to comment.
Something went wrong with that request. Please try again.