example/build-configurations/src/main/java/org/apache/easyant/example/Example.java [23:34]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public class Example {
    public static void main(String[] args) throws IOException {
        System.out.println(new Example().sayHello("EasyAnt"));
    }

    /* 
     * @param who Who says hello
     */
    public String sayHello(String who) throws IOException {
        Properties props = new Properties();
        props.load(Example.class.getResourceAsStream("/main.properties"));
        return props.getProperty("example") + " " + who + "!";
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



example/standard-java-app/src/main/java/org/apache/easyant/example/Example.java [23:34]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public class Example {
    public static void main(String[] args) throws IOException {
        System.out.println(new Example().sayHello("EasyAnt"));
    }

    /* 
     * @param who Who says hello
     */
    public String sayHello(String who) throws IOException {
        Properties props = new Properties();
        props.load(Example.class.getResourceAsStream("/main.properties"));
        return props.getProperty("example") + " " + who + "!";
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



