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/
|