Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for toolName (0.17 sec)

  1. platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/DefaultJavaToolchainUsageProgressDetails.java

        private final JavaTool toolName;
    
        private final JvmInstallationMetadata toolchainMetadata;
    
        public DefaultJavaToolchainUsageProgressDetails(JavaTool toolName, JvmInstallationMetadata toolchainMetadata) {
            this.toolName = toolName;
            this.toolchainMetadata = toolchainMetadata;
        }
    
        @Override
        public String getToolName() {
            return toolName.getToolName();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:17:59 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/base/tool.go

    // If the tool cannot be found, Tool exits the process.
    func Tool(toolName string) string {
    	toolPath, err := ToolPath(toolName)
    	if err != nil && len(cfg.BuildToolexec) == 0 {
    		// Give a nice message if there is no tool with that name.
    		fmt.Fprintf(os.Stderr, "go: no such tool %q\n", toolName)
    		SetExitStatus(2)
    		Exit()
    	}
    	return toolPath
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:04:09 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/ToolType.java

        SWIFT_COMPILER("Swift compiler"),
        SYMBOL_EXTRACTOR("Symbol extractor"),
        STRIPPER("Stripper");
    
        private final String toolName;
    
        ToolType(String toolName) {
            this.toolName = toolName;
        }
    
        public String getToolName() {
            return toolName;
        }
    
        @Override
        public String toString() {
            return GUtil.toLowerCamelCase(name());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/tool/tool.go

    		listTools()
    		return
    	}
    	toolName := args[0]
    	// The tool name must be lower-case letters, numbers or underscores.
    	for _, c := range toolName {
    		switch {
    		case 'a' <= c && c <= 'z', '0' <= c && c <= '9', c == '_':
    		default:
    			fmt.Fprintf(os.Stderr, "go: bad tool name %q\n", toolName)
    			base.SetExitStatus(2)
    			return
    		}
    	}
    
    	toolPath, err := base.ToolPath(toolName)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

            return "JDK[" + getJavaHome() + "]";
        }
    
        public String findTool(String toolName) {
            Path toRet = findTool(toolName, Paths.get(getJavaHome()).normalize());
            if (toRet != null) {
                return toRet.toAbsolutePath().toString();
            }
            return null;
        }
    
        private static Path findTool(String toolName, Path installDir) {
            Path bin = installDir.resolve("bin"); // NOI18N
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 06:01:36 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/jvm/JavaToolchainBuildOperationsFixture.groovy

                    architecture: jdkMetadata.architecture,
                ]
            }
        }
    
        static void assertToolchainUsage(String toolName, JvmInstallationMetadata jdkMetadata, BuildOperationRecord.Progress usageEvent) {
            assert usageEvent.details.toolName == toolName
            def usedToolchain = usageEvent.details.toolchain
            assert usedToolchain == [
                javaVersion: jdkMetadata.javaVersion,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/toolchain/Toolchain.java

         */
        String getType();
    
        /**
         * Gets the platform tool executable.
         *
         * @param toolName the tool platform independent tool name.
         * @return file representing the tool executable, or null if the tool can not be found
         */
        String findTool(String toolName);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

         */
        String getType();
    
        /**
         * Gets the platform tool executable.
         *
         * @param toolName the tool platform independent tool name
         * @return file representing the tool executable, or null if the tool cannot be found
         */
        String findTool(String toolName);
    
        /**
         * Let the toolchain decide if it matches requirements defined
         * in the toolchain plugin configuration.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/JavaToolchain.java

        }
    
        @Internal
        public boolean isFallbackToolchain() {
            return isFallbackToolchain;
        }
    
        public RegularFile findExecutable(String toolName) {
            return getInstallationPath().file(getBinaryPath(toolName));
        }
    
        @Override
        public String toString() {
            return "JavaToolchain(javaHome=" + getDisplayName() + ")";
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 16:57:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/DefaultJavaToolchainService.java

            config.execute(toolchainSpec);
            return toolchainSpec;
        }
    
        private void emitEvent(JavaToolchain toolchain, JavaTool toolName) {
            eventEmitter.emitNowForCurrent(new DefaultJavaToolchainUsageProgressDetails(toolName, toolchain.getMetadata()));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:17:59 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top