yeah, I declare my self guilty for having that incredibly ugly idea... :)

On Jan 21, 2013, at 3:35 PM, Mariano Martinez Peck <[email protected]> 
wrote:

> 
> 
> On Sat, Jan 19, 2013 at 1:08 PM, Sean P. DeNigris <[email protected]> 
> wrote:
> Mariano Martinez Peck wrote
> > thanks Square [i] International &lt;http://www.square-i.net/&gt;
> > ... headless support will be included in the official Pharo
> > VM and will be, therefore, accessible to everybody.
> 
> Yes, thank you, thank you!! I've been using Pharo for Jenkins build scripts,
> and it was really disruptive to see the image pop up every time a job
> started.
> 
> As to the flag limitation, I think for now I'll have two copies of the VM -
> a headful one, which will be the default on my Mac, and one with the
> headless flag set, that gets explicitly launched by Jenkins... not perfect,
> but a HUGE step!!
> 
> Yes, that's the easiest way. 
> I spent *a lot* of time trying to find another way, but they all failed. 
> There is one possibility that should work but it is too hacky for me:
> very at the beginning of the VM (before starting Cocoa) read the arguments. 
> If "-headless" is present, then programmatically set/write the flag in the 
> Info.plist. If it it not, do nothing (or set it to false).  But modifying the 
> file on startup looks hacky to me. I prefer the user to manually set it. 
> 
> 
> Cheers,
> Sean
> 
> 
> 
> --
> View this message in context: 
> http://forum.world.st/ANN-Headless-support-for-Cog-Cocoa-VM-tp4664137p4664212.html
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
> 
> 
> 
> 
> -- 
> Mariano
> http://marianopeck.wordpress.com

Reply via email to