CleanCode v1.2.07 AntDoc

Press that icon in order to update AntDoc GUI

sourceforgeBuild
Target csharp.doc.checkCustomAttr

csharp.doc.checkCustomAttr


Detail:
<target name="csharp.doc.checkCustomAttr">
	<-- Checks for "since" attribute in each class.  -->

	<pathconvert property="csharp.matched">
		<path>
			<fileset
				dir="${mirror.api}/csharp/html"
				includes="T_*.htm"
			>
				<-- omit minor structs -->

				<exclude name="*ChangedData.htm"/>

				<exclude name="*SqlEditorControls_StatusData.htm"/>

				<exclude name="*SqlEditorControls_ButtonStateData.htm"/>
				<-- omit enums -->

				<exclude name="*ExtendedDataGridView_CsvExportChoice.htm"/>

				<exclude name="*ConnectionStringManager_DBTypes.htm"/>

				<exclude name="*ConnectionStringManager_AccessLevel.htm"/>

				<exclude name="*WMIHelper_CustomToken.htm"/>
				<-- omit delegates -->

				<exclude name="*EventHandler.htm"/>

				<exclude name="*ThreadManager_CompletedNotifier.htm"/>

				<exclude name="*CmdRunnerWorker_CmdRunnerUpdater.htm"/>

				<exclude name="*WMIWorker_WMIUpdater.htm"/>

				<exclude name="*PingWorker_PingUpdater.htm"/>

				<exclude name="*FileMask_RestrictionLambdaDelegate.htm"/>

				<exclude name="*AbstractMsgManager_RefresherCopy.htm"/>

				<not>
					<containsregexp expression="Since CleanCode \d"/>
				</not>
			</fileset>
		</path>
	</pathconvert>
	<-- <echo>$${csharp.matched}=${csharp.matched}</echo> -->

	<for
		delimiter=";"
		list="${csharp.matched}"
		param="file"
	>
		<sequential>
			<-- trim off path leaving just file name for brevity-->

			<propertyregex
				input="@{file}"
				override="true"
				property="shortfile"
				regexp=".*[/\\](.*\.htm)"
				replace="\1"
			/>

			<echo
				level="warning"
				message="${shortfile}: missing 'since' clause"
			/>
		</sequential>
	</for>

	<echo>csharp.checkCustomAttr complete.</echo>
</target>


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