On Tue, 2006-07-18 at 17:15 +0200, Joachim Wolfgang Kaltz wrote:
> Josias Thöny schrieb:
> > On Tue, 2006-07-18 at 10:02 +0200, Thorsten Scherler wrote:
> > (...)
> >>
> >>Is there a benefit if headless=false is set and the server has a
> >>xserver?
> > 
> > 
> > I think setting headless=true shouldn't make any difference if an
> > xserver is running, because we don't display anything. 
> > I tried headless=true on my machine (with a running xserver) and
> > everything seemed to be normal. But I didn't test extensively.
> > 
> > Does anybody else have an opinion on this?
> 
> There are some things that may not work if this option is set. For 
> example, IIRC introspection on an image file will use awt and therefore 
> won't work. I vaguely remember some code in Lenya 1.2 (regarding asset 
> handling) making use of this.

Lenya uses awt, that's right. And if there is no xserver running, it
throws an exception. But if you set headless=true, it works even if no
xserver is running. 
Only things which directly use the display don't work (like e.g.
creating an awt Panel).
At least that's my understanding of the matter... I may be wrong.

Josias

> Also, some classes in Java beans end up using AWT where you don't expect 
> it, such as in XML serializing of a Java bean. But I don't think we use 
> these in Lenya.


> 
> --
> Wolfgang
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to