Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,359 for Executable (0.16 sec)

  1. src/os/exec/dot_test.go

    		// independent executable that happens to have the same name as an
    		// executable in ".". If "." is included implicitly, looking up the
    		// (unqualified) executable name will return ErrDot; otherwise, the
    		// executable in "." should have no effect and the lookup should
    		// unambiguously resolve to the directory in PATH.
    
    		dir := t.TempDir()
    		executable := "execabs-test"
    		if runtime.GOOS == "windows" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:19:21 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecWithLongCommandLineIntegrationTest.groovy

                task runWithJavaExec {
                    dependsOn sourceSets.main.runtimeClasspath
                    doLast {
                        project.javaexec {
                            if (run.executable) {
                                executable run.executable
                            }
                            classpath = run.classpath
                            mainClass = run.mainClass
                            args run.args
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/AbstractCppPublishingIntegrationTest.groovy

            }
        }
    
        @Override
        ExecutableFixture executable(Object path) {
            ExecutableFixture executable = super.executable(path)
            // Executables synced from a binary repo lose their executable bit
            executable.file.setExecutable(true)
            executable
        }
    
        Map<String, String> machine(String os, String architecture) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  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