Forums / SmartComponent Library - Developer Forum / Consultingwerk.BusinessEntityDesigner.Plugins.ClassAnnotationGeneratorPlugin

Consultingwerk.BusinessEntityDesigner.Plugins.ClassAnnotationGeneratorPlugin

3 posts, 0 answered
  1. Roger Blanchard
    Roger Blanchard avatar
    343 posts
    Registered:
    29 Jun 2018
    31 Mar
    Link to this post
    I am trying to use this BE Designer plugin and I am getting to the point where the BE is being processed but the Consultingwerk.Studio.ExtractClassAnnotations.ExtractClassAnnotationsJob class is throwing the error that Consultingwerk.Util.ClassHelper compilation is out of date. I have recompiled SCL twice with no luck. I have verified there are no ClassHelper.r laying around.

    Any ideas?


  2. Mike Fechner
    Mike Fechner avatar
    263 posts
    Registered:
    14 Sep 2016
    31 Mar in reply to Roger Blanchard
    Link to this post
    Are you using a multi-project configuration? Maybe there's Consultingwerk R-Code in unexpected locations? 

    You can use the File Search capability in the Session Info Dialog (in the Ribbon QAT of the Business Entity Designer) and search for Consultingwerk\Util\ClassHelper.r
  3. Roger Blanchard
    Roger Blanchard avatar
    343 posts
    Registered:
    29 Jun 2018
    31 Mar in reply to Mike Fechner
    Link to this post
    I found the issue. I was assuming the iniFile setting in the build.xml would set the propath but it does not appear so. I had to add an entry to the propath in the build.xml. That error must be that it could not find it...although it did find the ExtractClassAnnotationJob class.

    After adding that propath entry it now works.


    <PCTRun 
    procedure="Consultingwerk/Studio/ExtractClassAnnotations/extract-class-annotations.p" 
                graphicalMode="true" 
    dlcHome="${env.DLC}"
    cpinternal="iso8859-1" 
    cpstream="iso8859-1"
                compileUnderscore="true" 
    inputchars="2000000" 
    assemblies="..\SmartComponentLibrary\Assemblies"
    iniFile="..\INI\OspreyPOS.ini" 
    token="4000" 
    tempDir="c:\temp">

        <propath>
          <pathelement path="." />
      <pathelement path="..\SmartComponentLibrary" />
    </propath>

    <!-- We need to connect to our DBS or the task will fail -->
    <DBConnection dbName="pos" dbDir="C:\ProgressWrk\OspreyVer117102\Databases\OspreyPOS" singleUser="false"/>
    <DBConnection dbName="histlog" dbDir="C:\ProgressWrk\OspreyVer117102\Databases\OspreyPOS" singleUser="false"/>
                
                <Parameter name="directory" value="@{directory}"/>
                <Parameter name="fileMask" value="@{fileMask}"/>
    <Parameter name="buildFiles" value="@{buildFiles}"/>
                <Parameter name="excludeAnnotations" value="@{excludeAnnotations}"/>
                <Parameter name="overwriteWriteProtected" value="@{overwriteWriteProtected}"/>
                <Parameter name="verbose" value="@{verbose}"/>
            </PCTRun>
3 posts, 0 answered