WoWInterface (
-   General Authoring Discussion (
-   -   Developing for BFA with standalone libraries (

yess 07-22-18 11:04 AM

Developing for BFA with standalone libraries
Since BFA/8.0.1 I get a missing file error for all libraries of my own addons because the .toc has the list of libs for the release version where the files will be included.

Has anyone found an elegant solution for this problem?

#@[email protected]
#@[email protected]

Edit: Hmm, an inverted tag would be nice, where the lines are commented out but will not be in the release version.

yess 07-24-18 02:48 AM

I found a solution that works well for me.

I moved the list of files to be included to an xml file and in that one I can use the non-debug tags:

<Ui xmlns="" xmlns:xsi="" xsi:schemaLocation="
  <[email protected]@
  <Script file="LibStub\LibStub.lua" />
  <Include file="CallbackHandler-1.0\CallbackHandler-1.0.xml" />
  <Include file="AceAddon-3.0\AceAddon-3.0.xml" />
  @[email protected]>

That way I do not get the annoying errors during development and in the released version they are included as the packer changes the tags so that the lines are not commented out.

All times are GMT -6. The time now is 10:47 AM.

vBulletin © 2021, Jelsoft Enterprises Ltd
© 2004 - 2021 MMOUI