Menu

#63 ant builds using sj need X server running

open
nobody
5
2005-01-20
2005-01-20
No

I have an ant script that I'm using to do nightly builds on a Redhat
server. I developed it on a windows box and it runs fine, but when
I try to run it on the linux box sj whines about not being able to
connect to an X server. Is there a fix or work around for this?
Thanks.

Discussion

  • Robert MacGrogan

    Logged In: YES
    user_id=258727

    No workaround in the short term, I'm afraid. This is a
    limitation of the current client architecture.

    A goal for the 2.2 client release is to fix this problem.
    There's a lot of code that needs to be refactored so that
    the GUI stuff can be fully separated from the commands.

     
  • Wade Chandler

    Wade Chandler - 2005-09-12

    Logged In: YES
    user_id=648234

    Does sj actually display a gui when using the ANT task, or
    does it mearly use graphics and possibly some JComponents it
    has instantiated without actually displaying them? The
    reason I'm asking is you might be able to add
    -Djava.awt.headless=true to your ANT command when you run it
    and it might work for you.

     

Log in to post a comment.

MongoDB Logo MongoDB