...
Code Block | ||
---|---|---|
| ||
<import file="Consultingwerk/Studio/ExtractClassAnnotations/extract-class-annotations.xml"/> <target name="ExtractClassAnnotations"> <extractClassAnnotations directory="Consultingwerk" fileMask="*BusinessEntity.cls" overwriteWriteProtected="true" excludeAnnotations="@Test,@TestIgnore,@BusinessEntityGenerator" verbose="true"> <!-- If propath is required to find the tools --> <propathentries> <pathelement path="." /> <pathelement path="../SmartComponentLibrary" /> </propathentries> </extractClassAnnotations> </target> |
This ANT script will extract annotations from all classes in the Consultingwerk directory that match the fileMask *BusinessEntity.cls. Write protected files will be overwritten and @Test, @TestIgnore and @BusinessEntityGenerator annotations will be ignored.
...