Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 235 for Executable (0.17 sec)

  1. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelMultiProjectIntegrationTest.groovy

                        }
                    }
                }
            """
        }
    
        @ToBeFixedForConfigurationCache
        def "create visual studio solution for executable that depends on a library in another project"() {
            when:
            app.executable.writeSources(file("exe/src/main"))
            app.library.writeSources(file("lib/src/hello"))
    
            createDirs("exe", "lib")
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 26K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelSingleProjectIntegrationTest.groovy

        }
    
        @Requires(IntegTestPreconditions.HasMsBuild)
        @ToBeFixedForConfigurationCache
        def "can build executable from visual studio"() {
            useMsbuildTool()
            def debugBinary = executable("build/exe/main/win32/debug/main")
    
            given:
            app.writeSources(file("src/main"))
            buildFile << """
                model {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 35.7K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/JavaExec.java

        @Override
        public void setExecutable(String executable) {
            javaExecSpec.setExecutable(executable);
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public void setExecutable(Object executable) {
            javaExecSpec.setExecutable(executable);
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public JavaExec executable(Object executable) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/util/DefaultJavaForkOptionsTest.groovy

        }
    
        def "is compatible with same executable"() {
            def other = new DefaultJavaForkOptions(resolver, fileCollectionFactory, new DefaultJavaDebugOptions())
    
            when:
            options.executable = "foo"
            other.executable = "foo"
    
            then:
            options.isCompatibleWith(other)
        }
    
        def "is not compatible with different executables"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/javadoc/Javadoc.java

        /**
         * Returns the Javadoc executable to use to generate the Javadoc. When {@code null}, the Javadoc executable for
         * the current JVM is used or from the toolchain if configured.
         *
         * @return The executable. May be null.
         * @see #getJavadocTool()
         */
        @Nullable
        @Optional
        @Input
        public String getExecutable() {
            return executable;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/integtests/ExecIntegrationTest.groovy

                apply plugin: 'java'
    
                task execTask(type: Exec) {
                    dependsOn sourceSets.main.runtimeClasspath
                    def testFile = file("${'$'}buildDir/${'$'}name")
                    executable = Jvm.current().getJavaExecutable()
                    args '-cp', sourceSets.main.runtimeClasspath.asPath, 'org.gradle.TestMain', projectDir, testFile
                    doLast {
                        assert testFile.exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalBuildIntegrationTest.groovy

            result.assertTasksNotSkipped(assembleAppTasks)
            executable("build/exe/main/debug/App").exec().out == app.expectedOutput
    
            when:
            app.applyChangesToProject(testDirectory)
            succeeds "assemble"
    
            then:
            result.assertTasksExecuted(assembleAppTasks)
            result.assertTasksNotSkipped(assembleAppTasks)
            executable("build/exe/main/debug/App").exec().out == app.expectedAlternateOutput
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestTest.groovy

            cause.message.contains("The configured executable does not exist")
            cause.message.contains(invalidExecutable.absolutePath)
        }
    
        def "fails if custom executable is a directory"() {
            def testTask = project.tasks.create("test", Test)
            def executableDir = temporaryFolder.createDir("javac")
    
            when:
            testTask.executable = executableDir.absolutePath
            testTask.javaVersion
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  9. maven-di/src/main/java/org/apache/maven/di/impl/ReflectionUtils.java

                    };
                }
            };
        }
    
        public static Key<?>[] toDependencies(@Nullable Type container, Executable executable) {
            Key<?>[] keys = toArgDependencies(container, executable);
            if (executable instanceof Constructor || Modifier.isStatic(executable.getModifiers())) {
                return keys;
            } else {
                Key<?>[] nkeys = new Key[keys.length + 1];
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationPublishingIntegrationTest.groovy

        }
    
        @Override
        TestFile getVariantSourceFile(String module, VariantContext variantContext) {
            def executable = executable("build/exe/main/${variantContext.asPath}${module}")
            return variantContext.buildType.name == 'release' ? executable.strippedRuntimeFile : executable.file
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 21.2K bytes
    - Viewed (0)
Back to top