ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dubois, Jeff" <jeff.dub...@thomson.com>
Subject RE: Forking JUnit (was Re: Ant not passing System values to JUnit task)
Date Wed, 03 Dec 2003 18:33:55 GMT

I agree that it would be advantageous for the Ant's forked JVMs to default
to matching  the parent VM's environment.

  - jeff

-----Original Message-----
From: Adam R. B. Jack [mailto:ajack@trysybase.com]
Sent: Wednesday, December 03, 2003 9:04 AM
To: user@ant.apache.org
Subject: Re: Forking JUnit (was Re: Ant not passing System values to
JUnit task)


> > Is there any way to influence this without expecting the user to
> > write script changes & rely upon 'environment portal' scripts?
>
> No.  The syspropertyset in 1.6 (see my previous mail in the original
> thread) would work - but the user still has to add it manually.
>
> We might be able to introduce some magic property for Gump and
> friends, but don't hold your breath.  I live in the outer west of
> Germany and prefer red whine over beer, in case you want to bribe me
> ;-)

I'm not discounting the bribe ;-), but a thought occur to me...

Isn't this a bug/weakness in Ant due to a weakness in design of the JVM?
Meaning if one starts a JVM one way with certain settings ought not that be
'the default VM' that they wish for their environment, and ought not
'forked' JVMs match it? (I know it isn't that simple) Heck, even including
which JVM implementation. I guess it is debatable, but (from where I stand
right now) I believe that the argument for this default behaviour, is
strong. Folks could override the behaviour when they chose.

If the JVM doesn't support it, it is hard to blame ant for not, I know. But
I wonder, ought it be explored? It isn't just a Gump thing, is it?

regards

Adam


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message