Am 02.10.11 00:39, schrieb Trent Larson:
> I get absolutely no output when I run the following:
> /Library/Frameworks/XUL.framework/xulrunner-bin ~/dl/sample-app/
> application.ini
>
> I've tried:
> - running it as root
> - running the '--install-app'
You can also try starting it with '-jsconsole' parameter appended. That
should open an additional window with useful debugging information.
As Neil stated, you need to do install-app before starting. This should
work:
1) /Library/Frameworks/XUL.framework/xulrunner-bin --install-app
/full_path_to_your_app
(where full_path_to_your_app points to the directory containing the
application.ini in your development source)
2) Different ways of starting your app (please give feedback which work
for you):
a) /Applications/XULTest/MyTestApp.app/Contents/MacOS/xulrunner
-jsconsole -purgecaches
(where 'XULTest' is the Vendor and 'MyTestApp' ist the Name as specified
in your application.ini)
b) /Library/Frameworks/XUL.framework/xulrunner-bin
"/Applications/XULTest/MyTestApp.app/Contents/Resources/application.ini"
When that works, you can replace the
'/Applications/XULTest/MyTestApp.app/Contents/Resources' directory with
a symlink to 'full_path_to_your_app' for rapid development without
reinstalling.
regards,
Michael