[sword-devel] Making module and conf file

Peter von Kaehne refdoc at gmx.net
Thu Sep 30 01:25:59 MST 2010

On 30/09/10 06:00, Robert Hunt wrote:
>     1/ Should the config file be placed in the same folder as the .bz*
>     files? (I can't see that the wiki tells me where to put the file.)

You have seen Nic's suggested structure.

>     2/ Does the DataPath directive indicate where to *find* the module
>     files (relative to the conf file), or where to *put* them?

where to find them.

>     3/ Would you expect me be able to navigate in the Xiphos Module
>     Manager to any old local folder where I created my module (like I'm
>     trying to do), or do I manually have to copy my module into
>     .sword/modules/texts/ztext/?

libsword will find a lot of modules more or less automatically as long
as they follow a normal layout. so

~/.sword, ~/.Sword, ~/Sword, /usr/local/share/sword etc etc 9and many
more) are all valid locations. If you copy your module there it should
find it. You can also tell libsword where to find more. But copying into
a standard location is the best solution.

the conf file looks reasonable at a glance.


More information about the sword-devel mailing list