<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Pavel,<br>
    <br>
    Looks interesting, but lacking enough unix geekdom, I'm a bit
    stymied by<br>
    <br>
    <meta charset="utf-8">
    <span style="color: rgb(0, 0, 0); font-family: arial, sans-serif;
      font-size: 13px; font-style: normal; font-variant: normal;
      font-weight: normal; letter-spacing: normal; line-height: normal;
      orphans: 2; text-align: left; text-indent: 0px; text-transform:
      none; white-space: normal; widows: 2; word-spacing: 0px;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); display: inline !important;
      float: none; ">run XULRunner with -jsconsole argument. It shows
      the JavaScript console</span><br>
    <br>
    I tried stuff like this:<br>
    <br>
    robert-arnings-computer:PhobosDemo.app bob$
    Contents/Frameworks/XUL.framework/Versions/16.0/xulrunner --app
    /Contents/Resources/application.ini<br>
    Error: couldn't parse application.ini.<br>
    <br>
    and can't seem to find the winning combination. Can you help?<br>
    <br>
    Thanks,<br>
    Bob<br>
    <br>
    <div class="moz-cite-prefix">On 10/13/12 4:29 PM, Pavel Krivanek
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAHN2FzdB5YWiYcds6bvUHABVaPSapUcSCaX_JxdTvvPA7VF4kQ@mail.gmail.com"
      type="cite">
      <pre wrap="">Hi,

I created a port of Phobos (framework for creation of native user
interface using XULRunner) to Squeak too.

<a class="moz-txt-link-freetext" href="http://code.google.com/p/phobos-framework/">http://code.google.com/p/phobos-framework/</a>

It uses WebClient instead of Zinc. To load Phobos evaluate:

(Installer repository: '<a class="moz-txt-link-freetext" href="http://www.squeaksource.com/WebClient">http://www.squeaksource.com/WebClient</a>')
  addPackage: 'WebClient-Core';
  install.

(Installer repository: '<a class="moz-txt-link-freetext" href="http://www.squeaksource.com/Seaside30">http://www.squeaksource.com/Seaside30</a>')
  addPackage: 'Grease-Core';
  addPackage: 'Grease-Pharo-Core';
  addPackage: 'Seaside-Pharo-Continuation';
  install.

(Installer repository: '<a class="moz-txt-link-freetext" href="http://www.squeaksource.com/SCouchDB">http://www.squeaksource.com/SCouchDB</a>')
  addPackage: 'JSON';
  install.

(Installer repository: '<a class="moz-txt-link-freetext" href="http://smalltalkhub.com/mc/PavelKrivanek/Phobos/main">http://smalltalkhub.com/mc/PavelKrivanek/Phobos/main</a>')
  addPackage: 'Phobos-Core';
  addPackage: 'Phobos-XUL';
  addPackage: 'Phobos-HTML';
  addPackage: 'Phobos-Demo';
  addPackage: 'Phobos-WebClient';
  install.

To start the server evaluate:

app := PhobosDemo new.
app startOnWebClient.

ATTENTION: You will need to modify start.st script in the bundle.

There is one main ugly difference from Pharo, If an error on Smalltalk
side is raised, no debugger is opened. You will get the information
about an error only on the JavaScript side in JSConsole:

"
Error: The connection to <a class="moz-txt-link-freetext" href="ws://localhost:46528/newSession">ws://localhost:46528/newSession</a> has
terminated unexpectedly. Some data may have been transferred.
Source File: <a class="moz-txt-link-freetext" href="chrome://myapp/content/main.js">chrome://myapp/content/main.js</a>
Line: 132
"

Cheers,
-- Pavel


</pre>
    </blockquote>
    <br>
  </body>
</html>