Good day Markus!
I am reading here and I have bit of trouble understanding what is happening.
The extract class annotations build has one task, parse the source with ProParse, extract the class annotations and write those to a file. There is no compilation involved in the process.
Can you make sure everything SmartComponent Library related is compiled correctly? Maybe remove the old .r code and do a recompile. The result must be 0 compilation errors.
If that is all okay, I am thinking in the same direction as Mike, there must be a version / PROPATH messed up somewhere.
Is it safe to adjust the propath in the xml which is located inside the consultingwerk folder ?
I would prefer it that way.
Which file do you imply? SmartComponentLibrary/Consultingwerk/Studio/ExtractClassAnnotations/extract-class-annotations.xml ?
In general it's a very bad idea to change files in the framework, unless Consultingwerk instructs you to do so. If the PROPATH should be changed, there is room for that in your own build file. But as long as we cannot explain why the PROPATH needs to be changed, I would not change it.
You could take the PROPATH out of the -v listing, start a Progress session, update the PROPATH to the one from the Ant listing and try to search the files in that session. I would not be surprised if it finds an outdated class version somewhere.