Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,359 for executable_ (0.22 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppBasePluginTest.groovy

        }
    
        def "adds link and install task for executable"() {
            def baseName = project.objects.property(String)
            baseName.set("test_app")
            def executable = Stub(DefaultCppExecutable)
            def executableFile = project.objects.fileProperty()
            executable.name >> name
            executable.names >> Names.of(name)
            executable.baseName >> baseName
            executable.getExecutableFile() >> executableFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/NativeComponentReportOutputNormalizerTest.groovy

            tool chain: Tool chain 'clang' (Clang)
            static library file: build/libs/hello/static/libhello.a
    
    Native executable 'main'
    ------------------------
    
    Source sets
        C++ source 'main:cpp'
            srcDir: src/main/cpp
    
    Binaries
        Executable 'main:executable'
            build using task: :mainExecutable
            install using task: :installMainExecutable
            build type: build type 'debug'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/metadata/AbstractMetadataProvider.java

            public File executable;
    
            @Override
            public CompilerExecSpec environment(String key, String value) {
                environments.put(key, value);
                return this;
            }
    
            @Override
            public CompilerExecSpec executable(File executable) {
                this.executable = executable;
                return this;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 13:16:50 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/os/executable_path.go

    // executable file
    // errWd will be checked later, if we need to use initWd
    var initWd, errWd = Getwd()
    
    func executable() (string, error) {
    	var exePath string
    	if len(Args) == 0 || Args[0] == "" {
    		return "", ErrNotExist
    	}
    	if IsPathSeparator(Args[0][0]) {
    		// Args[0] is an absolute path, so it is the executable.
    		// Note that we only need to worry about Unix paths here.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/JavadocExecHandleBuilderTest.groovy

            then:
            1 * execActionFactory.newExecAction() >> action
            1 * action.executable(Jvm.current().javadocExecutable)
        }
    
        def testCheckCustomExecutable() {
            String executable = "somepath"
            def action = Mock(ExecAction)
    
            when:
            javadocExecHandleBuilder.executable = executable
            javadocExecHandleBuilder.execHandle
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/compile/JavaCompileTest.groovy

            def javaCompile = project.tasks.create("compileJava", JavaCompile)
            javaCompile.destinationDirectory.set(new File("tmp"))
            def executable = Jvm.current().javacExecutable.absolutePath
    
            when:
            javaCompile.options.fork = true
            javaCompile.options.forkOptions.executable = executable
            def spec = javaCompile.createSpec()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocToolchainIntegrationTest.groovy

            then:
            failureDescriptionStartsWith("Execution failed for task ':javadoc'.")
            failureHasCause("Toolchain from `executable` property does not match toolchain from `javadocTool` property")
        }
    
        def "fails on toolchain and executable mismatch (without java-base plugin)"() {
            def jdkCurrent = Jvm.current()
            def jdkOther = AvailableJavaHomes.differentVersion
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecToolchainIntegrationTest.groovy

            then:
            failureDescriptionStartsWith("Execution failed for task ':run'.")
            failureHasCause("Toolchain from `executable` property does not match toolchain from `javaLauncher` property")
        }
    
        def "fails on toolchain and executable mismatch (without application plugin)"() {
            def jdkCurrent = Jvm.current()
            def jdkOther = AvailableJavaHomes.differentVersion
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/CommandLineJavaCompiler.java

            }
    
            String executable = ((CommandLineJavaCompileSpec) spec).getExecutable().toString();
            LOGGER.info("Compiling with Java command line compiler '{}'.", executable);
    
            ExecHandle handle = createCompilerHandle(executable, spec);
            executeCompiler(handle);
    
            return WorkResults.didWork(true);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/ComponentWithExecutable.java

         *
         * @since 5.1
         */
        Provider<? extends Task> getExecutableFileProducer();
    
        /**
         * Returns the executable file to produce.
         */
        Provider<RegularFile> getExecutableFile();
    
        /**
         * Returns the link task for the executable.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top