On Tue, 14 Oct 2003, Adam R. B. Jack <[EMAIL PROTECTED]> wrote:
> http://gump.dotnot.org/xml-xerces2/build/build_xml-xerces2_dist-xerces.html
> 
> java] Exception in thread "main" java.lang.InternalError: Can't
> connect to X11 window server using ':0.0' as the value of the
> DISPLAY variable.

Happens on gump.covalent.net as well (I run Xvfb on my machine for
just that reason).

> Ought I consider adding:
>
>     forrest.addPrefixedParameter('-D','java.awt.headless','true','=')
> 
> .. to all Ant/Script invokes, not just forrest?

If that actually helps.  I've never tried it and have no idea how
portable it is, but it probably won't hurt either.

> Ought I do this in code, or in the workspace, or expect the user to
> handle it [somehow]?

Try it in your workspace with

<property name="java.awt.headless" value="true"/>

the same way as build.sysclasspath is handled.  We'll see whether it
really fixes something.

Stefan

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

Reply via email to