Package net.sourceforge.cruisecontrol

Examples of net.sourceforge.cruisecontrol.Builder


            // this is done only to update agent UI info regarding Module - which isn't available
            // until projectPropertiesMap has been set.
            fireAgentStatusChanged();

            final Element buildResults;
            final Builder nestedBuilder;
            try {
                nestedBuilder = createBuilder(nestedBuilderElement);
            } catch (CruiseControlException e) {
                String message = "Failed to configure nested Builder on agent";
                LOG.error(message, e);
                System.err.println(message + " - " + e.getMessage());
                throw new RemoteException(message, e);
            }

            try {
                buildResults = nestedBuilder.build(projectPropertiesMap);
            } catch (CruiseControlException e) {
                String message = "Failed to complete build on agent";
                LOG.error(message, e);
                System.err.println(message + " - " + e.getMessage());
                throw new RemoteException(message, e);
View Full Code Here


        final String overrideTarget = projectProperties.getProperty(PropertiesHelper.DISTRIBUTED_OVERRIDE_TARGET);
        PluginXMLHelper pluginXMLHelper = PropertiesHelper.createPluginXMLHelper(overrideTarget);

        PluginRegistry plugins = PluginRegistry.createRegistry();
        Class pluginClass = plugins.getPluginClass(builderElement.getName());
        final Builder builder = (Builder) pluginXMLHelper.configure(builderElement, pluginClass, false);

        return builder;
    }
View Full Code Here

TOP

Related Classes of net.sourceforge.cruisecontrol.Builder

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.