ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39554] New: - Make sysproperty a top level element to set system properties of ant
Date Thu, 11 May 2006 09:01:36 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39554>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39554

           Summary: Make sysproperty a top level element to set system
                    properties of ant
           Product: Ant
           Version: 1.6.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: omeyer@i3.informatik.rwth-aachen.de


I'd like to be able to define java system properties in the build.xml file. For
example I need to set a proxy (socksProxyHost) for the <scp> task that runs
within the virtual machine ant runs in. Until now, the only way to do this is to
give the properties to the ant call itself or define it for my ant installation.
But I want to define them in the build.xml file itself.

A simple way to do this would be to allow the <sysproperty> element as a direct
child of the <project> element. Evaluating the element would call
System.getProperties.setProperty(key, value) making that system property
available for all other tasks withing ant.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message