Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,359 for Executable (0.17 sec)

  1. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/javadoc/JavadocTest.groovy

            when:
            execute(task)
    
            then:
            1 * tool.execute(_)
        }
    
        def "fails if custom executable does not exist"() {
            def invalidExecutable = temporaryFolder.file("invalidExecutable")
    
            when:
            task.executable = invalidExecutable
            execute(task)
    
            then:
            def e = thrown(TaskExecutionException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/version_gc_sections.txt

    [short] skip
    [!cgo] skip
    [GOOS:aix] skip  # no --gc-sections
    [GOOS:darwin] skip  # no --gc-sections
    
    go build -ldflags='-linkmode=external -extldflags=-Wl,--gc-sections'
    go version hello$GOEXE
    ! stdout 'not a Go executable'
    ! stderr 'not a Go executable'
    
    -- go.mod --
    module hello
    -- hello.go --
    package main
    
    /*
    */
    import "C"
    
    func main() {
    	println("hello")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 15:17:57 UTC 2023
    - 460 bytes
    - Viewed (0)
  3. platforms/software/security/src/main/java/org/gradle/security/internal/gnupg/GnupgSignatory.java

            final List<String> arguments = buildArgumentList();
            LOG.info("Invoking {} with arguments: {}", executable, arguments);
            execOperations.exec(spec -> {
                    spec.setExecutable(executable);
                    spec.setArgs(arguments);
                    spec.setStandardInput(prepareStdin(input));
                    spec.setStandardOutput(output);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecHandleBuilder.java

            super(fileResolver, executor, buildCancellationToken);
        }
    
        @Override
        public DefaultExecHandleBuilder executable(Object executable) {
            super.executable(executable);
            return this;
        }
    
        @Override
        public DefaultExecHandleBuilder commandLine(Object... arguments) {
            argumentsSpec.commandLine(arguments);
            return this;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 06 16:16:31 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  5. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/DaemonGroovyCompilerIntegrationTest.groovy

    import static org.gradle.util.internal.TextUtil.normaliseFileSeparators
    
    class DaemonGroovyCompilerIntegrationTest extends AbstractApiGroovyCompilerIntegrationSpec {
        def "respects fork options settings and ignores executable"() {
            Jvm differentJvm = AvailableJavaHomes.differentJdkWithValidJre
            Assume.assumeNotNull(differentJvm)
            def differentJavacExecutablePath = normaliseFileSeparators(differentJvm.javacExecutable.absolutePath)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_vcs_missing.txt

    [!net:launchpad.net] skip
    
    env GO111MODULE=on
    env GOPROXY=direct
    
    cd empty
    ! go get launchpad.net/gocheck
    stderr '"bzr": executable file not found'
    cd ..
    
    # 1.11 used to give the cryptic error "cannot find module for path" here, but
    # only for a main package.
    cd main
    ! go build -mod=mod
    stderr '"bzr": executable file not found'
    cd ..
    
    -- empty/go.mod --
    module m
    -- main/go.mod --
    module m
    -- main/main.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 513 bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/tools/ToolSearchPathTest.groovy

        @Rule def TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def os = Stub(OperatingSystem)
        def registry = new ToolSearchPath(os)
    
        def "finds executable in system path"() {
            def file = tmpDir.createFile("cc.bin")
    
            given:
            os.getExecutableName("cc") >> "cc.bin"
            os.path >> [file.parentFile]
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. 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)
  9. src/os/executable_darwin.go

    )
    
    //go:linkname executablePath
    var executablePath string // set by ../runtime/os_darwin.go
    
    var initCwd, initCwdErr = Getwd()
    
    func executable() (string, error) {
    	ep := executablePath
    	if len(ep) == 0 {
    		return ep, errors.New("cannot find executable path")
    	}
    	if ep[0] != '/' {
    		if initCwdErr != nil {
    			return ep, initCwdErr
    		}
    		if len(ep) > 2 && ep[0:2] == "./" {
    			// skip "./"
    			ep = ep[2:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 675 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/list_goroot_symlink.txt

    # Verify that our symlink shenanigans don't prevent cmd/go from finding its
    # GOROOT using os.Executable.
    #
    # To do so, we copy the actual cmd/go executable — which is implemented as the
    # cmd/go test binary instead of the original $GOROOT/bin/go, which may be
    # arbitrarily stale — into the bin subdirectory of the fake GOROOT, causing
    # os.Executable to report a path in that directory.
    
    mkdir $WORK/lib/goroot/bin
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 17:01:07 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top