Menu

#270 Making a USB stick with multiple OS support for

v1.2.*
closed
nobody
binaries (1)
2014-03-05
2013-12-03
Anonymous
No

I just thought of something for the image and xowa folders:
there are 3 different types of files (windows, linux and macosx
files), so to ensure use of all these OS's with a same wiki:

  • it would be best to have the xowa folders called xowa_win, xowa_lin,
    and xowa_osx
    Currently, the zipped app folders unzip to a folder simply called
    "xowa", that's confusing if there are 2 or more xowa's on the usb
    stick (for multiple os support).

Next, I was wondering whether the image folder can be placed higher
up, at /imagedump rather than /xowa_win/imagedump This way, it's less
confusing with the other xowa versions (all under /imagedump rather
than in the windows xowa folder)

Then, I assume that the data for the wiki (under /xowa_win/wiki,
xowa_win/user/anonymous/wiki and xowa_win/file) all need to be present
at the seperate xowa version folders. The question is however: can I
copy these between the versions or is this not possible ? I would like
the wikis on my usb stick to be available for all operating systems,
and filesize isn't too much of a problem (only the image folder needs
to be useble by all versions, since I don't have room to copy that 3x)

Discussion

  • Anonymous

    Anonymous - 2013-12-03

    it would be best to have the xowa folders called xowa_win, xowa_lin,
    and xowa_osx

    I disagree. The app is modeled around a concept of one root folder. A
    user can create 3 folders if he / she wants, but it's not something I
    will directly support.

    Currently, the zipped app folders unzip to a folder simply called
    "xowa", that's confusing that's confusing if there are 2 or more xowa's on the usb
    stick

    I have toyed around with the idea of unifying all the xowa_*.jars into
    one. For now, I'm keeping them separate b/c they are easier to
    maintain. If I ever do unite them, then this concern goes away.

    Next, I was wondering whether the image folder can be placed higher
    up, at /imagedump rather than /xowa_win/imagedump

    The image dump will take an absolute path, so you would be free to
    place it anywhere.

    The question is however: can I
    copy these between the versions or is this not possible ?

    I am planning to add a feature in the next month or two to specify
    absolute paths for wikis / files. So in your scenario, you would do
    something like this

    /xowa_win/ : windows_binaries + special_config_file
    /xowa_lin/ : linux_binaries + special_config_file
    /xowa_mac/ : mac binaries + special_config_file
    /atcolib/ : your atcolib folder

    The "special_config_file" would tell each jar to look for its wiki /
    file at "/atcolib/". Hence you would not have to triplicate your
    images / data.

    Keep in mind that I am only bringing this up as an illustration. As I
    said above, I am not supporting the 3 OS folder scenario. I'm merely
    describing how you might be able to leverage a future feature if you
    really want to go that route.

     
  • gnosygnu

    gnosygnu - 2013-12-04
    • labels: --> binaries
    • status: new --> declined
     
  • gnosygnu

    gnosygnu - 2013-12-04

    As discussed above, this is not a scenario that XOWA will support. XOWA works from one root folder, and all binaries are contained within. Accordingly, I'm marking this ticket declined.

     
  • gnosygnu

    gnosygnu - 2014-02-12
    • status: declined --> closed
     
  • gnosygnu

    gnosygnu - 2014-02-12

    I'm going to mark this item closed. As stated earlier, I'm not planning to implement this feature

     
  • gnosygnu

    gnosygnu - 2014-02-17
    • Milestone: PFE --> v1.2.*
     
  • Anonymous

    Anonymous - 2014-03-05

    I was just wondering whether the specifying of paths for the offline wiki data can allready be done (so that by simply modifying one special_config_file , a different offline wiki can be loaded, see post of 2013-12-03 ).

    That way, I can have all binary files/data of the offline wiki at a same location (ie in a folder above the 3 OS folders, e.g. /atcolib/atcolibdata/) which allows reducing the size of the combined data considerably -as I don't need to send the same wiki data 3x, e.g. when transferring everything via internet-

     

Anonymous
Anonymous

Add attachments
Cancel