One of my addons uses Ace3 to create ScrollFrames, which are used for displaying help windows.
However, one of the users of said addon told me that they can't use the commands which create said ScrollFrames. Only when I told him to install Ace3 did he say they worked properly.
So, I added
##RequiredDeps: Ace3
to my addons TOC file.
What I want to know is, is there another way of including the required files without the user needing to install Ace3?
Add the relevant Ace3 libraries to your .pkgmeta (most likely you're not using the whole package, just some of the libraries it contains) and your TOC. This will tell the wowace packager to include the libraries with your addon, and load them for the user from within your addon's folder.
You should also add:
## OptionalDeps: Ace3
...to your TOC, so that users who don't want embedded libraries (eg. they prefer to download and install Ace3 separately and not have 75 copies of it in each addon they use) will still be able to load your addon.
AceGUI-3.0 actually doesn't use CallbackHandler-1.0, but it does require LibStub. Also, make sure you're using spaces instead of tabs (as Xinhuan mentioned) and don't forget the colon at the end of the "local" path:
You should also use no-lib-strip tags around the library references in your TOC, so they'll be commented out in disembedded packages. I'm not sure if it's still an issue (though I'd be surprised if Blizzard had done anything about it), but calling a nonexistent file from your TOC significantly increases WoW's loading time. (Doing the same from an XML file does not, though.)
However, one of the users of said addon told me that they can't use the commands which create said ScrollFrames. Only when I told him to install Ace3 did he say they worked properly.
So, I added
to my addons TOC file.
What I want to know is, is there another way of including the required files without the user needing to install Ace3?
http://kb.wowace.com/projects/packaging-an-addon/#w-use-of-libraries
It's not exactly helpful, as it doesn't tell you how to use the .pkgmeta file to do this.
http://kb.curseforge.com/projects/pkgmeta-file/
Add the relevant Ace3 libraries to your .pkgmeta (most likely you're not using the whole package, just some of the libraries it contains) and your TOC. This will tell the wowace packager to include the libraries with your addon, and load them for the user from within your addon's folder.
You should also add:
## OptionalDeps: Ace3
...to your TOC, so that users who don't want embedded libraries (eg. they prefer to download and install Ace3 separately and not have 75 copies of it in each addon they use) will still be able to load your addon.
Just to clarify, I should add:
externals:
to my .pkgmeta, since I'm only using Ace3 to create ScrollFrames and Buttons?
Also use the OptionalDeps in the toc instead of the RequiredDeps.
You should also use no-lib-strip tags around the library references in your TOC, so they'll be commented out in disembedded packages. I'm not sure if it's still an issue (though I'd be surprised if Blizzard had done anything about it), but calling a nonexistent file from your TOC significantly increases WoW's loading time. (Doing the same from an XML file does not, though.)