pharo headless on windows, one problem and one question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

pharo headless on windows, one problem and one question

EstebanLM
Hi,
I'm trying to run an application on windows (aggggg), which is a
seaside application, but I'm running it as a "desktop application",
using xulrunner. This is a migration from an application who was
already running, but on squeak (i'm slowly migrating all my squeak
applications to pharo, he).
I have an "Application executer class", called CDIRunner, who
understands #startUp: method. This method is properly registered by
doing Smalltalk addToStartupList: CDIRunner.

This is the problem: if I run

@start Pharo.exe -headless

the #startUp: method is not executed!
(if I run Pharo in usual way, the method is executed normally).

And the question: I would like to hide the pharo try icon... is this
possible without recompile the vm?

Thanks,
Esteban



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: pharo headless on windows, one problem and one question

Stéphane Ducasse
> Hi,
> I'm trying to run an application on windows (aggggg), which is a
> seaside application, but I'm running it as a "desktop application",
> using xulrunner. This is a migration from an application who was
> already running, but on squeak (i'm slowly migrating all my squeak
> applications to pharo, he).
> I have an "Application executer class", called CDIRunner, who
> understands #startUp: method. This method is properly registered by
> doing Smalltalk addToStartupList: CDIRunner.
>
> This is the problem: if I run
>
> @start Pharo.exe -headless
>
> the #startUp: method is not executed!
> (if I run Pharo in usual way, the method is executed normally).

oh this is really strange.
Which config do you have
does it run on mac?
which image do you use

> And the question: I would like to hide the pharo try icon... is this
> possible without recompile the vm?
>
On windows I do not know.

> Thanks,
> Esteban
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: pharo headless on windows, one problem and one question

EstebanLM
On 2009-12-23 05:00:40 -0300, Stéphane Ducasse
<[hidden email]> said:

>>
>> This is the problem: if I run
>>
>> @start Pharo.exe -headless
>>
>> the #startUp: method is not executed!
>> (if I run Pharo in usual way, the method is executed normally).
>
> oh this is really strange.
> Which config do you have
> does it run on mac?
> which image do you use

-I'm using a PharoDev 10496.
-yes, it works on mac

this is the Pharo.ini file:

[Global]

DeferUpdate=1

ShowConsole=0

DynamicConsole=1

ReduceCPUUsage=1

ReduceCPUInBackground=0

3ButtonMouse=0

1ButtonMouse=0

UseDirectSound=1

PriorityBoost=1

B3DXUsesOpenGL=0

CaseSensitiveFileMode=0

ImageFile="Contents\Resources\cdi.bin"

WindowTitle=CDI


Cheers,
Esteban



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project