Developer Studio and building annotations using ant broken in 12.8.x?
 
Forums / SmartComponent Library - Developer Forum / Developer Studio and building annotations using ant broken in 12.8.x?

Developer Studio and building annotations using ant broken in 12.8.x?

8 posts, 0 answered
  1. Patrik Wikström
    Patrik Wikström avatar
    86 posts
    Registered:
    15 Oct 2018
    1 day and 10 hours ago
    Link to this post
    Noticed that the ${build_files:f} returns other files than the one that was really changed? I have 12.8.7 at the moment.
    Last modified on 03 Nov 2025 08:11 by Patrik Wikström
  2. Mike Fechner
    Mike Fechner avatar
    362 posts
    Registered:
    14 Sep 2016
    1 day and 10 hours ago in reply to Patrik Wikström
    Link to this post
    Can you provide more details about this? Which (unexpected) files are passed?

    The ANT builder has always been called twice. Once for the modified cls files and then once more for the modified annotation files.
  3. Patrik Wikström
    Patrik Wikström avatar
    86 posts
    Registered:
    15 Oct 2018
    1 day and 9 hours ago
    Link to this post
    Might be something on our side but for example this set when compiling Digia.Framework.System.Document.DocumentBusinessEntity.cls:

     [echo] C:\src\enterprise\.sonarlint\rcc.txt C:\src\enterprise\DigiaFramework\Digia\OERA\DigiaBusinessEntity.r C:\src\enterprise\SmartComponentLibrary\Ccs\BusinessLogic\IBusinessEntity.r C:\src\enterprise\SmartComponentLibrary\Ccs\BusinessLogic\IUpdatableBusinessEntity.r C:\src\enterprise\SmartComponentLibrary\Ccs\Common\IService.r C:\src\enterprise\SmartComponentLibrary\Consultingwerk\OERA\BusinessEntity.r C:\src\enterprise\SmartComponentLibrary\Consultingwerk\OERA\BusinessEntityDescriptor\IProvidesBusinessEntityDescriptor.r C:\src\enterprise\SmartComponentLibrary\Consultingwerk\OERA\IBusinessEntity.r C:\src\enterprise\SmartComponentLibrary\Consultingwerk\OERA\IBusinessService.r C:\src\enterprise\SmartComponentLibrary\Consultingwerk\OERA\IFetchDataByReference.r C:\src\enterprise\SmartComponentLibrary\Consultingwerk\OERA\IHasContextID.r C:\src\enterprise\SmartComponentLibrary\Consultingwerk\OERA\ISupportsResetState.r

    I have to install the most recent Progress service pack.
  4. Mike Fechner
    Mike Fechner avatar
    362 posts
    Registered:
    14 Sep 2016
    1 day and 9 hours ago in reply to Patrik Wikström
    Link to this post
    R-code is also expected. The more exciting question … do .annotation files get created or updated? 
  5. Patrik Wikström
    Patrik Wikström avatar
    86 posts
    Registered:
    15 Oct 2018
    1 day and 9 hours ago in reply to Mike Fechner
    Link to this post
    They do not
  6. Mike Fechner
    Mike Fechner avatar
    362 posts
    Registered:
    14 Sep 2016
    1 day and 9 hours ago in reply to Patrik Wikström
    Link to this post
    Then please log a support ticket and we can try to help fixing the configuration issue.
  7. Patrik Wikström
    Patrik Wikström avatar
    86 posts
    Registered:
    15 Oct 2018
    1 day and 9 hours ago
    Link to this post
    Could you please verify if annotations are created for you and the ${build_files:f} returns the files you're expecting to see? It would help us when debugging.
    Through the command line the ant is creating the annotations files.
    Last modified on 03 Nov 2025 09:11 by Patrik Wikström
  8. Mike Fechner
    Mike Fechner avatar
    362 posts
    Registered:
    14 Sep 2016
    1 day and 3 hours ago in reply to Patrik Wikström
    Link to this post
    So if the question is if the annotation generator still works in Progress Developer Studio 12.8 ... yes it does. I just verified this in 12.8.9.

    I'm really not sure, why you stick to the build_files:f topic ... what you see there is normal behavior. The ANT builder is launched whenever files are modified. That are .cls files, .r files and .annotation files. They all may appear in the build_files:f ... This is why the script filters for .cls files.

    If you do not see updates to the .annotation files, most of the time that indicates issues with the propath or other build parameters. If you Business Entity relies on DB connections (I leave that uncommented here), but the PCTRun is not using DB connections, the proparse job will fail. 

    Hence my suggestion: Please log a support ticket. Then we can go into much more detail and ask for your scripts etc. 
8 posts, 0 answered