Bug 40448 - <exec>/<java>/<apply> should accept <envset>
Summary: <exec>/<java>/<apply> should accept <envset>
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.6.5
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Ant Notifications List
Depends on:
Reported: 2006-09-08 16:19 UTC by Jesse Glick
Modified: 2011-07-25 13:02 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2006-09-08 16:19:57 UTC
Just as <java> can take either an individual <sysproperty> or an entire
<syspropertyset>, it would sometimes be useful to have <java> (and <exec> and
<apply>) accept an <envset> of type PropertySet. This would let you e.g. define
extra environment variables to pass to a process in a *.properties file and have
them be defined with no change to the build script.
Comment 1 Matt Benson 2006-09-08 16:34:28 UTC
This has been discussed > once.  The last time the discussion died due to
dissension RE how exactly to implement:


Anyway, the general opinion was favorable.  Are you working on this, Jesse?  If
not, I can.
Comment 2 Jesse Glick 2006-09-08 17:18:17 UTC
I am not working on it. I just realized this was missing and wanted to track it.
Comment 3 shoelace_822695 2011-07-25 02:24:38 UTC
is/has there been any progress on this?

I am currently using "Apache Ant(TM) version 1.8.2 compiled on December 20 2010"

and would very much like this feature for my current project.

if there is no progress i would be happy to try implementing it myself..

but just a status update for now would be good.
Comment 4 Matt Benson 2011-07-25 13:02:07 UTC
Nothing has been done on this to my recollection since the time of the email thread I pointed out in Comment 1.  Thanks for the ping.  I'll try and remember to see what I can do in the near future.