You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2006/05/11 11:01:36 UTC

DO NOT REPLY [Bug 39554] New: - Make sysproperty a top level element to set system properties of ant

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


DO NOT REPLY [Bug 39554] - Make sysproperty a top level element to set system properties of ant

Posted by bu...@apache.org.
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





------- Additional Comments From stevel@apache.org  2006-05-11 09:35 -------
For the particular problem of proxy setup (and it is a problem, especially on
roaming laptops), what is wrong with the <setproxy> task?

-- 
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


DO NOT REPLY [Bug 39554] - Make sysproperty a top level element to set system properties of ant

Posted by bu...@apache.org.
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


omeyer@i3.informatik.rwth-aachen.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P4




------- Additional Comments From omeyer@i3.informatik.rwth-aachen.de  2006-05-11 10:35 -------
The only problem with <setproxy> is that I did not look for something like that
:-) Thanks, it solved my problem, so I'm reducing priority for this enhancement.
It still sounds like a good idea to me, though, so the enhancement is still open.

-- 
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