[sword-devel] Module Installation
Chris Little
sword-devel@crosswire.org
Wed, 04 Feb 2004 11:17:33 -0800
Joe Walker wrote:
>
> Hi,
>
> I'm adding a module downloader to JSword, and not being totally sure how
> to get it to work.
>
> The current algorithm goes like this:
>
> - download "mods.d.tar.gz" from the given directory
> - unpack, and select a module
> - from the config file for a module pick the DataPath element
> - download all the files from that directory (without recursing
> down the tree) into a directory of the same name within your
> sword modules tree.
No, DO recurse down the tree. Failing to do that will fail to grab all
of the files in at least two modules I can think of.
--Chris