<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="+1">Hi NF;<br>
<br>
I ran into the same problem recently when trying to do this on a
Windows XP system. Here is what I found:<br>
<br>
7-zip worked OK to build the mods.d.tar.gz file but will not build an
acceptable zip file for distribution. (May be a UNIX vs Win issue.)<br>
<br>
Info-Zip windows GUI WiZ works OK to build a zip file if the mods.d and
modules directories are placed in the root directory first.<br>
<br>
-- KK<br>
<br>
PS: Note that the Sword module installer requires an anonymous FTP
server to distribute the zipped modules while the JSword installer
requires an HTTP server to distribute the modules. All the service
providers I checked with said that anonymous FTP is a security risk and
they would only provide it on a dedicated IP at much higher cost. I
don't really buy the security risk argument, but the money issue speaks
strong. If this list votes on enhancement requests, please add my vote
to allow Sword to use HTTP downloads. Thanks!<br>
</font><br>
<br>
NF wrote:
<blockquote
cite="mid:85a5618b0802281747w3371ff6ck573e30fc7cdfb81c@mail.gmail.com"
type="cite">
<pre wrap="">Thanks, DM!
I have done the editor to edit and generate the compressed module file
through a click. It works fine. (Still prototype though.) It also
supports importing existing modules into the editor.
Right now, when I try to package the module and conf to a zip file so
I can test export function as well as downloading, the program
fails(jsword 1.5 api).
Through debugger, I noticed that when it tries to unzip the zip file,
it treat mods.d and other module structure (module, text, ztext, ....)
as files instead of directories. thus the unzip operation failed.
How do you run the simple recursive zip? That is what I am asking...
God Bless!
ZJ
On Thu, Feb 28, 2008 at 8:03 PM, DM Smith <a class="moz-txt-link-rfc2396E" href="mailto:dmsmith555@yahoo.com"><dmsmith555@yahoo.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">ZJ,
I'm not sure what you mean by zip? A module can be compressed with
mod2zmod. This program will compress the module internally. Both Sword
and JSword can read them. JSword at this time cannot create modules of
any type.
We also package the modules parts into a zip file, but that just a
simple recursive zip.
Hope this helps.
In Him,
DM
On Feb 28, 2008, at 4:43 PM, NF wrote:
> Hi,
>
> I have being preparing make modules for sword platform.
>
> One thing is bugging me: my zip file does not work!
>
> I used 7zip and also winzip to zip the conf and moudle files. I can
> tell the the layout of the files are the same as what I downloaded
> from sword rawzip folder.
>
> I tried to use jsword, it tries to create mods.d as file, also, other
> directories as file, instead of directory.
>
> So instead of telling me to send in the files, can anyone tell me how
> you guys zip the modules?
>
> thanks!
>
> ZJ LI
>
> _______________________________________________
> sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
> <a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
> Instructions to unsubscribe/change your settings at above page
_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page
</pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page
</pre>
</blockquote>
</body>
</html>