[jsword-devel] JSword download from avraw(zip)

Martin Denham mjdenham at gmail.com
Fri Apr 26 03:25:08 MST 2013


The RusSynodal.zip file has now been successfully created in the correct
place in http://crosswire.org/ftpmirror/pub/sword/avpackages/rawzip/ and I
have successfully downloaded it to And Bible using 'Download Documents'.

However, http://crosswire.org/ftpmirror/pub/sword/avraw/mods.d.tar.gz appears
to contain conf files for all modules, not just those for which zip files
have been created.  This leads to all modules being available in the
download list but only some of them are available as zips.  If somebody
tries to download a zip that does not exist an error occurs.

Perhaps I am getting the mods.d.tar.gz file from the wrong folder - here is
the line I added to InstallManager.plugin to get it to look at the
Crosswire AV repo:
Installer.7=sword-http,CrossWire AV,www.crosswire.org
,/ftpmirror/pub/sword/avpackages/rawzip,/ftpmirror/pub/sword/avraw,,,

Martin



On 25 April 2013 21:12, DM Smith <dmsmith at crosswire.org> wrote:

> Sorry for not being more specific. The url for the av11n module page is:
> http://www.crosswire.org/sword/modules/ModDisp.jsp?modType=Bibles&av=true
>
> If you scroll to the bottom of the page you'll see a link "Source code for
> ModDisp.jsp." In there you'll see that you can have a param (with any
> value, but we use true) of one of the following:
> attic, avattic, av, beta, experimental, exp, wycliffe
> If you don't use a param, it'll get the main repository.
>
> When you click on the download button for a module, it'll create the zip
> for the module if it doesn't exist. It calls a servlet to do this.
>
> When we publish a module (put the conf in mods.d and files in the proper
> place) it may have to wait for the nightly job to finish the work. (That is
> you might have to wait a day to see it in the listing or in mods.d.tar.gz)
>
> Hope this helps.
>
> In Him,
> DM
>
>
> On Apr 25, 2013, at 3:57 PM, Martin Denham <mjdenham at gmail.com> wrote:
>
> I must be looking at the wrong urls.
>
> By modules download page do you mean:
> http://www.crosswire.org/wiki/Modules_in_the_av11n_repository
>
> because I just requested RusSynodal from the above page but the zip did
> not appear in http://crosswire.org/ftpmirror/pub/sword/avpackages/rawzip/
>
> Martin
>
>
> On 25 April 2013 18:15, DM Smith <dmsmith at crosswire.org> wrote:
>
>> Troy put in all the repositories into the zip building mechanism.
>>
>> The way it works is that if a zip is requested via the modules download
>> page, the zip is created at that point.
>>
>> The way the code is supposed to work is that if the zip is not there it
>> falls back to an FTP mechanism.
>>
>> I've got the ftp mechanism mocked up, but not ready to use.
>>
>> There is no fall back mechanism from one protocol to the other.
>>
>> DM
>>
>> On Apr 25, 2013, at 12:53 PM, Martin Denham <mjdenham at gmail.com> wrote:
>>
>> Is there any update on this as I am thinking of implementing a temporary
>> fix for the next release to facilitate download of a few much requested
>> Bibles.  The temporary fix is not a problem but I don't want to duplicate
>> effort if possible.
>>
>> Martin
>>
>>
>> On 30 March 2013 23:41, DM Smith <dmsmith at crosswire.org> wrote:
>>
>>> I'm working on an FTP mechanism so that raw can be downloaded.
>>>
>>> Troy might be willing to add the zip downloads.
>>>
>>> In Him,
>>> DM
>>>
>>> On Mar 30, 2013, at 8:59 AM, Martin Denham <mjdenham at gmail.com> wrote:
>>>
>>> Is it possible to download from
>>> http://crosswire.org/ftpmirror/pub/sword/avraw/ using JSword or does
>>> avrawzip need to be created before that can be done?
>>>
>>> Martin
>>>
>>> _______________________________________________
>>> jsword-devel mailing list
>>> jsword-devel at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/jsword-devel
>>>
>>>
>>>
>>> _______________________________________________
>>> jsword-devel mailing list
>>> jsword-devel at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/jsword-devel
>>>
>>>
>> _______________________________________________
>> jsword-devel mailing list
>> jsword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/jsword-devel
>>
>>
>>
>> _______________________________________________
>> jsword-devel mailing list
>> jsword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/jsword-devel
>>
>>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20130426/10f16a97/attachment-0001.html>


More information about the jsword-devel mailing list