Package org.apache.tools.ant.listener

Examples of org.apache.tools.ant.listener.Log4jListener


    p.init();

    // execute the ant target
    ProjectHelper helper = ProjectHelper.getProjectHelper();
    p.addReference("ant.projectHelper", helper);
    p.addBuildListener(new Log4jListener());
    helper.parse(p, buildFile);

    p.setProperty("jdbc.driver", "mysql-connector-java-5.1.0-bin.jar");
    p.setProperty("main.class", "MolgenisOnMysqlServer");
    p.executeTarget("createjar");
View Full Code Here


                ant.getProject().removeBuildListener(listener);
            }


            //registering Log4j build listener
            Log4jListener listener = new Log4jListener() {
                @Override
                public void buildStarted(BuildEvent event) {
                }

                @Override
View Full Code Here

TOP

Related Classes of org.apache.tools.ant.listener.Log4jListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.