Examples of BuildCommand


Examples of com.alibaba.citrus.maven.eclipse.base.eclipse.BuildCommand

                if (buildSpec != null) {
                    Xpp3Dom[] existingBuildCommands = buildSpec.getChildren(ELT_BUILD_COMMAND);
                    for (int j = 0; j < existingBuildCommands.length; j++) {
                        Xpp3Dom buildCommandName = existingBuildCommands[j].getChild(ELT_NAME);
                        if (buildCommandName != null) {
                            buildCommands.add(new BuildCommand(existingBuildCommands[j]));
                        }
                    }
                }
                // Added the below code to preserve the Symbolic links
                Xpp3Dom linkedResourcesElement = dom.getChild(ELT_LINKED_RESOURCES);
View Full Code Here

Examples of com.alibaba.citrus.maven.eclipse.base.eclipse.BuildCommand

                                                                   "maven-eclipse.xml").write();

            // finally add it to the project writer.

            config.getBuildCommands().add(
                    new BuildCommand(
                            "org.eclipse.ui.externaltools.ExternalToolBuilder",
                            "LaunchConfigHandle",
                            "<project>/"
                            + EclipseLaunchConfigurationWriter.FILE_DOT_EXTERNAL_TOOL_BUILDERS
                            + "Maven_Ant_Builder.launch"));
View Full Code Here

Examples of org.apache.maven.plugin.eclipse.BuildCommand

            {
                Object command = i.next();

                if ( command instanceof String )
                {
                    command = new BuildCommand( (String) command );
                    i.set( command );
                }
            }
        }
    }
View Full Code Here

Examples of org.apache.maven.plugin.eclipse.BuildCommand

                {
                    convertedBuildCommands.add( cmd );
                }
                else
                {
                    convertedBuildCommands.add( new BuildCommand( (String) cmd ) );
                }
            }
        }

        config.setBuildCommands( new LinkedList( convertedBuildCommands ) );
View Full Code Here

Examples of org.apache.maven.plugin.eclipse.BuildCommand

    {
        buildcommands = new ArrayList();

        if ( wtpVersionFloat == 0.7f )
        {
            buildcommands.add( new BuildCommand( BUILDER_WST_COMPONENT_STRUCTURAL ) ); // WTP 0.7 builder
        }

        if ( isJavaProject )
        {
            buildcommands.add( new BuildCommand( BUILDER_JDT_CORE_JAVA ) );
        }

        if ( wtpVersionFloat >= 1.5f )
        {
            buildcommands.add( new BuildCommand( BUILDER_WST_FACET ) ); // WTP 1.5 builder
        }

        if ( wtpVersionFloat >= 0.7f )
        {
            buildcommands.add( new BuildCommand( BUILDER_WST_VALIDATION ) ); // WTP 0.7/1.0 builder
        }

        if ( wtpVersionFloat == 0.7f )
        {
            // WTP 0.7 builder
            buildcommands.add( new BuildCommand( BUILDER_WST_COMPONENT_STRUCTURAL_DEPENDENCY_RESOLVER ) );
        }

        if ( pde )
        {
            buildcommands.add( new BuildCommand( BUILDER_PDE_MANIFEST ) );
            buildcommands.add( new BuildCommand( BUILDER_PDE_SCHEMA ) );
        }
    }
View Full Code Here

Examples of org.apache.maven.plugin.eclipse.BuildCommand

                    for ( int j = 0; j < existingBuildCommands.length; j++ )
                    {
                        Xpp3Dom buildCommandName = existingBuildCommands[j].getChild( ELT_NAME );
                        if ( buildCommandName != null )
                        {
                            buildCommands.add( new BuildCommand( existingBuildCommands[j] ) );
                        }
                    }
                }
            }
            catch ( XmlPullParserException e )
View Full Code Here

Examples of org.apache.maven.plugin.eclipse.BuildCommand

                                                                    "maven-eclipse.xml" ).write();

            // finally add it to the project writer.

            config.getBuildCommands().add(
                                           new BuildCommand(
                                                             "org.eclipse.ui.externaltools.ExternalToolBuilder",
                                                             "LaunchConfigHandle",
                                                             "<project>/"
                                                                 + EclipseLaunchConfigurationWriter.FILE_DOT_EXTERNAL_TOOL_BUILDERS
                                                                 + "Maven_Ant_Builder.launch" ) );
View Full Code Here

Examples of org.apache.maven.plugin.eclipse.BuildCommand

                    for ( int j = 0; j < existingBuildCommands.length; j++ )
                    {
                        Xpp3Dom buildCommandName = existingBuildCommands[j].getChild( ELT_NAME );
                        if ( buildCommandName != null )
                        {
                            buildCommands.add( new BuildCommand( existingBuildCommands[j] ) );
                        }
                    }
                }
                // Added the below code to preserve the Symbolic links
                Xpp3Dom linkedResourcesElement = dom.getChild( ELT_LINKED_RESOURCES );
View Full Code Here

Examples of org.apache.maven.plugin.eclipse.BuildCommand

                                                                    "maven-eclipse.xml" ).write();

            // finally add it to the project writer.

            config.getBuildCommands().add(
                                           new BuildCommand(
                                                             "org.eclipse.ui.externaltools.ExternalToolBuilder",
                                                             "LaunchConfigHandle",
                                                             "<project>/"
                                                                 + EclipseLaunchConfigurationWriter.FILE_DOT_EXTERNAL_TOOL_BUILDERS
                                                                 + "Maven_Ant_Builder.launch" ) );
View Full Code Here

Examples of org.apache.maven.plugin.eclipse.BuildCommand

                {
                    Xpp3Dom[] existingBuildCommands = buildSpec.getChildren( ELT_BUILD_COMMAND );
                    for (Xpp3Dom existingBuildCommand : existingBuildCommands) {
                        Xpp3Dom buildCommandName = existingBuildCommand.getChild(ELT_NAME);
                        if (buildCommandName != null) {
                            buildCommands.add(new BuildCommand(existingBuildCommand));
                        }
                    }
                }
                // Added the below code to preserve the Symbolic links
                Xpp3Dom linkedResourcesElement = dom.getChild( ELT_LINKED_RESOURCES );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.