Project

General

Profile

Actions

Support Request #6135

closed

Plugin description generator working directory

Added by hidden about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Customer:
BOSCH
Department:
Requester's Priority:
Normal
Support Level:
2nd Level
Resolution:
Solved Issue
Affected Products:
Platform:
Windows 7 64bit
Topic:
ADTF::PluginDescription
FAQ Links:

Description

Support Anfrage:

I have a question about the plugin description generator.

- Currently I use the ADTF3 CMake macros to generate a _pdgen project next to my actual project.
- I am accessing files from my code, relative to the project directory.
- These files are found by my plugin during normal run with the adtf_launcher.
- When I try to generate the plugin description however for my plugin, the plugin description generator is called by my _pdgen project from another directory, and does not find my files, gives a runtime error and the plugin description file is not generated.

Currently I have to do the following to be able to generate my plugin description file:
1. Change all the paths to absolute paths in my plugin source code.
2. Build the plugin.
3. Build the plugin description file.
4. Change back the paths to relative paths.
5. Build the plugin again.

Is there a way to tell the plugin description generator from the ADTF3 CMake macros to run from a specified directory to find my files?
Or is there a way to define the paths for my files in my plugin source code in a way that both the laucher and the plugin description generator is able to find my files?

Thank you for your help!

Lösung:

Use absolute paths based on ADTF Macros instead of relative paths.
Additionally, a product ticket (ACORE-9883) has been opened to evaluate if specifying the Plugin Description Generators working directory is feasible.

Actions

Also available in: Atom PDF