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 http://confluence.consultingwerkcloud.com/wiki/display/SCL/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

©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:55:05