CleanCode v1.2.07 AntDoc

Press that icon in order to update AntDoc GUI

sourceforgeBuild
Target csharp.clean

csharp.clean

  |
  +--init

clean csharp compile

Remove all compiled C# files and archives.

Detail:
<target
	depends="init"
	description="clean csharp compile"
	name="csharp.clean"
>
	<pathconvert property="csharp.cleanprojfiles">
		<path>
			<fileset dir="${csharp}">
				<include name="*/*.csproj"/>
			</fileset>
		</path>
	</pathconvert>

	<for
		delimiter=";"
		list="${csharp.cleanprojfiles}"
		param="projectfile"
	>
		<sequential>
			<propertyregex
				input="@{projectfile}"
				override="true"
				property="mydirname"
				regexp="(.*)\\.*"
				replace="\1"
			/>

			<delete dir="${mydirname}\bin"/>

			<delete dir="${mydirname}\obj"/>
		</sequential>
	</for>

	<delete file="${csharp}/cleancode-src-csharp.zip"/>

	<delete file="${csharp}/cleancode-bin-csharp.zip"/>

	<delete file="${csharp}/cleancode-api-csharp.zip"/>

	<delete>
		<fileset
			dir="${dist.root}/bin"
			excludes="System.Data.*"
		/>
	</delete>
</target>


Edouard Mercier 2003.10.01 21:48:07 - AntDoc V0.8g - XSL Transformer Factory: org.apache.xalan.processor.TransformerFactoryImpl