Parentpacke: Consultingwerk.Studio
Consultingwerk.Studio.ExtractClassAnnotations

The Consultingwerk.Studio.ExtractClassAnnotations package contains a utility to extract class and class member annotations into JSON files. The utility can be launched using an ANT/PTC job. A sample ANT macro to run the utility is defined in

Consultingwerk/Studio/ExtractClassAnnotations/extract-class-annotations.xml

A sample ANT file:

    <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" />
    </target> 

See https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094542/The+Annotation+based+Type+Descriptor for details on the annotation based type descriptor.

See http://jakejustus.github.io/pct/ for details on PCT.



Classes
ExtractClassAnnotationsJob Parses ABL source code using proparse and writes annotations to a JSON file to provide runtime access to the annotations using the Consultingwerk.Framework.TypeDescriptor classes
ExtractClassAnnotationsParameter Parameter class for the ExtractClassAnnotationsJob
ProcessingFileEventArgs

©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:25:56