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 27261] - Properties.propertyNames() instead of .keys()
Date Thu, 26 Feb 2004 18:01:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27261

Properties.propertyNames() instead of .keys()





------- Additional Comments From peter.reilly@corvil.com  2004-02-26 18:01 -------
I used a directory grep:
dgrep System.getProperties "*.java"
DGrepping /home/preilly/cvs/ant/src/main/org/apache/tools/ant for
System.getProperties
./Diagnostics.java:270:        for (Enumeration keys =
System.getProperties().keys();
./Project.java:823:        Properties systemP = System.getProperties();
./taskdefs/Execute.java:976:            System.getProperties().put("user.dir",
workingDir.getAbsolutePath());
./taskdefs/Execute.java:980:               
System.getProperties().put("user.dir", antWorkingDirectory);
./taskdefs/optional/NetRexxC.java:736:        Properties currentProperties =
System.getProperties();
./taskdefs/optional/NetRexxC.java:796:            currentProperties =
System.getProperties();
./taskdefs/optional/ejb/IPlanetEjbc.java:282:            Properties props =
System.getProperties();
./taskdefs/optional/ejb/IPlanetEjbc.java:291:            Properties props =
System.getProperties();
./taskdefs/optional/junit/JUnitTask.java:931:            log("Using System
properties " + System.getProperties(),
./taskdefs/optional/junit/JUnitTestRunner.java:512:        Hashtable p =
System.getProperties();
./taskdefs/optional/net/SetProxy.java:177:        Properties sysprops =
System.getProperties();
./taskdefs/optional/net/SetProxy.java:261:       
System.getProperties().put("http.proxySet", new Boolean(setProxy).toString());
./taskdefs/optional/splash/SplashTask.java:124:                   
System.getProperties().put("http.proxySet", "true");
./taskdefs/optional/splash/SplashTask.java:125:                   
System.getProperties().put("http.proxyHost", proxy);
./taskdefs/optional/splash/SplashTask.java:126:                   
System.getProperties().put("http.proxyPort", port);
./taskdefs/optional/splash/SplashTask.java:139:                   
System.getProperties().put("http.proxySet", "false");
./taskdefs/optional/splash/SplashTask.java:140:                    S
ystem.getProperties().put("http.proxyHost", "");
./taskdefs/optional/splash/SplashTask.java:141:                   
System.getProperties().put("http.proxyPort", "");
./types/CommandlineJava.java:137:                sys = System.getProperties();
./types/CommandlineJava.java:490:            size += System.getProperties().size();
./types/PropertySet.java:161:            prj == null ? System.getProperties() :
prj.getProperties();
./types/PropertySet.java:237:                    e2 = System.getProperties().keys();
./types/resolver/ApacheCatalogResolver.java:85:       
System.getProperties().put("xml.catalog.className",

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


Mime
View raw message