- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getExecutableName (0.96 sec)
-
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/jvm/JvmTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 15.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/os/OperatingSystem.java
public boolean isLinux() { return false; } public abstract String getNativePrefix(); public abstract String getScriptName(String scriptPath); public abstract String getExecutableName(String executablePath); public abstract String getExecutableSuffix(); public abstract String getSharedLibraryName(String libraryName); public abstract String getSharedLibrarySuffix();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 11.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/Jvm.java
} return null; } private File commandLocation(String command) { File exec = new File(getJavaHome(), "bin/" + command); return new File(os.getExecutableName(exec.getAbsolutePath())); } private File findExecutable(String command) { File executable = commandLocation(command); if (executable.isFile()) { return executable;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:57:34 UTC 2024 - 13.2K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileToolchainIntegrationTest.groovy
"java home" | 'options.forkOptions.javaHome = file("<path>")' | '' "executable" | 'options.forkOptions.executable = "<path>"' | OperatingSystem.current().getExecutableName('/bin/javac') } @Issue("https://github.com/gradle/gradle/issues/22398") def "ignore #forkOption if not forking"() { def curJvm = Jvm.current()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 23.4K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJavaInstallationRegistry.java
return standaloneJre; } return potentialHome; } private boolean hasJavaExecutable(File potentialHome) { return new File(potentialHome, os.getExecutableName("bin/java")).exists(); } public static <T> Predicate<T> distinctByKey(Function<? super T, ?> keyExtractor) { Set<Object> seen = ConcurrentHashMap.newKeySet();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 22:46:10 UTC 2024 - 12K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProvider.java
throw new UncheckedIOException(e); } } private File findCygpath(List<File> path) { for (File dir : path) { File exe = new File(dir, OperatingSystem.current().getExecutableName("cygpath")); if (exe.exists()) { return exe; } } File exe = OperatingSystem.current().findInPath("cygpath"); if (exe != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 15 06:39:06 UTC 2024 - 13K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AvailableJavaHomes.java
.filter(file -> file.getName().toLowerCase().contains("jdk") || file.getName().toLowerCase().contains("jre")) .filter(file -> new File(file, OperatingSystem.current().getExecutableName("bin/java")).exists()) .map(file -> InstallationLocation.autoDetected(file, getSourceName())) .collect(Collectors.toSet()); } return Collections.emptySet();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 06:42:07 UTC 2024 - 16.6K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileCompatibilityIntegrationTest.groovy
"java home" | { "options.forkOptions.javaHome = file('$it')" } | '' "executable" | { "options.forkOptions.executable = '$it'" } | OperatingSystem.current().getExecutableName('/bin/javac') } def "source and target compatibility override toolchain (source #source, target #target)"() { def jdk11 = AvailableJavaHomes.getJdk(JavaVersion.VERSION_11)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 21.7K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetectorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 18:25:34 UTC 2024 - 22.9K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProviderTest.groovy
'C:\\cygwin\\usr\\include', 'C:\\cygwin\\usr\\local\\include' ] def binDir = tmpDir.createDir('bin') def cygpath = binDir.createFile(OperatingSystem.current().getExecutableName('cygpath')) expect: runsCompiler(gccCygwin64, gccVerboseOutput('7.3', includes)) mapsPath(cygpath, '/usr/include', 'C:\\cygwin\\usr\\include')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 16 06:01:47 UTC 2024 - 18.2K bytes - Viewed (0)