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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to