View Single Post
03-22-24, 03:45 PM   #5
Codger
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Mar 2021
Posts: 30
Lib dependency

Ok. I'm still trying to figure this stuff out. Thanks again for your thoughtful and instructional replies.
The reason I thought I needed it was an entry in the Libs\LibDBIcom-1.0\embeds.xml file

Lua Code:
  1. <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd">
  2.  
  3. <Script file="LibStub\LibStub.lua"/>
  4. <Script file="CallbackHandler-1.0\CallbackHandler-1.0.lua"/>
  5. <Script file="LibDataBroker-1.1\LibDataBroker-1.1.lua"/>
  6.  
  7. </Ui>
After looking at the embeds file I was thinking maybe I should have included a link to the Libs\LibDBIcom-1.0\embeds.xml
rather than the Libs\LibDBIcom-1.0\LibDBIcon-1.0.lua file in my addon embeds.xml file as it appears to have the
libraries and dependencies in the LibDBIcon xml file.

However when I tried to do that the LibDBIcon xml file contained a split line which generated an error.
I didn't want to change my local LibDBIcon library as others who use this example may not have a
working version of the library to depend on and the example would fail so I included all four of the libraries
in my addon embeds.xml file.
  Reply With Quote