Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 597 for project$it (0.3 sec)

  1. maven-core/src/main/java/org/apache/maven/ProjectBuildFailureException.java

     * information including projectId that caused the failure.
     *
     *
     */
    public class ProjectBuildFailureException extends BuildFailureException {
    
        private final String projectId;
    
        public ProjectBuildFailureException(String projectId, MojoFailureException cause) {
            super("Build for project: " + projectId + " failed during execution of mojo.", cause);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/templates/gradle-plugin-in-java/src/functionalTest/java/com/example/plugin/GreetingPluginFunctionalTest.java

        @Test
        public void canRunTask() throws IOException {
            // Setup the test build
            File projectDir = new File("build/functionalTest");
            Files.createDirectories(projectDir.toPath());
            writeString(new File(projectDir, "settings.gradle"), "");
            writeString(new File(projectDir, "build.gradle"),
                "plugins {" +
                    "  id('com.example.plugin.greeting')" +
                    "}");
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestPluginTest.groovy

        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def projectDir = tmpDir.createDir("project")
        def project = ProjectBuilder.builder().withProjectDir(projectDir).withName("someApp").build()
    
        def "adds extension with convention for source layout and module name"() {
            given:
            def src = projectDir.file("src/test/cpp/test.cpp").createFile()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppApplicationPluginTest.groovy

        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def projectDir = tmpDir.createDir("project")
        def project = ProjectBuilder.builder().withProjectDir(projectDir).withName("testApp").build()
    
        def "adds extension with convention for source layout and base name"() {
            given:
            def src = projectDir.file("src/main/cpp/main.cpp").createFile()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestTaskRelocationIntegrationTest.groovy

        @Override
        protected String getTaskName() {
            return ":test"
        }
    
        @Override
        protected void setupProjectIn(TestFile projectDir) {
            projectDir.file("src/main/java/Foo.java") << "public class Foo {}"
            projectDir.file("src/test/java/FooTest.java") << """
                import org.junit.*;
    
                public class FooTest {
                    @Test
                    public void test() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/Antlr3RelocationIntegrationTest.groovy

        @Override
        protected String getTaskName() {
            return ":generateGrammarSource"
        }
    
        @Override
        protected void setupProjectIn(TestFile projectDir) {
            projectDir.file("src/main/antlr/org/acme/test/Test.g") << """grammar Test;
                @header {
                    package org.acme.test;
                }
                @lexer::header {
                    package org.acme.test;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/AbstractIdeProjectIntegrationTest.groovy

        }
    
        public static class Project {
            String name
            String path
            def subProjects = []
            TestFile projectDir
    
            def project(String projectName, Closure configClosure) {
                def p = new Project(name: projectName, path: "$path:$projectName", projectDir: projectDir.createDir(projectName));
                subProjects << p;
                ConfigureUtil.configure(configClosure, p);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/configurationCache/problemsFixedReuse/groovy/build.gradle

                from source
                into destination
            }
        }
    }
    
    // tag::fixed-reuse[]
    tasks.register('someTask', MyCopyTask) {
        def projectDir = layout.projectDirectory
        source = projectDir.dir('source')
        destination = projectDir.dir(providers.systemProperty('someDestination')) // <1>
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 607 bytes
    - Viewed (0)
  9. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/plugin/java/junit/PluginFunctionalTest.java.template

    /**
     * A simple functional test for the '${pluginId.value}' plugin.
     */
    class ${className.javaIdentifier} {
        @TempDir
        File projectDir;
    
        private File getBuildFile() {
            return new File(projectDir, "build.gradle");
        }
    
        private File getSettingsFile() {
            return new File(projectDir, "settings.gradle");
        }
    
        @Test void canRunTask() throws IOException {
            writeString(getSettingsFile(), "");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/AbstractKotlinScriptModelCrossVersionTest.groovy

            return canonicalClassPathFor(projectDir)
        }
    
        protected List<File> canonicalClassPathFor(File projectDir, File scriptFile = null) {
            return canonicalClasspathOf(kotlinBuildScriptModelFor(projectDir, scriptFile))
        }
    
        protected List<File> classPathFor(File projectDir, File scriptFile = null) {
            return kotlinBuildScriptModelFor(projectDir, scriptFile).classPath
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top