Menu

#43 Support Linux as a platform for creating izPack installer

Current_Release
open
nobody
5
2012-12-06
2007-12-04
No

The current ant script assumes windows for the installation. Attached is a patch to allow for running the same on Linux

Discussion

  • Alex Kotchnev

    Alex Kotchnev - 2007-12-04
     
  • Joseph Isaac

    Joseph Isaac - 2007-12-06

    Logged In: YES
    user_id=1543110
    Originator: NO

    Hi Alex

    At first glance, I thought you meant "running" the installer, but you meant creating the installer. And yes, you are absolutely correct, we missed the switch for creating the installer on linux, which was right there for us, courtesy of IzPack. Well spotted. The uploaded NetBeans patch, that you provided for the build.xml file itself, was portable with respect to Eclipse, which I am using. I did have to ignore the netbeans project file which came along for the ride(?). In addition, I used the osfamily attribute for <exec> since the os attribute is a little too targeted (i.e. "Windows" != "Windows 2000" != "Windows XP" etc). The osfamily attribute allows "windows", "unix" etc i.e. a slightly broader scope (note that osfamily requires Ant v-1.7.0).

    Anyway, the code has been added to HEAD, and will be available at the next synchronization. If it gives you any problems on your system, please post to the forum.

    Joe

     
  • Alex Kotchnev

    Alex Kotchnev - 2007-12-06

    Logged In: YES
    user_id=162350
    Originator: YES

    Funny thing, I must have had both files selected for the diff, and that's how you got the project file. Sorry for that, I didn't even look at the patch to verify that it was what I needed.

    Btw, would this be the preferred way of contributing changes to Tolven, or do you have another preferred method ?

    Cheers,

    Alex K

     

Log in to post a comment.