On 27 March 2012 11:22, Jacob Nordfalk <[email protected]> wrote:
> 2012/3/27 Mikel Artetxe <[email protected]>
>>> I'd prefer to avoid modifying JAR files.
>>> It's a ZIP file. If people wants several pairs in the same ZIP file they
>>> can use ZIP.
>> I don't know if I have correctly explained my idea. In fact, this idea of
>> the self-modifying JAR file aimed to be a solution for an easily
>> maintainable system that you defend. It is true that, after all, JAR files
>> are nothing but renamed ZIP files, so anyone could manually modify them in
>> order to get the language pair that they want. But this wouldn't be the easy
>> way of doing things from my point of view. My idea would require the user to
>> first manually compile the language pair (I guess that this step is
>> inevitable), then run the JAR executable and select the .mode file (or the
>> directory) of the language pair compiled, and the JAR would automatically
>> modify itself to be able to translate this language pair (or create another
>> JAR file for that specific language pair, if you prefer). After that, it
>> would be possible to distribute the JAR executables generated this way (it
>> would be interesting to have a wiki page for them, for instance), so that
>> anybody with the only requirement of having JVM could run them. I could
>> create an executable for every language pair that apertium currently
>> supports and create a wiki page with them. And with this system anybody
>> could update or extend it in a very simple way, I guess.
>
> Lets put people in two rough groups:
>
> 1) Apertium core developers. They are each maintaining 2-5 of the 20-30
> language pairs that gets updated once in a while (lets say a release once a
> month, on average). They are used to use makefiles and scripts.
>
> 2) All opthers. Occational users of Apertium and newbie developers.
>
>
>
> Anything involving requiring 1) to use a GUI to maintain stuff is NOT good.
> They will want to put stuff in makefiles and scripts to automate it. Not
> because they hate GUIs (OK sometime I think that perhaps they hate GUIs as
> well :-), but its just much faster to invoke 'make' than to locate and
> invoke a GUI, pointing and clicking etc etc.
>
>
> My hunch is that group 2) will very seldom need your fine GUI, and if they
> do, they will survive just fine using WinZip. If they ask 1) they will be
> instructed on how to use command line tools.

Maybe this might be useful, as a middle ground? http://code.google.com/p/jarjar/

(It provides an ant task for repackaging jar files).

-- 
<Sefam> Are any of the mentors around?
<jimregan> yes, they're the ones trolling you

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to