建立XUL应用程序SongBird

建立XUL应用程序SongBird

本文介绍了建立XUL应用程序SongBird的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开始探索XUL Runner作为即将到来的应用程序的潜在工具。



我可以使用命令行xulrunner-bin myapp获得一些运行良好的示例。



如何在一个本地化的应用程序中编译它,如SongBird。



我明白SongBird包整个xul运行时与它,我很高兴与此。我只是想知道有没有什么工具可以用来编译我的xul项目作为独立的应用程序?



任何Mac和/或PC提示非常感谢! p>

编辑:我想我正在寻找的是一种生成Mac和/或PC XUL存根应用程序(而不是安装程序)的方法。有没有这样的东西?

解决方案

对XULRunner主题做了更多的研究,而且由于我有一些发现,我会回答我自己的问题,以防有人来这里希望得到答案。



答案是 Mozilla构建系统



我可以找到关于这个主题的最先进的教程是:





非常感谢您的作者尝试制作关于该主题的教程。



Mozilla开发人员论坛中可以回答很多问题:





我来了这些资源有帮助,希望这些帮助别人。



编辑



还有一种更简单的做法,而不必使用MBS,
(使用1.9,即使文档是1.8中心)



另一种方法是查看,把它作为基础,并构建一个作为基础。



干杯


I've started exploring XUL Runner as a potential tool for an upcoming app.

I can get some good examples running using the command line xulrunner-bin myapp.

How can compile it all in a native looking application, like SongBird does.

I understand SongBird packages the entire xul runtime with it, and I'm happy with that. I'm just wondering is there are any tool I can use to compile my xul project as a standalone app?

Any Mac and/or PC hint much appreciated!

EDIT: I guess what I'm looking for is a way to generate a Mac and/or PC XUL stub application (but not an installer). Is there something like that?

解决方案

Did some more research on the XULRunner subject and since I have some finding, I'll just answer my own question in case someone comes here hoping for an answer.

The answer is the Mozilla Build System

The most advanced tutorial on the subject that I could find is:

https://developer.mozilla.org/en/Creating_XULRunner_Apps_with_the_Mozilla_Build_System

Thank you very kindly to its author for attempting to make a tutorial on the subject.

A lot of questions can be answered in the Mozilla dev builds forum:

http://groups.google.com/group/mozilla.dev.builds/topics

I found those resources helpfull, hope these help someone too.

EDIT:

There is also a simpler way of doing it without have to use the MBS,as described here (works with 1.9 even if the doc is 1.8 centric)

Another approach is to look at XULExplorer, take it appart and build one from it as a base.

Cheers

这篇关于建立XUL应用程序SongBird的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 01:33