Re: [sword-devel] Sword API / Basic question regarding InstallMgr class

2019-07-08 Thread Tobias Klein
Thank you, Troy! Ok, I didn't see that there are these entirely different use cases when constructing a SWMgr instance. I created my own factory method and basically tried to use the same kind of SWMgr object both for installing/uninstalling and for reading the content of modules. I think the AP

Re: [sword-devel] Sword API / Basic question regarding InstallMgr class

2019-07-08 Thread Troy A. Griffitts
Yes. This is expected behavior. If you sudo your installmgr command, it will have access to install globally. If you cd to your ~/.sword folder and run the installmgr command, it will install to the CWD (as long as a mods.d/ folder exists to let SWORD know you are at the root of a SWORD module l

[sword-devel] Sword API / Basic question regarding InstallMgr class

2019-07-07 Thread Tobias Klein
Hi, I'm struggling with some basic issues regarding installation of modules. When using a SWMgr that has been initialized with no arguments as a destMgr (first Parameter) for InstallMgr, my module installs fail. Same thing happens when trying to use the command line utility installmgr: ./ins