Project

General

Profile

Actions

Support Request #11859

closed

Plugindescription paths does not resolve macros (always)

Added by hidden almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Customer:
AUDI
Department:
EF
Requester's Priority:
Normal
Support Level:
2nd Level
Resolution:
Workaround Available
Product Issue Numbers:
Affected Products:
Platform:
Topic:
ADTF::CE
FAQ Links:

Description

Supportanfrage

We are using ADTF3.8 Version, and we have the use-case, where we want to define an environment variable in System Editor, and we want to use this variable at various locations in our current-project/session, as shown in the figures 1 and 2 below . Here we use the variable $(GAF3_PROJEKT_DIR) to define the search paths for description-files of my own written filters. It works as intended when we first define these search-paths. However, when we close the project/session, and restart ADTF, it does not seem to find the .description files (Error shown in Validation Protocol view in Figure 3-4), even though the paths are correct. If we redefine the same paths again in the search-paths for plugin descriptions, the error goes away.
Could you kindly suggest us, how this error could be prevented?

Abbildung 1

Abbildung 2

Abbildung 3

Abbildung 4

Lösung

The scope of Environment Variables in ADTF System (File) is inside the ADTF Session, so it does not have any relation to an ADTF Project or CE Settings (in your case).
That it will work in some situations depends on the model build up by ADTF Configuration Editor and the Environment Variables which will be set by the loaded ADTF Session.
But this is more a hidden feature or even more a "bug" to architecture and OS behaviour.

We advise only use Environment Variables defined in the ADTF System only within the ADTF Session (and its containing files).

We are working on a solution to get macros from product, load the pool (plugindescription) and use it within ADTF System (for CE and Launcher).
We call it adtfenvironment and will be releasing it with ADTF 3.9.0.

Feel free to use a preview -> https://git.digitalwerk.net/adtf3_open_source/adtfenvironment_files
The documnetation there should show up the use case and how to use it (will be a guide in ADTF 3.9.0 later).


Files

image006.jpg (14.8 KB) image006.jpg hidden, 2020-08-05 14:45
image007.jpg (32.1 KB) image007.jpg hidden, 2020-08-05 14:45
image010.jpg (61.7 KB) image010.jpg hidden, 2020-08-05 14:45
image011.jpg (43.1 KB) image011.jpg hidden, 2020-08-05 14:45
Actions

Also available in: Atom PDF