gradle-master/subprojects/docs/src/snippets/ear/earWithWar/groovy/war/src/main/java/org/gradle/sample/SimpleGreeter.java
package org.gradle.sample;

import org.apache.log4j.LogManager;

public class SimpleGreeter {
    public String getGreeting() throws Exception {
        LogManager.getRootLogger().info("generating greeting.");
        return "Hello world!";
    }
}
