Package org.apache.easyant.tasks

Examples of org.apache.easyant.tasks.SubModule


        printSubBuildsInOrder(project);
        try {
            // delegate to the ea:submodule task to execute the list of targets on
            // all modules in the build list
            SubModule subModule = new SubModule();
            subModule.setTaskName("meta:submodule");
            subModule.setProject(project);

            Boolean useBuildRepository = project.getProperty(EasyAntMagicNames.USE_BUILD_REPOSITORY) != null ? Boolean
                    .parseBoolean(project.getProperty(EasyAntMagicNames.USE_BUILD_REPOSITORY)) : true;
            subModule.setUseBuildRepository(useBuildRepository);

            subModule.setBuildpathRef(new Reference(project, "build-path"));
            subModule.setTargets(new TargetList(targets));
            subModule.execute();

            // now call the default executor to include any extra targets defined in
            // the root module.ant
            super.executeTargets(project, postTargetsToRun.toArray(new String[] {}));
        } finally {
View Full Code Here

TOP

Related Classes of org.apache.easyant.tasks.SubModule

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.