Mark,
It will not effect the nightly build now that I have set the DISPLAY
correctly. I think 99.99% of the time someone will be sat at system with a
display. The only problem would be when someone has done an su - and lost
the correct display variable, or needs to xhost +.
Steve.
-----Original Message-----
From: Starlink development [mailto:[log in to unmask]] On Behalf Of Mark
Taylor
Sent: 07 May 2004 14:29
To: [log in to unmask]
Subject: Re: Login saturn and CVS
On Fri, 7 May 2004, Rankin, SE (Stephen) wrote:
> Mark,
>
> I think it is a DISPLAY variable problem again, I tried the build (with a
> fresh checkout for last night) and it worked with the DISPLAY environment
> variable set, but the build failed when I unset it.
Steve,
You're quite right, that would do it, since the XSLT processing is using
javax.swing.ImageIcon which throws an exception if it can't start up
the display. I hadn't considered this possibility. Unfortunately I
can't think of any very tidy way round it, though if it's a requirement
that the build works correctly in a headless environment I can just
remove the relevant bit of functionality, since it's really only preesnt
for efficiency and cosmetic reasons.
Mark
--
Mark Taylor Starlink Programmer Physics, Bristol University, UK
[log in to unmask] +44-117-928-8776 http://www.star.bris.ac.uk/~mbt/
|