[Pharo-project] pharo headless on windows, one problem and one question
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
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On 2009-12-23 05:00:40 -0300, Stéphane Ducasse <stephane.ducasse@inria.fr> 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
participants (2)
-
Esteban Lorenzano -
Stéphane Ducasse