Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Wednesday, November 28, 2007

java code for Set system properties in Ant build script

public class ShowProps {
public static void main(String[] args) {
System.out.println("Now in ShowProps class...");
System.out.println("prop1 = " + System.getProperty("prop1"));
System.out.println("prop2 = " + System.getProperty("prop2"));
System.out.println("prop3 = " + System.getProperty("prop3"));
System.out.println("user.home = " + System.getProperty("user.home"));
}
}



-----------------------------------------
File: build.xml






























No comments: