#103 ✓resolved
Jeremy Lightsmith

Get jBehave build working on ccrb.tw.com

Reported by Jeremy Lightsmith | April 21st, 2008 @ 01:48 PM | in 1.1

The 'clonevm' attribute with which the build is now failing is an Ant 1.7 thing. It will clone the vm in which Ant is run, which should pass all the system properties across. Unfortunately it doesn't work by passing in a system property using -D on the command line. It _does_, however, work if you set the environment variable ANT_OPTS to be -Djava.awt.headless=true I have tried this with Ant 1.7 and the ANT_OPTS on Windows, and it does indeed suppress all the Swing window popups which are not permitted. Fortunately the JBehave behaviours are already set up to run correctly in this situation! Is there any chance I could please persuade you to upgrade to Ant 1.7 and modify the ANT_OPTS setting accordingly? This will also give more meaningful error messages to anyone else who tries to run Swing on your server. Thanks, Liz. Keogh

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Tags

Pages