You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ADDON_DATA doesn't work with wild card like * and ? #287
# some addons need resources to be copied to the bin/data folder of the project
# specify here any files that need to be copied, you can use wildcards like * and ?
# ADDON_DATA =
But the result is [warning] addon data file does not exist, skipping: MyAddonData/*.
and remove * then it works.
And I edit the code with print debug to show addon.data on baseProject::addAddon, then /path/to/addon/MyAddonData/* was printed. (this value is used to filesystem::exists(path))
I confirm the behaviour: ADDON_DATA = "addon_data/* does not behave as the documentation suggests it should, and it takes a while to figure it out.
+= operator works with ADDON_DATA, so it's possible to specify multiple things. changing the documentation to remove references to the wildcard feature would fix the problem.
Activity
artificiel commentedon Feb 7, 2023
I confirm the behaviour:
ADDON_DATA = "addon_data/*does not behave as the documentation suggests it should, and it takes a while to figure it out.+=operator works withADDON_DATA, so it's possible to specify multiple things. changing the documentation to remove references to the wildcard feature would fix the problem.