ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Alberto Fernandez <>
Subject [PATCH] Obtaining the environement variables and propagating them
Date Wed, 29 Nov 2000 06:59:41 GMT
As promissed, here is a first shot at geting the environment and propagating
it properly
during the <exec*> operations.
The patch modifies which is the lowest level. Added a new
attribute to ExecTask
"newenvironment='true'" if you do not want propagation.
Added attribute "environment='prefix'" to <property/> to indicate to load
the properties from the
   <property environment="ant.env" />
I have tested <property> which calls the methods on Execute to do the job,
so most should be
tested at this point. But I only have NT, someone needs to verify other
environments and in particular
set the correct values for the command on the MAC if there are any.
Hope is useful....
Jose Alberto


View raw message