Aekold Helbrass wrote: > On Mon, Jul 20, 2009 at 11:03 AM, Gunnar Sletta<[email protected]> wrote: >>> Using this, will it be possible to build jambi as before using >>> ant to produce 2 separate jar files, one for binaries and one >>> for the class files? Or do you plan another bundling regime? >> This option has been available since the very early releases of Qt Jambi. >> >> http://doc.trolltech.com/qtjambi-4.4/html/com/trolltech/qt/qtjambi-deployment.html#deploying-a-pure-qt-jambi-application >> >> How to create your own native library bundles using ant is explained here: >> http://doc.trolltech.com/qtjambi-4.4/html/com/trolltech/qt/qtjambi-deployment.html#create-a-platform-archive > > Yes I read those documents, but I have 2 apps about 100KB each, and > distributing all platform-dependent jars will be 40MB for 2 apps. I > just wanted to do something like runtime, single install or that > runtime and you have both apps running using single packages. Of > course I couldn't do it with main qtjambi.jar, but I could do it with > platform-dependent libs after small hack, saving 15MB for each of 2 > apps when distributing new versions for example.
You don't need to deploy platform jars for the platforms you don't use, though. Windows platform .jar is ~14Mb, for instance. If you deploy your apps as app1.jar app2.jar qtjambi-4.5.0.jar qtjambi-win32-msvc2005.jar Hence you have ~17Mb of .jars in your installer and you put them in the same place. Or, you put the jambi jars in one place and your apps in other places and make sure that the app-launcher for app1 and app2 knows where to look for the jambi libs. - Gunnar _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
